Home
last modified time | relevance | path

Searched refs:PythonDictionary (Results 1 – 8 of 8) sorted by relevance

/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp163 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
202 const PythonDictionary &dict) {
267 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
650 // PythonDictionary in CreateStructuredArray()
652 PythonDictionary::PythonDictionary(PyInitialValue value) {
654 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary() function in PythonDictionary
657 bool PythonDictionary::Check(PyObject *py_obj) { in PythonDictionary()
664 bool PythonDictionary::HasKey(const llvm::Twine &key) const { in Check()
678 uint32_t PythonDictionary in HasKey()
[all...]
H A DPythonDataObjects.h70 class PythonDictionary; variable
283 const PythonDictionary &dict);
287 const PythonDictionary &dict) {
557 class PythonDictionary : public TypedPythonObject<PythonDictionary> {
561 PythonDictionary() : TypedPythonObject() {} // MSVC requires this for some reason
563 explicit PythonDictionary(PyInitialValue value);
612 PythonDictionary GetDictionary() const;
718 const PythonDictionary &globals,
719 const PythonDictionary &locals);
722 const PythonDictionary &globals,
[all …]
H A DScriptInterpreterPython.cpp294 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()),
584 PythonDictionary &sys_module_dict = GetSysModuleDictionary();
617 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in LeaveSession()
680 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
720 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() { in EnterSession()
728 PythonDictionary main_dict(PyRefType::Borrowed, in EnterSession()
734 As<PythonDictionary>(main_dict.GetItem(m_dictionary_name))); in GetMainModule()
738 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() { in GetMainModule()
755 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>( in GetSessionDictionary()
795 PythonDictionary module_dic in GenerateUniqueName()
[all...]
H A DScriptInterpreterPythonImpl.h401 python::PythonDictionary &GetSessionDictionary();
403 python::PythonDictionary &GetSysModuleDictionary();
417 python::PythonDictionary m_session_dict;
418 python::PythonDictionary m_sys_module_dict;
/llvm-project/lldb/bindings/python/
H A Dpython-wrapper.swig29 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
76 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
103 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
141 if (!PythonDictionary::Check(py_dict))
144 PythonDictionary dict(PyRefType::Borrowed, py_dict);
190 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
221 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
243 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
602 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
775 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
[all...]
/llvm-project/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp78 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
81 dict = Take<PythonDictionary>(new_dict); in TEST_F()
84 dict = Take<PythonDictionary>(PyDict_New()); in TEST_F()
160 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
343 // wrapped by a PythonDictionary. in TEST_F()
456 // Python API behaves correctly when wrapped by a PythonDictionary. in TEST_F()
472 EXPECT_TRUE(PythonDictionary::Check(py_dict)); in TEST_F()
473 PythonDictionary dict(PyRefType::Owned, py_dict); in TEST_F()
495 // by a PythonDictionary. in TEST_F()
511 PythonDictionary dic in TEST_F()
[all...]
/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.h60 const python::PythonDictionary &class_dict) const { in CheckAbstractMethodImplementation()
151 PythonModule::MainModule().ResolveName<python::PythonDictionary>( in CreatePluginObject()
245 PythonDictionary object_class_dict = in Dispatch()
246 dict_converter(object_class_mapping_proxy).AsType<PythonDictionary>(); in Dispatch()
H A DScriptedPythonInterface.cpp41 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()