Home
last modified time | relevance | path

Searched refs:PythonString (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp159 if (PythonString::Check(m_py_obj)) in GetObjectType()
180 return PythonString(); in Repr()
183 return PythonString(); in Repr()
189 return PythonString(); in Str()
192 return PythonString(); in Str()
243 PythonString py_attr(attr); in HasAttribute()
251 PythonString py_attr(attr); in GetAttributeValue()
371 Expected<PythonString> PythonString::FromUTF8(llvm::StringRef string) { in FromUTF8()
379 return Take<PythonString>(str); in FromUTF8()
382 PythonString::PythonString(llvm::StringRef string) { SetString(string); } in PythonString() function in PythonString
[all …]
H A DPythonDataObjects.h68 class PythonString; variable
285 PythonString Repr() const;
287 PythonString Str() const;
462 class PythonString : public TypedPythonObject<PythonString> {
465 static llvm::Expected<PythonString> FromUTF8(llvm::StringRef string);
467 PythonString() : TypedPythonObject() {} // MSVC requires this for some reason
469 explicit PythonString(llvm::StringRef string); // safe, null on error
H A DScriptInterpreterPython.cpp756 save_file = sys_module_dict.GetItemForKey(PythonString(py_name)); in SetStdHandle()
758 sys_module_dict.SetItemForKey(PythonString(py_name), new_file.get()); in SetStdHandle()
934 module_dict.GetItemForKey(PythonString("run_one_line")); in GetEmbeddedInterpreterModuleObjects()
936 module_dict.GetItemForKey(PythonString("g_run_one_line_str")); in GetEmbeddedInterpreterModuleObjects()
2609 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetSyntheticTypeName()
2610 PythonString py_string(PyRefType::Borrowed, py_return.get()); in GetSyntheticTypeName()
2902 .GetItemForKey(PythonString(module_name)) in LoadScriptingModule()
3154 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetShortHelpForCommandObject()
3155 PythonString py_string(PyRefType::Borrowed, py_return.get()); in GetShortHelpForCommandObject()
3261 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetLongHelpForCommandObject()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/bindings/python/
H A Dpython-typemaps.swig17 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();
43 PythonString s = list.GetItemAtIndex(i).AsType<PythonString>();
64 list.SetItemAtIndex(i, PythonString($1[i]));
112 PythonString string("");
117 PythonString string(ref);
143 PythonString string(ref);
154 if (PythonString::Check($input)) {
155 PythonString str(PyRefType::Borrowed, $input);
177 if (PythonString::Check($input)) {
178 PythonString str(PyRefType::Borrowed, $input);
[all …]
H A Dpython-wrapper.swig788 llvm::Expected<PythonObject> result = pfunc.Call(PythonString(child_name));
955 pfunc(debugger_arg, PythonString(args), cmd_retobj_arg, dict);
957 pfunc(debugger_arg, PythonString(args), exe_ctx_arg, cmd_retobj_arg, dict);
990 pfunc(debugger_arg, PythonString(args), exe_ctx_arg, cmd_retobj_arg);
1067 PythonString str(callee_name);
1088 auto result = pfunc(target_arg, PythonString(setting));
/freebsd-13.1/contrib/llvm-project/lldb/bindings/interface/
H A DSBTarget.i596 PythonString py_str = list.GetItemAtIndex(i).AsType<PythonString>();