/third_party/python/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')
|
/third_party/python/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 …]
|
D | test_zipimport.py | 462 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/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(
|
/third_party/python/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')
|
D | test___loader__.py | 38 def find_module(self, fullname, path=None): member in LoaderMock
|
D | test_api.py | 32 def find_module(cls, fullname, path): member in BadLoaderFinder
|
/third_party/python/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
|
D | _bootstrap_external.py | 845 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.py | 756 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/ |
D | test_windows.py | 90 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)
|
D | test_abc.py | 151 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)
|
D | fixtures.py | 286 def find_module(self, name): member in NullFinder
|
D | test_api.py | 193 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/ |
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)
|
/third_party/flatbuffers/python/flatbuffers/ |
D | compat.py | 56 imp.find_module('numpy')
|
/third_party/python/Lib/ |
D | imp.py | 129 def find_module(self, fullname): member in NullImporter 255 def find_module(name, path=None): function
|
D | pkgutil.py | 32 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)
|
D | modulefinder.py | 316 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/grpc/src/python/grpcio_tests/tests/ |
D | _loader.py | 74 module = importer.find_module(module_name).load_module(module_name)
|
/third_party/python/Lib/test/test_importlib/frozen/ |
D | test_finder.py | 55 return finder.find_module(name, path)
|
/third_party/alsa-lib/src/mixer/ |
D | simple_abst.c | 201 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/ |
D | test_case_sensitivity.py | 70 return finder.find_module(self.name)
|
D | test_finder.py | 227 return finder.find_module(name)
|
/third_party/flatbuffers/tests/ |
D | py_test.py | 610 imp.find_module('numpy') 946 imp.find_module('numpy') 978 imp.find_module('numpy') 1016 imp.find_module('numpy') 1053 imp.find_module('numpy') 1090 imp.find_module('numpy') 1127 imp.find_module('numpy') 1160 imp.find_module('numpy') 1183 imp.find_module('numpy') 1868 imp.find_module('numpy')
|