Home
last modified time | relevance | path

Searched refs:bytecode_path (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py391 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/
Dgenerate_idl_bindings.py22 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/
Dgenerate_idl_bindings.py22 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.py623 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/
Dgenerator.py163 bytecode_path=None, for_blink=False, use_once_callback=False, argument
173 self.bytecode_path = bytecode_path
Dtemplate_expander.py20 mojo_generator.bytecode_path, "%s.zip" % mojo_generator.GetTemplatePrefix(
/external/python/cpython3/Tools/importbench/
Dimportbench.py84 bytecode_path = cache_from_source(module.__file__)
85 if os.path.exists(bytecode_path):
86 os.unlink(bytecode_path)
/external/python/cpython3/Lib/test/
Dtest_modulefinder.py386 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/
Dtest_abc.py628 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>"
Dutil.py306 def ensure_bytecode_path(bytecode_path): argument
312 os.mkdir(os.path.dirname(bytecode_path))
/external/cronet/stable/components/cronet/tools/generators/
Dcronet_bindings_generator.py215 variant=args.variant, bytecode_path=args.bytecode_path,
/external/cronet/tot/components/cronet/tools/generators/
Dcronet_bindings_generator.py215 variant=args.variant, bytecode_path=args.bytecode_path,
/external/libchrome/mojo/public/tools/bindings/
Dmojom_bindings_generator.py209 variant=args.variant, bytecode_path=args.bytecode_path,
Dmojom.gni503 "--bytecode_path",
/external/libchrome/soong/
Dbindings_generator.go60 --bytecode_path=${templateDir}