Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage_unittest.py305 def _FakeGetLocked(bucket, expected_hash, file_path): argument
306 del bucket, expected_hash, file_path # unused
326 def _FakeGetLocked(bucket, expected_hash, file_path): argument
327 del bucket, expected_hash, file_path # unused
358 def _FakeGetLocked(bucket, expected_hash, file_path): argument
359 del bucket, expected_hash, file_path # unused
382 def _FakeGetLockedNewHash(bucket, expected_hash, file_path): argument
383 del bucket, expected_hash, file_path # unused
Dcloud_storage.py517 expected_hash = ReadHash(hash_path)
545 if os.path.exists(file_path) and CalculateHash(file_path) == expected_hash:
547 _GetLocked(bucket, expected_hash, file_path)
548 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/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/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/
Dwrapper.py157 def expected_hash(): function
291 expected = expected_hash()
/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/autotest/server/cros/faft/
Dfingerprint_test.py478 expected_hash = self._get_expected_firmware_hash(build_fw_file)
479 self.check_equal(actual_hash, expected_hash)
/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.py894 expected_hash = hashlib.sha1(data*num_threads).hexdigest()
916 self.assertEqual(expected_hash, hasher.hexdigest())