Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.h70 class PythonDictionary; variable
290 const PythonDictionary &dict);
294 const PythonDictionary &dict) {
558 class PythonDictionary : public TypedPythonObject<PythonDictionary> {
562 PythonDictionary() : TypedPythonObject() {} // MSVC requires this for some reason
564 explicit PythonDictionary(PyInitialValue value);
611 PythonDictionary GetDictionary() const;
717 const PythonDictionary &globals,
718 const PythonDictionary &locals);
721 const PythonDictionary &globals,
[all …]
DPythonDataObjects.cpp157 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
198 const PythonDictionary &dict) { in ResolveNameWithDictionary()
262 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
699 PythonDictionary::PythonDictionary(PyInitialValue value) { in PythonDictionary() function in PythonDictionary
701 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
704 bool PythonDictionary::Check(PyObject *py_obj) { in Check()
711 uint32_t PythonDictionary::GetSize() const { in GetSize()
717 PythonList PythonDictionary::GetKeys() const { in GetKeys()
723 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const { in GetItemForKey()
733 PythonDictionary::GetItem(const PythonObject &key) const { in GetItem()
[all …]
DScriptInterpreterPython.cpp686 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in LeaveSession()
719 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in SetStdHandle()
782 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
822 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() { in GetSessionDictionary()
830 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
836 As<PythonDictionary>(main_dict.GetItem(m_dictionary_name))); in GetSessionDictionary()
840 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() { in GetSysModuleDictionary()
860 .ResolveName<PythonDictionary>(m_dictionary_name); in GetMaxPositionalArgumentsForCallable()
899 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
961 PythonDictionary &session_dict = GetSessionDictionary(); in ExecuteOneLine()
[all …]
DScriptInterpreterPythonImpl.h383 python::PythonDictionary &GetSessionDictionary();
385 python::PythonDictionary &GetSysModuleDictionary();
399 python::PythonDictionary m_session_dict;
400 python::PythonDictionary m_sys_module_dict;
/external/llvm-project/lldb/bindings/python/
Dpython-wrapper.swig58 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
107 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
155 if (!PythonDictionary::Check(py_dict))
158 PythonDictionary dict(PyRefType::Borrowed, py_dict);
210 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
245 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
277 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
391 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
493 PythonModule::MainModule().ResolveName<PythonDictionary>(
820 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(session_dictionary_name);
[all …]
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp71 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
74 dict = Take<PythonDictionary>(new_dict); in TEST_F()
77 dict = Take<PythonDictionary>(PyDict_New()); in TEST_F()
150 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
477 EXPECT_TRUE(PythonDictionary::Check(py_dict)); in TEST_F()
478 PythonDictionary dict(PyRefType::Owned, py_dict); in TEST_F()
516 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
542 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
607 PythonDictionary python_dict(PyInitialValue::Empty); in TEST_F()
631 PythonDictionary globals(PyInitialValue::Empty); in TEST_F()
[all …]