Home
last modified time | relevance | path

Searched refs:expected_hash (Results 1 – 11 of 11) sorted by relevance

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage_unittest.py260 def _FakeGetLocked(bucket, expected_hash, file_path): argument
261 del bucket, expected_hash, file_path # unused
281 def _FakeGetLocked(bucket, expected_hash, file_path): argument
282 del bucket, expected_hash, file_path # unused
313 def _FakeGetLocked(bucket, expected_hash, file_path): argument
314 del bucket, expected_hash, file_path # unused
337 def _FakeGetLockedNewHash(bucket, expected_hash, file_path): argument
338 del bucket, expected_hash, file_path # unused
Dcloud_storage.py426 expected_hash = ReadHash(hash_path)
454 if os.path.exists(file_path) and CalculateHash(file_path) == expected_hash:
456 _GetLocked(bucket, expected_hash, file_path)
457 if CalculateHash(file_path) != expected_hash:
/external/harfbuzz_ng/test/shaping/
Drun-tests.py66 fontfile, expected_hash = fontfile.split('@') variable
71 if actual_hash != expected_hash:
73 (fontfile, expected_hash, actual_hash))
/external/autotest/server/site_tests/firmware_ECUpdateId/
Dfirmware_ECUpdateId.py71 def active_hash_checker(self, expected_hash): argument
74 result = ec_hash == expected_hash
77 expected_hash, ec_hash)
/external/vboot_reference/scripts/image_signing/
Dsign_official_build.sh563 expected_hash=$(get_hash_from_config "${new_kernel_config}")
566 if [ -z "${expected_hash}" ] || [ -z "${got_hash}" ]; then
571 if [ ! "${got_hash}" = "${expected_hash}" ]; then
574 Expected: ${expected_hash}
579 echo "PASS: RootFS hash is correct (${expected_hash})"
/external/v8/tools/
Dfind-commit-for-patch.py63 expected_hash = files[filename]
64 if actual_hash.startswith(expected_hash): matched_files += 1
/external/vboot_reference/firmware/lib/
Dvboot_api_kernel.c645 uint8_t expected_hash[SHA256_DIGEST_SIZE]; in VbEcSoftwareSync() local
792 internal_SHA256(expected, expected_size, expected_hash); in VbEcSoftwareSync()
795 VBDEBUG(("%02x", expected_hash[i])); in VbEcSoftwareSync()
804 need_update = SafeMemcmp(ec_hash, expected_hash, in VbEcSoftwareSync()
807 SafeMemcmp(rw_hash, expected_hash, SHA256_DIGEST_SIZE)) { in VbEcSoftwareSync()
/external/avb/libavb_atx/
Davb_atx_validate.c66 const uint8_t expected_hash[AVB_SHA256_DIGEST_SIZE]) { in verify_permanent_attributes()
74 if (0 != avb_safe_memcmp(hash, expected_hash, AVB_SHA256_DIGEST_SIZE)) { in verify_permanent_attributes()
/external/python/cpython2/Lib/test/
Dtest_hashlib.py372 expected_hash = hashlib.sha1(data*num_threads).hexdigest()
394 self.assertEqual(expected_hash, hasher.hexdigest())
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc266 size_t expected_hash = 456; in TEST_F() local
267 CombineHash(1, &expected_hash); in TEST_F()
270 EXPECT_THAT(GetTopoHash(1, &sn1), Eq(expected_hash)); in TEST_F()
/external/python/cpython3/Lib/test/
Dtest_hashlib.py815 expected_hash = hashlib.sha1(data*num_threads).hexdigest()
837 self.assertEqual(expected_hash, hasher.hexdigest())