Home
last modified time | relevance | path

Searched refs:main_dict (Results 1 – 3 of 3) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/scripting-engines/
Dtrace-event-python.c51 static PyObject *main_module, *main_dict; variable
95 handler = PyDict_GetItemString(main_dict, handler_name); in define_value()
141 handler = PyDict_GetItemString(main_dict, handler_name); in define_field()
267 handler = PyDict_GetItemString(main_dict, handler_name); in python_process_tracepoint()
341 handler = PyDict_GetItemString(main_dict, "trace_unhandled"); in python_process_tracepoint()
380 handler = PyDict_GetItemString(main_dict, handler_name); in python_process_general_event()
443 main_dict = PyModule_GetDict(main_module); in run_start_sub()
444 if (main_dict == NULL) { in run_start_sub()
448 Py_INCREF(main_dict); in run_start_sub()
450 handler = PyDict_GetItemString(main_dict, "trace_begin"); in run_start_sub()
[all …]
/external/lldb/scripts/Python/
Dpython-wrapper.swig38 PyObject* main_dict;
49 main_dict = ((PyTypeObject*)pmodule)->tp_dict;
50 if (!main_dict)
55 main_dict = PyModule_GetDict (pmodule);
56 if (!main_dict)
60 main_dict = pmodule;
71 while (PyDict_Next (main_dict, &pos, &key, &value))
91 pmodule = ResolvePythonName(piece.c_str(), main_dict);
/external/lldb/source/Interpreter/
DScriptInterpreterPython.cpp716 PyObject *main_dict = PyModule_GetDict (main_mod); in FindSessionDictionary() local
717 if ((main_dict != NULL) in FindSessionDictionary()
718 && PyDict_Check (main_dict)) in FindSessionDictionary()
724 while (PyDict_Next (main_dict, &pos, &key, &value)) in FindSessionDictionary()