Searched refs:bytecode_path (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 393 bytecode_path = self.util.cache_from_source(mapping[name]) 396 bytecode_path = make_legacy_pyc(mapping[name]) 398 with open(bytecode_path, 'rb') as file: 401 with open(bytecode_path, 'wb') as file: 404 return bytecode_path 482 bytecode_path = self.manipulate_bytecode('_temp', mapping, 485 file_path = mapping['_temp'] if not del_source else bytecode_path 489 self.assertEqual(cm.exception.path, bytecode_path) 493 bytecode_path = self.manipulate_bytecode('_temp', mapping, 496 file_path = mapping['_temp'] if not del_source else bytecode_path [all …]
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 412 def _get_sourcefile(bytecode_path): argument 419 if len(bytecode_path) == 0: 421 rest, _, extension = bytecode_path.rpartition('.') 423 return bytecode_path 425 source_path = source_from_cache(bytecode_path) 427 source_path = bytecode_path[:-1] 428 return source_path if _path_isfile(source_path) else bytecode_path 585 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument 589 _bootstrap._verbose_message('code object from {!r}', bytecode_path) 594 raise ImportError('Non-code object in {!r}'.format(bytecode_path), [all …]
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | generator.py | 163 bytecode_path=None, for_blink=False, use_once_callback=False, argument 173 self.bytecode_path = bytecode_path
|
D | template_expander.py | 20 mojo_generator.bytecode_path, "%s.zip" % mojo_generator.GetTemplatePrefix(
|
/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 83 bytecode_path = imp.cache_from_source(module.__file__) 84 if os.path.exists(bytecode_path): 85 os.unlink(bytecode_path)
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 385 bytecode_path = base_path + importlib.machinery.BYTECODE_SUFFIXES[0] 388 py_compile.compile(source_path, cfile=bytecode_path)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_abc.py | 723 self.bytecode_path = self.util.cache_from_source(self.path) 740 elif path == self.bytecode_path: 752 return path == self.bytecode_path 905 self.loader.bytecode_path = "<does not exist>" 908 bytecode_path = self.util.cache_from_source(self.path) 909 self.loader.get_data(bytecode_path) 938 self.loader.bytecode_path = "<does not exist>"
|
D | util.py | 321 def ensure_bytecode_path(bytecode_path): argument 327 os.mkdir(os.path.dirname(bytecode_path))
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 208 variant=args.variant, bytecode_path=args.bytecode_path,
|
D | mojom.gni | 503 "--bytecode_path",
|
/external/libchrome/soong/ |
D | bindings_generator.go | 60 --bytecode_path=${templateDir}
|