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.cpp165 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
204 const PythonDictionary &dict) { in ResolveNameWithDictionary()
269 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
654 PythonDictionary::PythonDictionary(PyInitialValue value) { in PythonDictionary() function in PythonDictionary
656 *this = Take<PythonDictionary>(PyDict_New()); in PythonDictionary()
659 bool PythonDictionary::Check(PyObject *py_obj) { in Check()
666 bool PythonDictionary::HasKey(const llvm::Twine &key) const { in HasKey()
680 uint32_t PythonDictionary::GetSize() const { in GetSize()
686 PythonList PythonDictionary::GetKeys() const { in GetKeys()
692 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.cpp315 As<PythonDictionary>(get_info(PythonString(python_dir_spec.GetPath()), in GetInterpreterInfo()
604 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in LeaveSession()
637 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in SetStdHandle()
700 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
740 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() { in GetSessionDictionary()
748 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
754 As<PythonDictionary>(main_dict.GetItem(m_dictionary_name))); in GetSessionDictionary()
758 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() { in GetSysModuleDictionary()
778 .ResolveName<PythonDictionary>(m_dictionary_name); in GetMaxPositionalArgumentsForCallable()
817 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
[all …]
H A DScriptInterpreterPythonImpl.h397 python::PythonDictionary &GetSessionDictionary();
399 python::PythonDictionary &GetSysModuleDictionary();
413 python::PythonDictionary m_session_dict;
414 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>(
319 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
685 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.h44 const python::PythonDictionary &class_dict) const { in CheckAbstractMethodImplementation()
107 PythonModule::MainModule().ResolveName<python::PythonDictionary>( in CreatePluginObject()
179 PythonDictionary object_class_dict = in CreatePluginObject()
180 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()