/external/python/cpython3/Lib/test/ |
D | test_imp.py | 75 with imp.find_module('module_' + mod, self.test_path)[0] as fd: 80 imp.find_module('badsyntax_pep3120', path) 84 fp, filename, info = imp.find_module('module_' + mod, 93 fp, filename, info = imp.find_module("tokenize") 107 file, filename, info = imp.find_module(temp_mod_name) 162 file, filename, info = imp.find_module(temp_mod_name) 205 imp.find_module, "badsyntax_pep3120", [path]) 219 x = imp.find_module("os") 231 x = imp.find_module(example) 242 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/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/cpython3/Lib/test/test_importlib/builtin/ |
D | test_finder.py | 64 found = self.machinery.BuiltinImporter.find_module(util.BUILTINS.good_name) 78 loader = self.machinery.BuiltinImporter.find_module('importlib') 86 loader = self.machinery.BuiltinImporter.find_module(
|
/external/python/setuptools/setuptools/ |
D | depends.py | 8 from ._imp import find_module, PY_COMPILED, PY_FROZEN, PY_SOURCE 59 f, p, i = find_module(self.module, paths) 104 f, path, (suffix, mode, kind) = info = find_module(module, paths)
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 121 def find_module(self, fullname): member in FinderTests.test_finder_with_find_module.TestFinder 222 return self.machinery.PathFinder.find_module(*args, **kwargs) 256 def find_module(fullname): member in PathEntryFinderTests.test_finder_with_failing_find_spec.Finder 276 def find_module(fullname): member in PathEntryFinderTests.test_finder_with_failing_find_module.Finder 285 self.machinery.PathFinder.find_module('importlib')
|
/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/python/cpython3/Lib/importlib/ |
D | abc.py | 51 def find_module(self, fullname, path=None): member in Finder 71 def find_module(self, fullname, path): member in MetaPathFinder 140 find_module = _bootstrap_external._find_module_shim variable in PathEntryFinder
|
/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()
|
D | init_module.c | 166 static struct mod *find_module(struct mod *_modules, const char *modname) in find_module() function 269 mod = find_module(modules, modname); in init_module()
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_windows.py | 101 loader = self.machinery.WindowsRegistryFinder.find_module('spam') 108 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module) 117 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_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]) 80 :func:`find_module` and :func:`load_module` to find and load package *P*, and 81 then use :func:`find_module` with the *path* argument set to ``P.__path__``. 94 Load a module that was previously found by :func:`find_module` (or by an 113 If previously used in conjunction with :func:`imp.find_module` then 115 returned by the replacement you chose for :func:`imp.find_module`. If you 314 to indicate the search result of :func:`find_module`. 368 .. method:: NullImporter.find_module(fullname [, path]) 388 in that version, since :func:`find_module` has been extended and 404 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/python/setuptools/setuptools/tests/ |
D | test_setuptools.py | 74 dep.find_module('no-such.-thing') 76 dep.find_module('setuptools.non-existent') 77 f, p, i = dep.find_module('setuptools.tests')
|
/external/autotest/client/cros/ |
D | factory_setup_modules.py | 27 *imp.find_module('cros/factory', sys.path + extra_path))
|
/external/python/setuptools/setuptools/_vendor/importlib_metadata/ |
D | _compat.py | 61 find_module = find_spec variable in NullFinder
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/ |
D | generator_unittest.py | 21 imp.find_module("mojom")
|
D | module_unittest.py | 21 imp.find_module("mojom")
|
/external/flatbuffers/python/flatbuffers/ |
D | compat.py | 61 imp.find_module('numpy')
|
/external/antlr/runtime/Python3/ |
D | setup.py | 113 = imp.find_module(testID, [testDir]) 238 = imp.find_module(testID, [testDir])
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/ |
D | fileutil_unittest.py | 23 imp.find_module("mojom")
|
/external/antlr/runtime/Python/ |
D | setup.py | 110 = imp.find_module(testID, [testDir]) 244 = imp.find_module(testID, [testDir])
|