Searched refs:meta_path (Results 1 – 25 of 51) sorted by relevance
123
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_fromlist.py | 20 with util.import_state(meta_path=[importer]): 27 with util.import_state(meta_path=[importer]): 55 with util.import_state(meta_path=[importer]): 62 with util.import_state(meta_path=[importer]): 70 with util.import_state(meta_path=[importer]): 84 with util.import_state(meta_path=[importer]): 91 with util.import_state(meta_path=[importer]): 98 with util.import_state(meta_path=[mock]): 116 with util.import_state(meta_path=[mock]):
|
D | test_packages.py | 13 with util.import_state(meta_path=[mock]): 19 with util.import_state(meta_path=[mock]): 31 with util.import_state(meta_path=[mock]): 48 with util.import_state(meta_path=[mock]): 68 with util.import_state(meta_path=[mock]): 97 with util.import_state(meta_path=[mock]):
|
D | test_meta_path.py | 21 with util.import_state(meta_path=[first, second]): 30 with util.import_state(meta_path=[first, second]): 40 with util.import_state(meta_path=[]): 75 with util.import_state(meta_path=[importer]): 93 with util.import_state(meta_path=[importer]):
|
D | test___package__.py | 39 with util.import_state(meta_path=[importer]): 133 with util.import_state(meta_path=[mock]): 141 with util.import_state(meta_path=[mock]): 149 with util.import_state(meta_path=[mock]):
|
D | test___loader__.py | 25 with util.uncache('blah'), util.import_state(meta_path=[loader]): 55 with util.uncache('blah'), util.import_state(meta_path=[loader]): 64 with util.uncache('blah'), util.import_state(meta_path=[loader]):
|
D | test_caching.py | 67 with util.import_state(meta_path=[mock]): 75 with util.import_state(meta_path=[importer]): 85 with util.import_state(meta_path=[importer]):
|
D | test_api.py | 67 with util.import_state(meta_path=[self.bad_finder_loader]): 78 with util.import_state(meta_path=[self.bad_finder_loader]):
|
D | test_path.py | 108 with util.import_state(meta_path=sys.meta_path[:],
|
/external/python/cpython2/Lib/test/ |
D | test_importlib.py | 124 with import_state(meta_path=[mock]): 134 with import_state(meta_path=[mock]): 141 with import_state(meta_path=[mock]): 149 with import_state(meta_path=[mock]): 160 with import_state(meta_path=[mock]):
|
D | test_importhooks.py | 143 self.meta_path = sys.meta_path[:] 150 sys.meta_path[:] = self.meta_path 220 sys.meta_path.append(i) 231 sys.meta_path.append(ImportBlocker(mname)) 236 sys.meta_path.append(i)
|
D | test_pkgutil.py | 114 sys.meta_path.insert(0, self.MyTestImporter()) 117 del sys.meta_path[0]
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_api.py | 22 with test_util.import_state(meta_path=[mock]): 32 with test_util.import_state(meta_path=[mock]): 44 with test_util.import_state(meta_path=[mock]): 52 with test_util.import_state(meta_path=[mock]): 65 with test_util.import_state(meta_path=[mock]): 90 with test_util.import_state(meta_path=[mock]): 149 with test_util.import_state(meta_path=[self.FakeMetaFinder]): 159 with test_util.import_state(meta_path=[self.FakeMetaFinder]): 218 with test_util.import_state(meta_path=[mock]): 385 sys.meta_path.insert(0, meta_ins) [all …]
|
/external/autotest/client/site_tests/logging_CrashSender/ |
D | logging_CrashSender.py | 80 meta_path = self.write_fake_meta( 83 self._check_simple_minidump_send(meta_path, log_path) 96 meta_path = self.write_fake_meta( 99 self._shift_file_mtime(meta_path, _25_HOURS_AGO) 100 self._check_simple_minidump_send(meta_path)
|
/external/python/cpython3/Lib/test/ |
D | test_threaded_import.py | 138 sys.meta_path.insert(0, finder) 144 sys.meta_path.remove(finder) 158 sys.meta_path.append(flushing_finder) 166 sys.meta_path.remove(flushing_finder)
|
D | test_zipimport_support.py | 68 self.meta_path = sys.meta_path[:] 74 sys.meta_path[:] = self.meta_path
|
D | test_zipimport.py | 63 self.meta_path = sys.meta_path[:] 70 sys.meta_path[:] = self.meta_path
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 863 meta_path = sys.meta_path 864 if meta_path is None: 869 if not meta_path: 876 for finder in meta_path: 1140 sys.meta_path.append(BuiltinImporter) 1141 sys.meta_path.append(FrozenImporter)
|
D | __init__.py | 69 for finder in sys.meta_path:
|
/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 69 sys.meta_path.append(importlib.machinery.PathFinder) 105 sys.meta_path.append(importlib.machinery.PathFinder) 139 sys.meta_path.append(importlib.machinery.PathFinder)
|
/external/autotest/client/cros/crash/ |
D | crash_test.py | 445 meta_path = meta_match.group(1) 448 meta_path = None 490 'meta_path': meta_path,
|
D | user_crash_test.py | 332 def _check_generated_report_sending(self, meta_path, payload_path, argument 347 if result['meta_path'] != meta_path:
|
/external/scapy/scapy/modules/ |
D | six.py | 879 if sys.meta_path: 880 for i, importer in enumerate(sys.meta_path): 887 del sys.meta_path[i] 891 sys.meta_path.append(_importer)
|
/external/autotest/server/ |
D | site_crashcollect.py | 394 meta_path = os.path.splitext(minidump_path)[0] + '.meta' 395 with open(meta_path, 'r') as f:
|
/external/autotest/venv/lucifer/ |
D | autotest.py | 75 sys.meta_path.insert(0, _CommonRemovingFinder())
|
/external/python/cpython2/Python/ |
D | import.c | 1349 PyObject *meta_path; in find_module() local 1351 meta_path = PySys_GetObject("meta_path"); in find_module() 1352 if (meta_path == NULL || !PyList_Check(meta_path)) { in find_module() 1358 Py_INCREF(meta_path); /* zap guard */ in find_module() 1359 npath = PyList_Size(meta_path); in find_module() 1362 PyObject *hook = PyList_GetItem(meta_path, i); in find_module() 1368 Py_DECREF(meta_path); in find_module() 1374 Py_DECREF(meta_path); in find_module() 1380 Py_DECREF(meta_path); in find_module()
|
123