/third_party/python/Lib/test/test_importlib/extension/ |
D | test_loader.py | 24 def load_module(self, fullname): member in LoaderTests 27 return self.loader.load_module(fullname) 33 self.loader.load_module() 34 self.loader.load_module(None) 36 self.load_module('XXX') 50 module = self.load_module(util.EXTENSIONS.name) 67 module1 = self.load_module(util.EXTENSIONS.name) 68 module2 = self.load_module(util.EXTENSIONS.name) 77 self.load_module(name) 102 def load_module(self): member in MultiPhaseExtensionModuleTests [all …]
|
/third_party/python/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 27 def load_module(self, name): member in LoaderTests 30 return self.machinery.BuiltinImporter.load_module(name) 35 module = self.load_module(util.BUILTINS.good_name) 47 module1 = self.load_module(util.BUILTINS.good_name) 48 module2 = self.load_module(util.BUILTINS.good_name) 55 self.load_module(name) 67 self.load_module(module_name)
|
/third_party/python/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__') 171 self.machinery.FrozenImporter.load_module('_not_real')
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test_caching.py | 56 original_load = mock.load_module 57 def load_module(self, fullname): function 60 mock.load_module = MethodType(load_module, mock)
|
D | test___loader__.py | 41 def load_module(self, fullname): member in LoaderMock
|
D | test_api.py | 37 def load_module(cls, fullname): member in BadLoaderFinder
|
/third_party/python/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)
|
/third_party/spirv-tools/tools/diff/ |
D | diff.cpp | 72 static std::unique_ptr<spvtools::opt::IRContext> load_module(const char* path) { in load_module() function 185 std::unique_ptr<spvtools::opt::IRContext> src = load_module(src_file); in main() 186 std::unique_ptr<spvtools::opt::IRContext> dst = load_module(dst_file); in main()
|
/third_party/python/Python/ |
D | makeopcodetargets.py | 20 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 27 return SourceFileLoader(modname, modpath).load_module()
|
/third_party/python/Lib/test/ |
D | test_imp.py | 170 mod = imp.load_module(temp_mod_name, file, filename, info) 221 new_os = imp.load_module("os", *x) 235 mod = imp.load_module(example, *x) 276 imp.load_module(name, None, *found[1:]) 378 mod = imp.load_module('mymod', file, path, description)
|
D | test_modulefinder.py | 429 def load_module(self, fqname, fp, pathname, file_info): member in ModuleFinderTest.test_load_module_api.CheckLoadModuleApi 432 return super().load_module(fqname, fp, pathname, file_info)
|
D | test_zipimport.py | 466 load_mod = find_mod.load_module('spam') 469 mod = zi.load_module(TESTPACK) 575 mod = zi.load_module(TESTPACK2) 595 load_mod = find_mod_dotted.load_module(TESTMOD) 835 self.assertRaises(TypeError, z.load_module, None) 850 self.assertRaises(error, z.load_module, 'abc')
|
/third_party/python/Lib/test/test_importlib/ |
D | test_util.py | 169 def load_module(self, module): member in ModuleForLoaderTests.test_reload.FakeLoader 178 returned_module = loader.load_module(name) 229 def load_module(self, module): member in ModuleForLoaderTests.test_attributes_set.FakeLoader 235 module = loader.load_module(name) 243 module = loader.load_module(name) 326 def load_module(self, module): member in SetLoaderTests.DummyLoader.DummyLoader 340 self.assertEqual(loader, loader.load_module('blah').__loader__) 348 self.assertEqual(loader, loader.load_module('blah').__loader__) 356 self.assertEqual(42, loader.load_module('blah').__loader__)
|
D | test_abc.py | 205 def load_module(self, fullname): member in Loader 206 return super().load_module(fullname) 219 self.ins.load_module('something') 470 loader.load_module(name) 491 loader.load_module(name) 853 module = self.loader.load_module(self.name) 868 module = self.loader.load_module(self.name)
|
/third_party/python/Lib/ |
D | modulefinder.py | 161 self.load_module('__main__', fp, pathname, stuff) 168 self.load_module(name, fp, pathname, stuff) 323 m = self.load_module(fqname, fp, pathname, stuff) 332 def load_module(self, fqname, fp, pathname, file_info): member in ModuleFinder 479 self.load_module(fqname, fp, buf, stuff)
|
/third_party/pulseaudio/src/modules/ |
D | stdin-util.c | 119 void load_module( in load_module() function 223 load_module(m, i, module, args, i >= m->n_items); in handle_event()
|
D | stdin-util.h | 70 void load_module(
|
/third_party/python/Lib/importlib/ |
D | abc.py | 214 load_module = _bootstrap_external._LoaderBasics.load_module variable in InspectLoader
|
D | _abc.py | 24 def load_module(self, fullname): member in Loader
|
D | _bootstrap.py | 617 spec.loader.load_module(name) 632 spec.loader.load_module(spec.name) 801 load_module = classmethod(_load_module_shim) variable in BuiltinImporter 859 def load_module(cls, fullname): member in FrozenImporter
|
D | _bootstrap_external.py | 885 def load_module(self, fullname): member in _LoaderBasics 1054 def load_module(self, fullname): member in FileLoader 1063 return super(FileLoader, self).load_module(fullname) 1301 def load_module(self, fullname): member in _NamespaceLoader
|
/third_party/python/Doc/library/ |
D | imp.rst | 80 :func:`find_module` and :func:`load_module` to find and load package *P*, and 92 .. function:: load_module(name, file, pathname, description) 116 called :func:`imp.load_module` and related functions directly with file 389 :func:`load_module` has been added in 1.4.) :: 407 return imp.load_module(name, fp, pathname, description)
|
D | importlib.rst | 416 .. method:: load_module(fullname) 473 it instead of load_module(). The import machinery takes care of 474 all the other responsibilities of load_module() when exec_module() 655 .. method:: load_module(fullname) 657 Implementation of :meth:`Loader.load_module`. 702 .. method:: load_module(fullname) 704 Calls super's ``load_module()``. 791 .. method:: load_module(fullname) 793 Concrete implementation of :meth:`Loader.load_module`. 1292 .. method:: load_module(name=None) [all …]
|
/third_party/libabigail/tests/ |
D | mockfedabipkgdiff.in | 88 module = loader.load_module()
|