Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp162 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
630 PythonDictionary::PythonDictionary(PyInitialValue value) { in PythonDictionary() function in PythonDictionary
632 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
635 bool PythonDictionary::Check(PyObject *py_obj) { in Check()
642 uint32_t PythonDictionary::GetSize() const { in GetSize()
648 PythonList PythonDictionary::GetKeys() const { in GetKeys()
696 Error PythonDictionary::SetItem(const Twine &key, in SetItem()
714 PythonDictionary::CreateStructuredDictionary() const { in CreateStructuredDictionary()
762 PythonDictionary PythonModule::GetDictionary() const { in GetDictionary()
764 return PythonDictionary(); in GetDictionary()
[all …]
H A DPythonDataObjects.h70 class PythonDictionary; variable
268 const PythonDictionary &dict);
272 const PythonDictionary &dict) {
529 class PythonDictionary : public TypedPythonObject<PythonDictionary> {
533 PythonDictionary() : TypedPythonObject() {} // MSVC requires this for some reason
535 explicit PythonDictionary(PyInitialValue value);
582 PythonDictionary GetDictionary() const;
688 const PythonDictionary &globals,
689 const PythonDictionary &locals);
692 const PythonDictionary &globals,
[all …]
H A DScriptInterpreterPython.cpp619 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in SetStdHandle()
682 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
730 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
760 .ResolveName<PythonDictionary>(m_dictionary_name); in GetMaxPositionalArgumentsForCallable()
799 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
861 PythonDictionary &session_dict = GetSessionDictionary(); in ExecuteOneLine()
988 PythonDictionary globals = main_module.GetDictionary(); in ExecuteOneLineWithReturn()
990 PythonDictionary locals = GetSessionDictionary(); in ExecuteOneLineWithReturn()
1112 PythonDictionary globals = main_module.GetDictionary(); in ExecuteMultipleLines()
1114 PythonDictionary locals = GetSessionDictionary(); in ExecuteMultipleLines()
[all …]
H A DScriptInterpreterPythonImpl.h385 python::PythonDictionary &GetSessionDictionary();
387 python::PythonDictionary &GetSysModuleDictionary();
401 python::PythonDictionary m_session_dict;
402 python::PythonDictionary m_sys_module_dict;
H A DScriptedPythonInterface.cpp49 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-wrapper.swig29 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
76 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
115 if (!PythonDictionary::Check(py_dict))
118 PythonDictionary dict(PyRefType::Borrowed, py_dict);
164 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
195 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
217 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
261 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
301 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
397 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
[all …]
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A 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()
449 EXPECT_TRUE(PythonDictionary::Check(py_dict)); in TEST_F()
450 PythonDictionary dict(PyRefType::Owned, py_dict); in TEST_F()
488 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
514 PythonDictionary dict(PyInitialValue::Empty); in TEST_F()
579 PythonDictionary python_dict(PyInitialValue::Empty); in TEST_F()
603 PythonDictionary globals(PyInitialValue::Empty); in TEST_F()
[all …]