HomeSort by relevance Sort by last modified time
    Searched refs:bytecode_path (Results 1 - 10 of 10) sorted by null

  /external/libmojo/soong/
mojom_source_generator.sh 67 --bytecode_path=*)
68 bytecode_path="${arg#'--bytecode_path='}"
69 bytecode_path="$(get_abs_path ${bytecode_path})"
99 --bytecode_path="${bytecode_path}" \
106 --bytecode_path="${bytecode_path}" --generators=${generators} \
  /external/python/cpython3/Lib/test/test_importlib/source/
test_file_loader.py 260 bytecode_path = self.util.cache_from_source(mapping[name])
263 bytecode_path = make_legacy_pyc(mapping[name])
265 with open(bytecode_path, 'rb') as file:
268 with open(bytecode_path, 'wb') as file:
271 return bytecode_path
322 bytecode_path = self.manipulate_bytecode('_temp', mapping,
325 file_path = mapping['_temp'] if not del_source else bytecode_path
329 self.assertEqual(cm.exception.path, bytecode_path)
333 bytecode_path = self.manipulate_bytecode('_temp', mapping,
336 file_path = mapping['_temp'] if not del_source else bytecode_path
    [all...]
  /external/python/cpython3/Lib/importlib/
_bootstrap_external.py 342 def _get_sourcefile(bytecode_path):
349 if len(bytecode_path) == 0:
351 rest, _, extension = bytecode_path.rpartition('.')
353 return bytecode_path
355 source_path = source_from_cache(bytecode_path)
357 source_path = bytecode_path[:-1]
358 return source_path if _path_isfile(source_path) else bytecode_path
485 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None):
489 _bootstrap._verbose_message('code object from {!r}', bytecode_path)
494 raise ImportError('Non-code object in {!r}'.format(bytecode_path),
    [all...]
  /external/python/cpython3/Lib/test/
test_modulefinder.py 305 bytecode_path = base_path + importlib.machinery.BYTECODE_SUFFIXES[0]
308 py_compile.compile(source_path, cfile=bytecode_path)
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
template_expander.py 33 mojo_generator.bytecode_path, "%s.zip" % mojo_generator.GetTemplatePrefix(
generator.py 40 bytecode_path=None, for_blink=False, use_once_callback=False,
47 self.bytecode_path = bytecode_path
  /external/python/cpython3/Tools/importbench/
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/test_importlib/
test_abc.py 664 self.bytecode_path = self.util.cache_from_source(self.path)
680 elif path == self.bytecode_path:
692 return path == self.bytecode_path
844 self.loader.bytecode_path = "<does not exist>"
847 bytecode_path = self.util.cache_from_source(self.path)
848 self.loader.get_data(bytecode_path)
877 self.loader.bytecode_path = "<does not exist>"
util.py 303 def ensure_bytecode_path(bytecode_path):
306 :param bytecode_path: File system path to PEP 3147 pyc file.
309 os.mkdir(os.path.dirname(bytecode_path))
  /external/libmojo/mojo/public/tools/bindings/
mojom_bindings_generator.py 164 variant=args.variant, bytecode_path=args.bytecode_path,
287 "--bytecode_path", type=str, required=True, help=(
289 "bytecode, run %s precompile BYTECODE_PATH" % os.path.basename(

Completed in 547 milliseconds