/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_loader.py | 22 def load_module(self, fullname): member in LoaderTests 23 return self.loader.load_module(fullname) 27 self.loader.load_module() 28 self.loader.load_module(None) 30 self.load_module('XXX') 44 module = self.load_module(util.EXTENSIONS.name) 61 module1 = self.load_module(util.EXTENSIONS.name) 62 module2 = self.load_module(util.EXTENSIONS.name) 71 self.load_module(name) 109 module = self.load_module() [all …]
|
/external/epid-sdk/parts-site/configurations/ |
D | __init__.py | 18 import parts.load_module as load_module namespace 24 mod = load_module.load_module( 25 load_module.get_site_directories('configurations'), type_name, 'configtype')
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 26 def load_module(self, name): member in LoaderTests 27 return self.machinery.BuiltinImporter.load_module(name) 32 module = self.load_module(util.BUILTINS.good_name) 44 module1 = self.load_module(util.BUILTINS.good_name) 45 module2 = self.load_module(util.BUILTINS.good_name) 52 self.load_module(name) 64 self.load_module(module_name)
|
/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 98 module = self.machinery.FrozenImporter.load_module('__hello__') 112 module = self.machinery.FrozenImporter.load_module('__phello__') 131 module = self.machinery.FrozenImporter.load_module('__phello__.spam') 148 module1 = self.machinery.FrozenImporter.load_module('__hello__') 149 module2 = self.machinery.FrozenImporter.load_module('__hello__') 158 module = self.machinery.FrozenImporter.load_module('__hello__') 165 module = self.machinery.FrozenImporter.load_module('__hello__') 175 self.machinery.FrozenImporter.load_module('_not_real')
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_caching.py | 55 original_load = mock.load_module 56 def load_module(self, fullname): function 59 mock.load_module = MethodType(load_module, mock)
|
/external/python/cpython2/Lib/ |
D | ihooks.py | 142 def load_module(self, name, stuff): member in BasicModuleLoader 145 return imp.load_module(name, file, filename, info) 176 return imp.load_module(name, file, filename, ("", "", PKG_DIRECTORY)) 261 def load_module(self, name, stuff): member in ModuleLoader 290 def load_module(self, name, stuff): member in FancyModuleLoader 321 return ModuleLoader.load_module(self, name, stuff) 369 return self.loader.load_module(name, stuff) 376 return self.loader.load_module(name, stuff) 529 m = self.loader.load_module(fqname, stuff)
|
D | modulefinder.py | 133 self.load_module('__main__', fp, pathname, stuff) 140 self.load_module(name, fp, pathname, stuff) 293 m = self.load_module(fqname, fp, pathname, stuff) 301 def load_module(self, fqname, fp, pathname, file_info): member in ModuleFinder 468 self.load_module(fqname, fp, buf, stuff)
|
D | pkgutil.py | 240 def load_module(self, fullname): member in ImpLoader 243 mod = imp.load_module(fullname, self.file, self.filename, self.etc) 579 mod = sys.modules.get(package) or loader.load_module(package)
|
/external/autotest/client/cros/ |
D | factory_setup_modules.py | 22 cros = imp.load_module('cros', None, '', ('', '', imp.PKG_DIRECTORY)) 25 cros.factory = imp.load_module(
|
/external/selinux/semodule-utils/semodule_link/ |
D | semodule_link.c | 35 static sepol_module_package_t *load_module(char *filename) in load_module() function 117 base = load_module(basename); in main() 136 mods[i] = load_module(argv[optind]); in main()
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 47 module = loader.load_module() # Should not raise an exception. 80 module = loader.load_module('_temp') 93 module = loader.load_module('_pkg') 108 module = loader.load_module('_pkg.mod') 124 module = loader.load_module('_temp') 131 module = loader.load_module('_temp') 158 loader.load_module(name) 171 loader.load_module('_temp') 185 mod = loader.load_module('_temp') 223 mod = loader.load_module('_temp') [all …]
|
D | test_source_encoding.py | 110 return loader.load_module(self.module_name) 166 return loader.load_module(module_name)
|
/external/python/cpython3/Python/ |
D | makeopcodetargets.py | 20 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 27 return SourceFileLoader(modname, modpath).load_module()
|
/external/python/cpython3/Lib/importlib/ |
D | abc.py | 153 def load_module(self, fullname): member in Loader 247 load_module = _bootstrap_external._LoaderBasics.load_module variable in InspectLoader
|
/external/python/cpython2/Lib/test/ |
D | test_importhooks.py | 68 def load_module(self, fullname): member in TestImporter 98 def load_module(self, fullname): member in ImportBlocker 131 def load_module(self, fullname): member in ImpLoader 132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff)
|
D | test_zipimport.py | 219 mod = zi.load_module(TESTPACK) 264 mod = zi.load_module(TESTPACK2) 443 self.assertRaises(TypeError, z.load_module, None) 452 self.assertRaises(error, z.load_module, 'abc')
|
/external/python/setuptools/setuptools/ |
D | site-patch.py | 22 loader.load_module('site') 34 imp.load_module('site', stream, path, descr)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 168 def load_module(self, module): member in ModuleForLoaderTests.test_reload.FakeLoader 177 returned_module = loader.load_module(name) 228 def load_module(self, module): member in ModuleForLoaderTests.test_attributes_set.FakeLoader 234 module = loader.load_module(name) 242 module = loader.load_module(name) 325 def load_module(self, module): member in SetLoaderTests.DummyLoader.DummyLoader 339 self.assertEqual(loader, loader.load_module('blah').__loader__) 347 self.assertEqual(loader, loader.load_module('blah').__loader__) 355 self.assertEqual(42, loader.load_module('blah').__loader__)
|
D | test_abc.py | 204 def load_module(self, fullname): member in Loader 205 return super().load_module(fullname) 218 self.ins.load_module('something') 450 loader.load_module(name) 469 loader.load_module(name) 829 module = self.loader.load_module(self.name) 842 module = self.loader.load_module(self.name)
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 168 mod = imp.load_module(temp_mod_name, file, filename, info) 219 new_os = imp.load_module("os", *x) 233 mod = imp.load_module(example, *x) 274 imp.load_module(name, None, *found[1:]) 365 mod = imp.load_module('mymod', file, path, description)
|
D | test_zipimport.py | 439 load_mod = find_mod.load_module('spam') 442 mod = zi.load_module(TESTPACK) 493 mod = zi.load_module(TESTPACK2) 507 load_mod = find_mod_dotted.load_module(TESTMOD) 666 zipimport.zipimporter(filename).load_module(TESTMOD) 692 self.assertRaises(ValueError, zi.load_module, 'foo') 775 self.assertRaises(TypeError, z.load_module, None) 784 self.assertRaises(error, z.load_module, 'abc')
|
/external/autotest/client/site_tests/kernel_Ktime/ |
D | kernel_Ktime.py | 158 utils.load_module(self.MODULE_NAME) 160 utils.load_module(self.MODULE_NAME_NEW)
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 109 self.load_module('__main__', fp, pathname, stuff) 116 self.load_module(name, fp, pathname, stuff) 270 m = self.load_module(fqname, fp, pathname, stuff) 279 def load_module(self, fqname, fp, pathname, file_info): member in ModuleFinder 423 self.load_module(fqname, fp, buf, stuff)
|
/external/antlr/runtime/Python3/ |
D | setup.py | 115 testMod = imp.load_module( 240 testMod = imp.load_module(
|
/external/python/cpython2/Python/ |
D | makeopcodetargets.py | 18 return imp.load_module(modname, *imp.find_module(modname, [modpath]))
|