Home
last modified time | relevance | path

Searched refs:PythonModule (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp65 if (PythonModule::Check(m_py_obj)) in GetObjectType()
786 PythonModule::PythonModule() : PythonObject() {} in PythonModule() function in PythonModule
788 PythonModule::PythonModule(PyRefType type, PyObject *py_obj) { in PythonModule() function in PythonModule
792 PythonModule::PythonModule(const PythonModule &dict) : PythonObject(dict) {} in PythonModule() function in PythonModule
794 PythonModule::~PythonModule() {} in ~PythonModule()
796 PythonModule PythonModule::BuiltinsModule() { in BuiltinsModule()
804 PythonModule PythonModule::MainModule() { return AddModule("__main__"); } in MainModule()
806 PythonModule PythonModule::AddModule(llvm::StringRef module) { in AddModule()
811 PythonModule PythonModule::ImportModule(llvm::StringRef module) { in ImportModule()
816 bool PythonModule::Check(PyObject *py_obj) { in Check()
[all …]
H A DPythonDataObjects.h383 class PythonModule : public PythonObject {
385 PythonModule();
386 PythonModule(PyRefType type, PyObject *o);
387 PythonModule(const PythonModule &dict);
389 ~PythonModule() override;
393 static PythonModule BuiltinsModule();
395 static PythonModule MainModule();
397 static PythonModule AddModule(llvm::StringRef module);
399 static PythonModule ImportModule(llvm::StringRef module);
H A DPythonExceptionState.cpp128 auto traceback_module = PythonModule::ImportModule("traceback"); in ReadBacktrace()
130 auto stringIO_module = PythonModule::ImportModule("io"); in ReadBacktrace()
132 auto stringIO_module = PythonModule::ImportModule("StringIO"); in ReadBacktrace()