Searched refs:PythonString (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | PythonDataObjects.cpp | 66 auto str = Take<PythonString>(str_obj); in As() 167 if (PythonString::Check(m_py_obj)) in GetObjectType() 184 PythonString PythonObject::Repr() const { in Repr() 186 return PythonString(); in Repr() 189 return PythonString(); in Repr() 190 return PythonString(PyRefType::Owned, repr); in Repr() 193 PythonString PythonObject::Str() const { in Str() 195 return PythonString(); in Str() 198 return PythonString(); in Str() 199 return PythonString(PyRefType::Owned, str); in Str() [all …]
|
H A D | PythonDataObjects.h | 68 class PythonString; variable 278 PythonString Repr() const; 280 PythonString Str() const; 459 class PythonString : public TypedPythonObject<PythonString> { 462 static llvm::Expected<PythonString> FromUTF8(llvm::StringRef string); 464 PythonString() : TypedPythonObject() {} // MSVC requires this for some reason 466 explicit PythonString(llvm::StringRef string); // safe, null on error
|
H A D | ScriptInterpreterPython.cpp | 315 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()), in GetInterpreterInfo() 316 PythonString(python_exe_relative_path)))); in GetInterpreterInfo() 607 sys_module_dict.SetItemForKey(PythonString("stdin"), m_saved_stdin); in LeaveSession() 611 sys_module_dict.SetItemForKey(PythonString("stdout"), m_saved_stdout); in LeaveSession() 615 sys_module_dict.SetItemForKey(PythonString("stderr"), m_saved_stderr); in LeaveSession() 645 save_file = sys_module_dict.GetItemForKey(PythonString(py_name)); in SetStdHandle() 647 sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get()); in SetStdHandle() 823 module_dict.GetItemForKey(PythonString("run_one_line")); in GetEmbeddedInterpreterModuleObjects() 825 module_dict.GetItemForKey(PythonString("g_run_one_line_str")); in GetEmbeddedInterpreterModuleObjects() 2205 if (!py_return.IsAllocated() || !PythonString::Check(py_return.get())) in GetSyntheticTypeName() [all …]
|
/freebsd/contrib/llvm-project/lldb/bindings/python/ |
H A D | python-typemaps.swig | 23 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>(); 48 PythonString s = list.GetItemAtIndex(i).AsType<PythonString>(); 151 list.SetItemAtIndex(i, PythonString($1[i])); 199 PythonString string(""); 204 PythonString string(ref); 230 PythonString string(ref); 241 if (PythonString::Check($input)) { 242 PythonString str(PyRefType::Borrowed, $input); 262 if (PythonString::Check($input)) { 263 PythonString str(PyRefType::Borrowed, $input); [all …]
|
H A D | python-wrapper.swig | 493 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name)); 702 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict); 704 pfunc(debugger_arg, PythonString(args), 725 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), PythonString(args), 742 PythonString command_str(command); 821 PythonString str(callee_name); 839 auto result = pfunc(SWIGBridge::ToSWIGWrapper(target_sp), PythonString(setting));
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBTargetExtensions.i | 11 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ |
H A D | ScriptedPythonInterface.h | 163 PythonString obj_class_name = in CreatePluginObject() 164 obj_class.GetAttributeValue("__name__").AsType<PythonString>(); in CreatePluginObject()
|