Home
last modified time | relevance | path

Searched refs:modules_dict (Results 1 – 5 of 5) sorted by relevance

/external/python/cffi/c/
Dcffi1_module.c156 PyObject *m, *modules_dict; in b_init_cffi_1_0_external_module() local
213 modules_dict = PySys_GetObject("modules"); in b_init_cffi_1_0_external_module()
214 if (!modules_dict) in b_init_cffi_1_0_external_module()
219 if (PyDict_SetItemString(modules_dict, module_name_with_lib, in b_init_cffi_1_0_external_module()
226 if (PyDict_SetItemString(modules_dict, module_name, m) < 0) in b_init_cffi_1_0_external_module()
/external/selinux/python/sepolicy/sepolicy/
Dmanpage.py42 modules_dict = None variable
46 global modules_dict
47 if modules_dict:
48 return modules_dict
51 modules_dict = {}
64 modules_dict[name] = b.text
67 return modules_dict
407 modules_dict = None variable in ManPage
488 if not self.modules_dict:
489 self.modules_dict = gen_modules_dict(self.xmlpath)
[all …]
/external/python/cpython2/Lib/
Dihooks.py179 d = self.modules_dict()
185 def modules_dict(self): return sys.modules member in Hooks
223 def modules_dict(self): member in ModuleLoader
224 return self.hooks.modules_dict()
330 d = self.hooks.modules_dict()
348 self.modules = self.loader.modules_dict()
Drexec.py111 def modules_dict(self): member in RHooks
/external/python/cpython2/Modules/
DcPickle.c902 PyObject *module = 0, *modules_dict = 0, in whichmodule() local
913 if (!( modules_dict = PySys_GetObject("modules"))) in whichmodule()
917 while ((j = PyDict_Next(modules_dict, &i, &name, &module))) { in whichmodule()