Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp92 return PythonString(); in Repr()
95 return PythonString(); in Repr()
101 return PythonString(); in Str()
104 return PythonString(); in Str()
341 PythonString::PythonString(PyRefType type, PyObject *py_obj) : PythonObject() { in PythonString() function in PythonString
345 PythonString::PythonString(const PythonString &object) : PythonObject(object) {} in PythonString() function in PythonString
347 PythonString::PythonString(llvm::StringRef string) : PythonObject() { in PythonString() function in PythonString
351 PythonString::PythonString(const char *string) : PythonObject() { in PythonString() function in PythonString
355 PythonString::PythonString() : PythonObject() {} in PythonString() function in PythonString
357 PythonString::~PythonString() {} in ~PythonString()
[all …]
H A DPythonDataObjects.h31 class PythonString; variable
159 PythonString Repr() const;
161 PythonString Str() const;
252 class PythonString : public PythonObject {
254 PythonString();
255 explicit PythonString(llvm::StringRef string);
256 explicit PythonString(const char *string);
257 PythonString(PyRefType type, PyObject *o);
258 PythonString(const PythonString &object);
260 ~PythonString() override;
H A DPythonExceptionState.cpp118 PythonString bt_error = bt_error_state.GetValue().Str(); in Format()
160 auto printTB_string = stringIO_getvalue().AsType<PythonString>(); in ReadBacktrace()
H A DScriptInterpreterPython.cpp558 sys_module_dict.SetItemForKey(PythonString("stdin"), m_saved_stdin); in LeaveSession()
584 save_file = sys_module_dict.GetItemForKey(PythonString(py_name)) in SetStdHandle()
588 sys_module_dict.SetItemForKey(PythonString(py_name), new_file); in SetStdHandle()
750 module_dict.GetItemForKey(PythonString("run_one_line")); in GetEmbeddedInterpreterModuleObjects()
752 module_dict.GetItemForKey(PythonString("g_run_one_line_str")); in GetEmbeddedInterpreterModuleObjects()
2568 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetSyntheticTypeName()
2569 PythonString py_string(PyRefType::Borrowed, py_return.get()); in GetSyntheticTypeName()
3105 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetShortHelpForCommandObject()
3106 PythonString py_string(PyRefType::Borrowed, py_return.get()); in GetShortHelpForCommandObject()
3216 if (py_return.IsAllocated() && PythonString::Check(py_return.get())) { in GetLongHelpForCommandObject()
[all …]