Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp165 if (PythonDictionary::Check(m_py_obj)) in GetObjectType()
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()
680 uint32_t PythonDictionary::GetSize() const { in GetSize()
686 PythonList PythonDictionary::GetKeys() const { in GetKeys()
734 Error PythonDictionary::SetItem(const Twine &key, in SetItem()
752 PythonDictionary::CreateStructuredDictionary() const { in CreateStructuredDictionary()
800 PythonDictionary PythonModule::GetDictionary() const { in GetDictionary()
802 return PythonDictionary(); in GetDictionary()
[all …]
H A DPythonDataObjects.h70 class PythonDictionary; variable
281 const PythonDictionary &dict);
285 const PythonDictionary &dict) {
555 class PythonDictionary : public TypedPythonObject<PythonDictionary> {
559 PythonDictionary() : TypedPythonObject() {} // MSVC requires this for some reason
561 explicit PythonDictionary(PyInitialValue value);
610 PythonDictionary GetDictionary() const;
716 const PythonDictionary &globals,
717 const PythonDictionary &locals);
720 const PythonDictionary &globals,
[all …]
H A DScriptInterpreterPython.cpp632 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in SetStdHandle()
695 PythonDictionary &sys_module_dict = GetSysModuleDictionary(); in EnterSession()
743 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
773 .ResolveName<PythonDictionary>(m_dictionary_name); in GetMaxPositionalArgumentsForCallable()
812 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
874 PythonDictionary &session_dict = GetSessionDictionary(); in ExecuteOneLine()
1001 PythonDictionary globals = main_module.GetDictionary(); in ExecuteOneLineWithReturn()
1003 PythonDictionary locals = GetSessionDictionary(); in ExecuteOneLineWithReturn()
1125 PythonDictionary globals = main_module.GetDictionary(); in ExecuteMultipleLines()
1127 PythonDictionary locals = GetSessionDictionary(); in ExecuteMultipleLines()
[all …]
H A DScriptInterpreterPythonImpl.h395 python::PythonDictionary &GetSessionDictionary();
397 python::PythonDictionary &GetSysModuleDictionary();
411 python::PythonDictionary m_session_dict;
412 python::PythonDictionary m_sys_module_dict;
/freebsd-14.2/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>(
242 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
370 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
446 auto dict = PythonModule::MainModule().ResolveName<PythonDictionary>(
[all …]
/freebsd-14.2/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()