Searched refs:PythonString (Results 1 – 6 of 6) sorted by relevance
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | PythonDataObjects.cpp | 65 auto str = Take<PythonString>(str_obj); in As() 163 if (PythonString::Check(m_py_obj)) in GetObjectType() 180 PythonString PythonObject::Repr() const { in Repr() 182 return PythonString(); in Repr() 185 return PythonString(); in Repr() 186 return PythonString(PyRefType::Owned, repr); in Repr() 189 PythonString PythonObject::Str() const { in Str() 191 return PythonString(); in Str() 194 return PythonString(); in Str() 195 return PythonString(PyRefType::Owned, str); in Str() [all …]
|
H A D | PythonDataObjects.h | 68 class PythonString; variable 275 PythonString Repr() const; 277 PythonString Str() const; 447 class PythonString : public TypedPythonObject<PythonString> { 450 static llvm::Expected<PythonString> FromUTF8(llvm::StringRef string); 452 PythonString() : TypedPythonObject() {} // MSVC requires this for some reason 454 explicit PythonString(llvm::StringRef string); // safe, null on error
|
H A D | ScriptInterpreterPython.cpp | 294 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()), in GetInterpreterInfo() 295 PythonString(python_exe_relative_path)))); in GetInterpreterInfo() 593 sys_module_dict.SetItemForKey(PythonString("stdin"), m_saved_stdin); in LeaveSession() 597 sys_module_dict.SetItemForKey(PythonString("stdout"), m_saved_stdout); in LeaveSession() 601 sys_module_dict.SetItemForKey(PythonString("stderr"), m_saved_stderr); in LeaveSession() 631 save_file = sys_module_dict.GetItemForKey(PythonString(py_name)); in SetStdHandle() 633 sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get()); in SetStdHandle() 809 module_dict.GetItemForKey(PythonString("run_one_line")); in GetEmbeddedInterpreterModuleObjects() 811 module_dict.GetItemForKey(PythonString("g_run_one_line_str")); in GetEmbeddedInterpreterModuleObjects() 2378 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetSyntheticTypeName() [all …]
|
/openbsd-src/gnu/llvm/lldb/bindings/python/ |
H A D | python-typemaps.swig | 17 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>(); 43 PythonString s = list.GetItemAtIndex(i).AsType<PythonString>(); 65 list.SetItemAtIndex(i, PythonString($1[i])); 113 PythonString string(""); 118 PythonString string(ref); 144 PythonString string(ref); 155 if (PythonString::Check($input)) { 156 PythonString str(PyRefType::Borrowed, $input); 175 if (PythonString::Check($input)) { 176 PythonString str(PyRefType::Borrowed, $input); [all …]
|
H A D | python-wrapper.swig | 631 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name)); 780 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict); 782 pfunc(debugger_arg, PythonString(args), 803 pfunc(ToSWIGWrapper(std::move(debugger)), PythonString(args), 854 PythonString str(callee_name); 872 auto result = pfunc(ToSWIGWrapper(target_sp), PythonString(setting));
|
/openbsd-src/gnu/llvm/lldb/bindings/interface/ |
H A D | SBTarget.i | 602 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
|