Home
last modified time | relevance | path

Searched refs:find_module (Results 1 – 25 of 110) sorted by relevance

12345

/external/python/cpython3/Lib/test/
Dtest_imp.py75 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/
Dmakeopcodetargets.py15 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/
Dmakeopcodetargets.py13 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/
Dtest_finder.py64 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/
Ddepends.py8 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_/
Dtest_path.py121 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/
Dtest_importhooks.py62 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/
Dabc.py51 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/
Ddelete_module.c102 static struct mod *find_module(struct mod *_modules, const char *modname) in find_module() function
151 mod = find_module(modules, modname); in delete_module()
Dinit_module.c166 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/
Dtest_windows.py101 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/
Dimp.rst35 .. 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/
Dimp.rst47 .. 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/
Dihooks.py114 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)
Dpyclbr.py138 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])
Dpkgutil.py173 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/
Dtest_setuptools.py74 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/
Dfactory_setup_modules.py27 *imp.find_module('cros/factory', sys.path + extra_path))
/external/python/setuptools/setuptools/_vendor/importlib_metadata/
D_compat.py61 find_module = find_spec variable in NullFinder
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/
Dgenerator_unittest.py21 imp.find_module("mojom")
Dmodule_unittest.py21 imp.find_module("mojom")
/external/flatbuffers/python/flatbuffers/
Dcompat.py61 imp.find_module('numpy')
/external/antlr/runtime/Python3/
Dsetup.py113 = imp.find_module(testID, [testDir])
238 = imp.find_module(testID, [testDir])
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/
Dfileutil_unittest.py23 imp.find_module("mojom")
/external/antlr/runtime/Python/
Dsetup.py110 = imp.find_module(testID, [testDir])
244 = imp.find_module(testID, [testDir])

12345