Searched refs:bytecode_path (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 391 bytecode_path = self.util.cache_from_source(mapping[name]) 394 bytecode_path = make_legacy_pyc(mapping[name]) 396 with open(bytecode_path, 'rb') as file: 399 with open(bytecode_path, 'wb') as file: 402 return bytecode_path 480 bytecode_path = self.manipulate_bytecode('_temp', mapping, 483 file_path = mapping['_temp'] if not del_source else bytecode_path 487 self.assertEqual(cm.exception.path, bytecode_path) 491 bytecode_path = self.manipulate_bytecode('_temp', mapping, 494 file_path = mapping['_temp'] if not del_source else bytecode_path [all …]
|
/external/cronet/stable/components/cronet/tools/ |
D | generate_idl_bindings.py | 22 bytecode_path = tempfile.mkdtemp('idl_bytecode') 26 run(generator + ' precompile -o ', bytecode_path) 29 ' --bytecode_path ' + bytecode_path + ' -g c') 35 shutil.rmtree(bytecode_path)
|
/external/cronet/tot/components/cronet/tools/ |
D | generate_idl_bindings.py | 22 bytecode_path = tempfile.mkdtemp('idl_bytecode') 26 run(generator + ' precompile -o ', bytecode_path) 29 ' --bytecode_path ' + bytecode_path + ' -g c') 35 shutil.rmtree(bytecode_path)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 623 def _get_sourcefile(bytecode_path): argument 630 if len(bytecode_path) == 0: 632 rest, _, extension = bytecode_path.rpartition('.') 634 return bytecode_path 636 source_path = source_from_cache(bytecode_path) 638 source_path = bytecode_path[:-1] 639 return source_path if _path_isfile(source_path) else bytecode_path 782 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument 786 _bootstrap._verbose_message('code object from {!r}', bytecode_path) 792 name=name, path=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 | 84 bytecode_path = cache_from_source(module.__file__) 85 if os.path.exists(bytecode_path): 86 os.unlink(bytecode_path)
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 386 bytecode_path = base_path + importlib.machinery.BYTECODE_SUFFIXES[0] 389 py_compile.compile(source_path, cfile=bytecode_path)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_abc.py | 628 self.bytecode_path = self.util.cache_from_source(self.path) 645 elif path == self.bytecode_path: 657 return path == self.bytecode_path 808 self.loader.bytecode_path = "<does not exist>" 811 bytecode_path = self.util.cache_from_source(self.path) 812 self.loader.get_data(bytecode_path) 841 self.loader.bytecode_path = "<does not exist>"
|
D | util.py | 306 def ensure_bytecode_path(bytecode_path): argument 312 os.mkdir(os.path.dirname(bytecode_path))
|
/external/cronet/stable/components/cronet/tools/generators/ |
D | cronet_bindings_generator.py | 215 variant=args.variant, bytecode_path=args.bytecode_path,
|
/external/cronet/tot/components/cronet/tools/generators/ |
D | cronet_bindings_generator.py | 215 variant=args.variant, bytecode_path=args.bytecode_path,
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 209 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}
|