Home
last modified time | relevance | path

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

12

/third_party/python/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 …]
Dtest_zipimport.py462 find_mod = zi.find_module('spam')
591 find_mod_dotted = zi2.find_module(TESTMOD)
836 self.assertRaises(TypeError, z.find_module, None)
845 self.assertIsNone(z.find_module('abc'))
/third_party/python/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')
/third_party/python/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(
/third_party/python/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')
Dtest___loader__.py38 def find_module(self, fullname, path=None): member in LoaderMock
Dtest_api.py32 def find_module(cls, fullname, path): member in BadLoaderFinder
/third_party/python/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
D_bootstrap_external.py845 def find_module(cls, fullname, path=None): member in WindowsRegistryFinder
1382 loader = finder.find_module(fullname)
1447 def find_module(cls, fullname, path=None): member in PathFinder
1505 find_module = _find_module_shim variable in FileFinder
D_bootstrap.py756 def find_module(cls, fullname, path=None): member in BuiltinImporter
834 def find_module(cls, fullname, path=None): member in FrozenImporter
915 loader = finder.find_module(name, path)
/third_party/python/Lib/test/test_importlib/
Dtest_windows.py90 loader = self.machinery.WindowsRegistryFinder.find_module('spam')
97 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module)
106 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module)
Dtest_abc.py151 def find_module(self, fullname, path): member in MetaPathFinder
152 return super().find_module(fullname, path)
162 found = self.ins.find_module('something', None)
190 def find_module(self): member in PathEntryFinderDefaultsTests
191 self.assertEqual(None, self.ins.find_module('something'))
370 found = finder.find_module(name, path)
Dfixtures.py286 def find_module(self, name): member in NullFinder
Dtest_api.py193 def find_module(name, path=None): member in FindLoaderPEP302Tests.FakeMetaFinder
393 def find_module(self, *args): member in InvalidateCacheTests.test_method_called.InvalidatingNullFinder
/third_party/python/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)
/third_party/python/Lib/
Dimp.py129 def find_module(self, fullname): member in NullImporter
255 def find_module(name, path=None): function
Dpkgutil.py32 loader = finder.find_module(name)
213 def find_module(self, fullname, path=None): member in ImpImporter
223 file, filename, etc = imp.find_module(subname, path)
Dmodulefinder.py316 fp, pathname, stuff = self.find_module(partname,
477 fp, buf, stuff = self.find_module("__init__", m.__path__)
492 def find_module(self, name, path, parent=None): member in ModuleFinder
/third_party/python/Lib/test/test_importlib/frozen/
Dtest_finder.py55 return finder.find_module(name, path)
/third_party/alsa-lib/src/mixer/
Dsimple_abst.c201 static int find_module(snd_mixer_class_t *class, snd_config_t *top) in find_module() function
341 err = find_module(class, top); in snd_mixer_simple_basic_register()
/third_party/python/Lib/test/test_importlib/source/
Dtest_case_sensitivity.py70 return finder.find_module(self.name)
Dtest_finder.py227 return finder.find_module(name)
/third_party/python/Doc/reference/
Dimport.rst327 finders replaced :meth:`~importlib.abc.MetaPathFinder.find_module`, which
333 Use of :meth:`~importlib.abc.MetaPathFinder.find_module` by the import system
880 :meth:`~importlib.abc.PathEntryFinder.find_module`, both of which
895 traditional ``find_module()`` method that meta path finders support.
896 However path entry finder ``find_module()`` methods are never called
900 The ``find_module()`` method on path entry finders is deprecated,
902 namespace packages. If both ``find_loader()`` and ``find_module()``
904 ``find_loader()`` in preference to ``find_module()``.
907 Calls to :meth:`~importlib.abc.PathEntryFinder.find_module` and
1052 alternative to :meth:`find_module`.
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp.py25 fp, pathname, description = imp.find_module('_libwebp', [dirname(__file__)])
/third_party/node/deps/v8/tools/testrunner/local/
Dtestsuite.py244 (f, pathname, description) = imp.find_module("testcfg", [root])

12