Searched refs:PythonString (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/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() 186 return PythonString(); in Repr() 189 return PythonString(); in Repr() 195 return PythonString(); in Str() 198 return PythonString(); in Str() 249 PythonString py_attr(attr); in HasAttribute() 257 PythonString py_attr(attr); in GetAttributeValue() 385 Expected<PythonString> PythonString::FromUTF8(llvm::StringRef string) { in FromUTF8() 389 return Take<PythonString>(str); in FromUTF8() [all …]
|
| H A D | PythonDataObjects.h | 68 class PythonString; variable 276 PythonString Repr() const; 278 PythonString Str() const; 457 class PythonString : public TypedPythonObject<PythonString> { 460 static llvm::Expected<PythonString> FromUTF8(llvm::StringRef string); 462 PythonString() : TypedPythonObject() {} // MSVC requires this for some reason 464 explicit PythonString(llvm::StringRef string); // safe, null on error
|
| H A D | ScriptInterpreterPython.cpp | 640 save_file = sys_module_dict.GetItemForKey(PythonString(py_name)); in SetStdHandle() 642 sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get()); in SetStdHandle() 818 module_dict.GetItemForKey(PythonString("run_one_line")); in GetEmbeddedInterpreterModuleObjects() 820 module_dict.GetItemForKey(PythonString("g_run_one_line_str")); in GetEmbeddedInterpreterModuleObjects() 2311 if (!py_return.IsAllocated() || !PythonString::Check(py_return.get())) in GetSyntheticTypeName() 2314 PythonString type_name(PyRefType::Borrowed, py_return.get()); in GetSyntheticTypeName() 2593 .GetItemForKey(PythonString(module_name)) in LoadScriptingModule() 2828 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetShortHelpForCommandObject() 2829 PythonString py_string(PyRefType::Borrowed, py_return.get()); in GetShortHelpForCommandObject() 2913 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetLongHelpForCommandObject() [all …]
|
| /freebsd-14.2/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); 261 if (PythonString::Check($input)) { 558 } else if (PythonString::Check($input)) { [all …]
|
| H A D | python-wrapper.swig | 620 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name)); 805 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict); 807 pfunc(debugger_arg, PythonString(args), 828 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), PythonString(args), 879 PythonString str(callee_name); 897 auto result = pfunc(SWIGBridge::ToSWIGWrapper(target_sp), PythonString(setting));
|
| /freebsd-14.2/contrib/llvm-project/lldb/bindings/interface/ |
| H A D | SBTargetExtensions.i | 11 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
|
| /freebsd-14.2/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()
|