Home
last modified time | relevance | path

Searched refs:source_hash (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/
Dpy_compile.py165 source_hash = importlib.util.source_hash(source_bytes)
168 source_hash,
Dzipimport.py605 source_hash = _imp.source_hash(
612 data, source_hash, fullname, exc_details)
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py561 def _validate_hash_pyc(data, source_hash, name, exc_details): argument
578 if data[8:16] != source_hash:
608 def _code_to_hash_pyc(code, source_hash, checked=True): argument
613 assert len(source_hash) == 8
614 data.extend(source_hash)
866 source_hash = None
899 source_hash = _imp.source_hash(
903 _validate_hash_pyc(data, source_hash, fullname,
928 if source_hash is None:
929 source_hash = _imp.source_hash(source_bytes)
[all …]
Dutil.py22 def source_hash(source_bytes): function
24 return _imp.source_hash(_RAW_MAGIC_NUMBER, source_bytes)
/external/mesa3d/subprojects/
Dzlib.wrap6 source_hash = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
Dexpat.wrap6 source_hash = d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6
/external/libkmsxx/subprojects/
Dpybind11.wrap5 source_hash = c2ed3fc84db08f40a36ce1d03331624ed6977497b35dfed36a1423396928559a
/external/python/cpython3/Lib/test/
Dtest_zipimport.py196 source_hash = importlib.util.source_hash(source)
199 source_hash,
211 source_hash = importlib.util.source_hash(source)
214 source_hash,
Dtest_imp.py347 self.assertEqual(_imp.source_hash(42, b'hi'), b'\xc6\xe7Z\r\x03:}\xab')
348 self.assertEqual(_imp.source_hash(43, b'hi'), b'\x85\x9765\xf8\x9a\x8b9')
/external/perfetto/tools/
Dgen_binary_descriptors105 source_hash=hash_path(os.path.join(source)),
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py268 self.util.source_hash(b'state = "new"'),
323 self.util.source_hash(b'state = "old"'),
354 self.util.source_hash(b'state = "new"'),
/external/python/cpython3/Doc/library/
Dimportlib.rst1611 .. function:: source_hash(source_bytes)
1614 the :func:`source_hash` of the corresponding source file's contents in its
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1059 The new :func:`importlib.source_hash` can be used to compute the hash of