Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp163 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
202 const PythonDictionary &dict) { in ResolveNameWithDictionary()
267 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
652 PythonDictionary::PythonDictionary(PyInitialValue value) { in PythonDictionary() function in PythonDictionary
654 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
657 bool PythonDictionary::Check(PyObject *py_obj) { in Check()
664 bool PythonDictionary::HasKey(const llvm::Twine &key) const { in HasKey()
678 uint32_t PythonDictionary::GetSize() const { in GetSize()
684 PythonList PythonDictionary::GetKeys() const { in GetKeys()
690 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const { in GetItemForKey()
[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.cpp296 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()), in GetInterpreterInfo()
584 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in LeaveSession()
617 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in SetStdHandle()
680 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
722 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() { in GetSessionDictionary()
730 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
736 As<PythonDictionary>(main_dict.GetItem(m_dictionary_name))); in GetSessionDictionary()
740 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() { in GetSysModuleDictionary()
757 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>( in GetMaxPositionalArgumentsForCallable()
797 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
[all …]
H A DScriptInterpreterPythonImpl.h403 python::PythonDictionary &GetSessionDictionary();
405 python::PythonDictionary &GetSysModuleDictionary();
419 python::PythonDictionary m_session_dict;
420 python::PythonDictionary m_sys_module_dict;
H A DScriptedPythonInterface.cpp
/freebsd/contrib/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 …]
/freebsd/contrib/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 CreatePluginObject()
246 dict_converter(object_class_mapping_proxy).AsType<PythonDictionary>(); in CreatePluginObject()
H A DScriptedPythonInterface.cpp41 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()