/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_finder.py | 14 def find_module(self, fullname): member in FinderTests 20 return importer.find_module(fullname) 23 self.assertTrue(self.find_module(util.EXTENSIONS.name)) 35 self.assertIsNone(self.find_module('asdfjkl;'))
|
D | test_case_sensitivity.py | 15 def find_module(self): member in ExtensionModuleCaseSensitivityTest 22 return finder.find_module(bad_name) 28 loader = self.find_module() 35 loader = self.find_module()
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 73 with imp.find_module('module_' + mod, self.test_path)[0] as fd: 78 imp.find_module('badsyntax_pep3120', path) 82 fp, filename, info = imp.find_module('module_' + mod, 91 fp, filename, info = imp.find_module("tokenize") 105 file, filename, info = imp.find_module(temp_mod_name) 160 file, filename, info = imp.find_module(temp_mod_name) 203 imp.find_module, "badsyntax_pep3120", [path]) 217 x = imp.find_module("os") 229 x = imp.find_module(example) 240 fileobj, pathname, description = imp.find_module(m) [all …]
|
/external/python/cpython3/Python/ |
D | makeopcodetargets.py | 15 def find_module(modname): function 20 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 22 def find_module(modname): function 33 opcode = find_module('opcode')
|
/external/adhd/cras/src/tests/ |
D | cras_dsp_pipeline_unittest.cc | 193 static struct dsp_module *find_module(const char *name) in find_module() function 276 struct dsp_module *m1 = find_module("m1"); in TEST_F() 277 struct dsp_module *m2 = find_module("m2"); in TEST_F() 436 struct dsp_module *m0 = find_module("m0"); in TEST_F() 437 struct dsp_module *m1 = find_module("m1"); in TEST_F() 438 struct dsp_module *m2 = find_module("m2"); in TEST_F() 439 struct dsp_module *m3 = find_module("m3"); in TEST_F() 440 struct dsp_module *m5 = find_module("m5"); in TEST_F() 446 ASSERT_FALSE(find_module("m4")); in TEST_F() 448 ASSERT_FALSE(find_module("m6")); in TEST_F()
|
/external/python/cpython2/Python/ |
D | makeopcodetargets.py | 13 def find_module(modname): function 18 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 23 opcode = find_module("opcode")
|
/external/python/setuptools/setuptools/ |
D | depends.py | 56 f, p, i = find_module(self.module, paths) 82 def find_module(module, paths=None): function 89 f, path, (suffix, mode, kind) = info = imp.find_module(part, paths) 109 f, path, (suffix, mode, kind) = find_module(module, paths)
|
D | site-patch.py | 19 loader = importer.find_module('site') 27 stream, path, descr = imp.find_module('site', [item])
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_finder.py | 61 found = self.machinery.BuiltinImporter.find_module(util.BUILTINS.good_name) 73 loader = self.machinery.BuiltinImporter.find_module('importlib') 79 loader = self.machinery.BuiltinImporter.find_module(util.BUILTINS.good_name,
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 120 def find_module(self, fullname): member in FinderTests.test_finder_with_find_module.TestFinder 211 return self.machinery.PathFinder.find_module(*args, **kwargs) 245 def find_module(fullname): member in PathEntryFinderTests.test_finder_with_failing_find_spec.Finder 263 def find_module(fullname): member in PathEntryFinderTests.test_finder_with_failing_find_module.Finder 269 self.machinery.PathFinder.find_module('importlib')
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_windows.py | 68 loader = self.machinery.WindowsRegistryFinder.find_module('spam') 73 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module) 80 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module)
|
D | test_api.py | 189 def find_module(name, path=None): member in FindLoaderPEP302Tests.FakeMetaFinder 389 def find_module(self, *args): member in InvalidateCacheTests.test_method_called.InvalidatingNullFinder 439 if self.machinery.BuiltinImporter.find_module(name): 441 elif self.machinery.FrozenImporter.find_module(name): 449 if self.machinery.BuiltinImporter.find_module(name): 451 elif self.machinery.FrozenImporter.find_module(name):
|
D | test_abc.py | 150 def find_module(self, fullname, path): member in MetaPathFinder 151 return super().find_module(fullname, path) 161 found = self.ins.find_module('something', None) 189 def find_module(self): member in PathEntryFinderDefaultsTests 190 self.assertEqual(None, self.ins.find_module('something')) 365 found = finder.find_module(name, path) 375 found = finder.find_module('blah', None)
|
/external/python/cpython3/Lib/importlib/ |
D | abc.py | 43 def find_module(self, fullname, path=None): member in Finder 57 def find_module(self, fullname, path): member in MetaPathFinder 126 find_module = _bootstrap_external._find_module_shim variable in PathEntryFinder
|
/external/python/cpython2/Lib/test/ |
D | test_importhooks.py | 62 def find_module(self, fullname, path=None): member in TestImporter 94 def find_module(self, fullname, path=None): member in ImportBlocker 109 def find_module(self, fullname, path=None): member in ImpWrapper 118 file, filename, stuff = imp.find_module(subname, path)
|
/external/kmod/testsuite/ |
D | delete_module.c | 102 static struct mod *find_module(struct mod *_modules, const char *modname) in find_module() function 151 mod = find_module(modules, modname); in delete_module()
|
/external/python/cpython2/Doc/library/ |
D | imp.rst | 35 .. function:: find_module(name[, path]) 69 :func:`find_module` and :func:`load_module` to find and load package *P*, and 70 then use :func:`find_module` with the *path* argument set to ``P.__path__``. 78 Load a module that was previously found by :func:`find_module` (or by an 138 indicate the search result of :func:`find_module`. 171 available through :func:`find_module` or :func:`load_module`. They are kept 276 .. method:: NullImporter.find_module(fullname [, path]) 291 in that version, since :func:`find_module` has been extended and 307 fp, pathname, description = imp.find_module(name)
|
/external/python/cpython3/Doc/library/ |
D | imp.rst | 47 .. function:: find_module(name[, path]) 81 :func:`find_module` and :func:`load_module` to find and load package *P*, and 82 then use :func:`find_module` with the *path* argument set to ``P.__path__``. 95 Load a module that was previously found by :func:`find_module` (or by an 114 If previously used in conjunction with :func:`imp.find_module` then 116 returned by the replacement you chose for :func:`imp.find_module`. If you 315 to indicate the search result of :func:`find_module`. 369 .. method:: NullImporter.find_module(fullname [, path]) 389 in that version, since :func:`find_module` has been extended and 405 fp, pathname, description = imp.find_module(name)
|
/external/python/cpython2/Lib/ |
D | ihooks.py | 114 def find_module(self, name, path = None): member in BasicModuleLoader 130 return imp.find_module(name, [dir]) 366 stuff = self.loader.find_module(name) 373 stuff = self.loader.find_module(name, path) 525 stuff = self.loader.find_module(partname, path)
|
D | pyclbr.py | 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname])
|
D | pkgutil.py | 173 def find_module(self, fullname, path=None): member in ImpImporter 183 file, filename, etc = imp.find_module(subname, path) 313 return ImpImporter(self.filename).find_module('__init__') 473 loader = importer.find_module(fullname)
|
/external/autotest/client/cros/ |
D | factory_setup_modules.py | 27 *imp.find_module('cros/factory', sys.path + extra_path))
|
/external/python/setuptools/setuptools/tests/ |
D | test_setuptools.py | 69 dep.find_module('no-such.-thing') 71 dep.find_module('setuptools.non-existent') 72 f, p, i = dep.find_module('setuptools.tests')
|
/external/flatbuffers/tests/ |
D | py_test.py | 152 imp.find_module('numpy') 484 imp.find_module('numpy') 516 imp.find_module('numpy') 554 imp.find_module('numpy') 591 imp.find_module('numpy') 628 imp.find_module('numpy') 665 imp.find_module('numpy') 698 imp.find_module('numpy') 721 imp.find_module('numpy') 1301 imp.find_module('numpy')
|
/external/antlr/runtime/Python3/ |
D | setup.py | 113 = imp.find_module(testID, [testDir]) 238 = imp.find_module(testID, [testDir])
|