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() 165 if (PythonString::Check(m_py_obj)) in GetObjectType() 182 PythonString PythonObject::Repr() const { in Repr() 184 return PythonString(); in Repr() 187 return PythonString(); in Repr() 188 return PythonString(PyRefType::Owned, repr); in Repr() 191 PythonString PythonObject::Str() const { in Str() 193 return PythonString(); in Str() 196 return PythonString(); in Str() 197 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 | 296 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()), in GetInterpreterInfo() 297 PythonString(python_exe_relative_path)))); in GetInterpreterInfo() 587 sys_module_dict.SetItemForKey(PythonString("stdin"), m_saved_stdin); in LeaveSession() 591 sys_module_dict.SetItemForKey(PythonString("stdout"), m_saved_stdout); in LeaveSession() 595 sys_module_dict.SetItemForKey(PythonString("stderr"), m_saved_stderr); in LeaveSession() 625 save_file = sys_module_dict.GetItemForKey(PythonString(py_name)); in SetStdHandle() 627 sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get()); in SetStdHandle() 803 module_dict.GetItemForKey(PythonString("run_one_line")); in GetEmbeddedInterpreterModuleObjects() 805 module_dict.GetItemForKey(PythonString("g_run_one_line_str")); in GetEmbeddedInterpreterModuleObjects() 2175 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 | 397 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name)); 619 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg.obj(), dict); 621 pfunc(debugger_arg, PythonString(args), 642 pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), PythonString(args), 659 PythonString command_str(command); 684 args_list.AppendItem(PythonString(elem)); 714 PythonObject result = pfunc(PythonString(long_option), PythonInteger(pos_in_arg)); 811 PythonString str(callee_name); 823 PythonString str(callee_name); 845 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 | 229 PythonString obj_class_name = in CreatePluginObject() 230 obj_class.GetAttributeValue("__name__").AsType<PythonString>(); in CreatePluginObject()
|