Searched refs:source_hash (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython3/Lib/ |
D | py_compile.py | 165 source_hash = importlib.util.source_hash(source_bytes) 168 source_hash,
|
D | zipimport.py | 605 source_hash = _imp.source_hash( 612 data, source_hash, fullname, exc_details)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 561 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 …]
|
D | util.py | 22 def source_hash(source_bytes): function 24 return _imp.source_hash(_RAW_MAGIC_NUMBER, source_bytes)
|
/external/mesa3d/subprojects/ |
D | zlib.wrap | 6 source_hash = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
D | expat.wrap | 6 source_hash = d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6
|
/external/libkmsxx/subprojects/ |
D | pybind11.wrap | 5 source_hash = c2ed3fc84db08f40a36ce1d03331624ed6977497b35dfed36a1423396928559a
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 196 source_hash = importlib.util.source_hash(source) 199 source_hash, 211 source_hash = importlib.util.source_hash(source) 214 source_hash,
|
D | test_imp.py | 347 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/ |
D | gen_binary_descriptors | 105 source_hash=hash_path(os.path.join(source)),
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 268 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/ |
D | importlib.rst | 1611 .. function:: source_hash(source_bytes) 1614 the :func:`source_hash` of the corresponding source file's contents in its
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 1059 The new :func:`importlib.source_hash` can be used to compute the hash of
|