/device/linaro/bootloader/edk2/ArmPlatformPkg/Scripts/Ds5/ |
D | profile.py | 48 for module_name, module_value in functions[func_name].iteritems(): 53 add_cycles_to_function.prev_module_name = module_name 55 return (func_name, module_name) 60 add_cycles_to_function.prev_module_name = module_name 62 return (func_name, module_name) 65 module_name = get_module_from_addr(modules, addr) 67 functions[func_name][module_name] = {} 68 functions[func_name][module_name]['start'] = 0 69 functions[func_name][module_name]['end'] = 0 70 functions[func_name][module_name]['cycles'] = cycles [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_coding.py | 7 module_name = 'bad_coding' 8 self.verify_bad_module(module_name) 11 module_name = 'bad_coding2' 12 self.verify_bad_module(module_name) 14 def verify_bad_module(self, module_name): argument 15 self.assertRaises(SyntaxError, __import__, 'test.' + module_name) 18 filename = os.path.join(path, module_name + '.py')
|
D | test_pkgimport.py | 11 self.module_name = self.package_name + '.foo' 15 for module_name in (self.package_name, self.module_name): 16 if module_name in sys.modules: 17 del sys.modules[module_name] 53 try: __import__(self.module_name) 56 self.assertNotIn(self.module_name, sys.modules) 67 try: __import__(self.module_name) 74 module = __import__(self.module_name).foo
|
D | test_py3kwarn.py | 12 def check_deprecated_module(module_name): argument 17 def check_deprecated_module(module_name): argument 21 return any(module_name in msg and ' removed' in msg 351 def check_removal(self, module_name, optional=False): argument 354 with CleanImport(module_name), warnings.catch_warnings(): 360 __import__(module_name, level=0) 362 self.assertIn(module_name, exc.args[0], 364 % module_name) 368 "ImportError.".format(module_name)) 372 if not check_deprecated_module(module_name): [all …]
|
D | test_xml_etree.py | 1870 def test_main(module_name='xml.etree.ElementTree'): argument 1873 use_py_module = (module_name == 'xml.etree.ElementTree') 1876 assert test_xml_etree.ET.__name__ == module_name 1883 assert test_xml_etree.ET.__name__ == module_name
|
D | test_import.py | 274 module_name = "unlikely_module_name" variable in PycRewritingTests 285 file_name = os.path.join(dir_name, module_name) + os.extsep + "py" 290 self.orig_module = sys.modules.pop(self.module_name, None) 299 sys.modules[self.module_name] = self.orig_module 301 unload(self.module_name) 308 __import__(self.module_name, ns, ns) 309 return sys.modules[self.module_name] 316 del sys.modules[self.module_name]
|
D | test_xml_etree_c.py | 49 test_xml_etree.test_main(module_name='xml.etree.cElementTree')
|
D | test_hashlib.py | 43 def _conditional_import_module(self, module_name): argument 46 exec('import '+module_name) 50 return locals().get(module_name)
|
D | test_cmd_line_script.py | 57 def _make_launch_script(script_dir, script_basename, module_name, path=None): argument 62 source = launch_source % (path, module_name)
|
D | test_pydoc.py | 179 def run_pydoc(module_name, *args): argument 184 cmd = [sys.executable, pydoc.__file__, " ".join(args), module_name]
|
D | test_warnings.py | 268 module_name = warning_tests.__name__ 279 warning_tests.__name__ = module_name 285 module_name = warning_tests.__name__ 298 warning_tests.__name__ = module_name 306 module_name = warning_tests.__name__ 319 warning_tests.__name__ = module_name
|
D | test_support.py | 638 for module_name in module_names: 639 if module_name in sys.modules: 640 module = sys.modules[module_name] 645 if module.__name__ != module_name: 647 del sys.modules[module_name]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | __init__.py | 75 def __init__(self, module_name): argument 76 self.__name__ = 'email.' + module_name
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | cobject.c | 99 PyCObject_Import(char *module_name, char *name) in PyCObject_Import() argument 104 if ((m = PyImport_ImportModule(module_name))) { in PyCObject_Import()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | cobject.c | 99 PyCObject_Import(char *module_name, char *name) in PyCObject_Import() argument 104 if ((m = PyImport_ImportModule(module_name))) { in PyCObject_Import()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
D | test_loader.py | 527 module_name = 'unittest.test.dummy' 528 sys.modules.pop(module_name, None) 532 suite = loader.loadTestsFromName(module_name) 538 self.assertIn(module_name, sys.modules) 540 if module_name in sys.modules: 541 del sys.modules[module_name] 910 module_name = 'unittest.test.dummy' 911 sys.modules.pop(module_name, None) 915 suite = loader.loadTestsFromNames([module_name]) 921 self.assertIn(module_name, sys.modules) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | ccompiler.py | 1030 (module_name, class_name, long_description) = compiler_class[compiler] 1038 module_name = "distutils." + module_name 1039 __import__ (module_name) 1040 module = sys.modules[module_name] 1045 module_name 1049 "in module '%s'") % (class_name, module_name)
|
D | dist.py | 811 module_name = "%s.%s" % (pkgname, command) 815 __import__ (module_name) 816 module = sys.modules[module_name] 825 % (command, klass_name, module_name)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | cobject.h | 72 PyAPI_FUNC(void *) PyCObject_Import(char *module_name, char *cobject_name);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | cobject.h | 72 PyAPI_FUNC(void *) PyCObject_Import(char *module_name, char *cobject_name);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | _warnings.c | 643 PyObject *module_name; in warnings_warn_explicit() local 662 module_name = PyDict_GetItemString(module_globals, "__name__"); in warnings_warn_explicit() 664 if (loader == NULL || module_name == NULL) in warnings_warn_explicit() 672 module_name, NULL); in warnings_warn_explicit()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | _warnings.c | 644 PyObject *module_name; in warnings_warn_explicit() local 663 module_name = PyDict_GetItemString(module_globals, "__name__"); in warnings_warn_explicit() 665 if (loader == NULL || module_name == NULL) in warnings_warn_explicit() 673 module_name, NULL); in warnings_warn_explicit()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
D | loader.py | 207 def _get_directory_containing_module(self, module_name): argument 208 module = sys.modules[module_name]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | cPickle.c | 3944 PyObject *tup, *class=0, *obj=0, *module_name, *class_name; in load_inst() local 3952 module_name = PyString_FromStringAndSize(s, len - 1); in load_inst() 3953 if (!module_name) return -1; in load_inst() 3958 class = find_class(module_name, class_name, in load_inst() 3963 Py_DECREF(module_name); in load_inst() 4030 PyObject *class = 0, *module_name = 0, *class_name = 0; in load_global() local 4036 module_name = PyString_FromStringAndSize(s, len - 1); in load_global() 4037 if (!module_name) return -1; in load_global() 4041 Py_DECREF(module_name); in load_global() 4045 class = find_class(module_name, class_name, in load_global() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | cPickle.c | 3909 PyObject *tup, *class=0, *obj=0, *module_name, *class_name; in load_inst() local 3917 module_name = PyString_FromStringAndSize(s, len - 1); in load_inst() 3918 if (!module_name) return -1; in load_inst() 3923 class = find_class(module_name, class_name, in load_inst() 3928 Py_DECREF(module_name); in load_inst() 3995 PyObject *class = 0, *module_name = 0, *class_name = 0; in load_global() local 4001 module_name = PyString_FromStringAndSize(s, len - 1); in load_global() 4002 if (!module_name) return -1; in load_global() 4006 Py_DECREF(module_name); in load_global() 4010 class = find_class(module_name, class_name, in load_global() [all …]
|