Home
last modified time | relevance | path

Searched refs:main_module (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/glib/gmodule/
Dgmodule.c93 static GModule *main_module = NULL; variable
106 if (main_module && main_module->handle == handle) in g_module_find_by_handle()
107 retval = main_module; in g_module_find_by_handle()
351 if (!main_module) in g_module_open()
356 main_module = g_new (GModule, 1); in g_module_open()
357 main_module->file_name = NULL; in g_module_open()
359 main_module->cp_file_name = NULL; in g_module_open()
361 main_module->handle = handle; in g_module_open()
362 main_module->ref_count = 1; in g_module_open()
363 main_module->is_resident = TRUE; in g_module_open()
[all …]
/external/linux-tools-perf/util/scripting-engines/
Dtrace-event-python.c49 static PyObject *main_module, *main_dict; variable
331 main_module = PyImport_AddModule("__main__"); in run_start_sub()
332 if (main_module == NULL) in run_start_sub()
334 Py_INCREF(main_module); in run_start_sub()
336 main_dict = PyModule_GetDict(main_module); in run_start_sub()
355 Py_XDECREF(main_module); in run_start_sub()
430 Py_XDECREF(main_module); in python_stop_script()