Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp161 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
200 const PythonDictionary &dict) { in ResolveNameWithDictionary()
265 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
629 PythonDictionary::PythonDictionary(PyInitialValue value) { in PythonDictionary() function in PythonDictionary
631 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
634 bool PythonDictionary::Check(PyObject *py_obj) { in Check()
641 uint32_t PythonDictionary::GetSize() const { in GetSize()
647 PythonList PythonDictionary::GetKeys() const { in GetKeys()
653 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const { in GetItemForKey()
663 PythonDictionary::GetItem(const PythonObject &key) const { in GetItem()
[all …]
H A DPythonDataObjects.h70 class PythonDictionary; variable
280 const PythonDictionary &dict);
284 const PythonDictionary &dict) {
541 class PythonDictionary : public TypedPythonObject<PythonDictionary> {
545 PythonDictionary() : TypedPythonObject() {} // MSVC requires this for some reason
547 explicit PythonDictionary(PyInitialValue value);
594 PythonDictionary GetDictionary() const;
700 const PythonDictionary &globals,
701 const PythonDictionary &locals);
704 const PythonDictionary &globals,
[all …]
H A DScriptInterpreterPython.cpp294 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()), in GetInterpreterInfo()
590 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in LeaveSession()
623 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in SetStdHandle()
686 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
726 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() { in GetSessionDictionary()
734 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
740 As<PythonDictionary>(main_dict.GetItem(m_dictionary_name))); in GetSessionDictionary()
744 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() { in GetSysModuleDictionary()
764 .ResolveName<PythonDictionary>(m_dictionary_name); in GetMaxPositionalArgumentsForCallable()
803 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
[all …]
H A DScriptInterpreterPythonImpl.h388 python::PythonDictionary &GetSessionDictionary();
390 python::PythonDictionary &GetSysModuleDictionary();
404 python::PythonDictionary m_session_dict;
405 python::PythonDictionary m_sys_module_dict;
H A DScriptedPythonInterface.cpp42 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
/openbsd-src/gnu/llvm/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>(
285 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
381 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
[all …]