/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/updater/ |
H A D | local_extension_cache.cc | 76 const std::string& expected_hash) { in FindExtension() argument 81 if (expected_hash.empty() || it->second.expected_hash == hash) { in FindExtension() 121 const std::string& expected_hash) { in ShouldRetryDownload() argument 364 if (it->second.expected_hash == info.expected_hash) { in InsertCacheEntry() 426 std::string expected_hash; in BackendCheckCacheContentsInternal() local 490 const std::string& expected_hash) { in ExtensionFileName() argument 492 if (!expected_hash.empty()) in ExtensionFileName() 503 const std::string& expected_hash, in BackendInstallCacheEntry() argument 570 const std::string& expected_hash) { in BackendRemoveCacheEntry() argument 615 const std::string& expected_hash, in CacheItemInfo() argument [all …]
|
H A D | local_extension_cache.h | 69 const std::string& expected_hash, 77 const std::string& expected_hash); 85 const std::string& expected_hash, 93 bool RemoveExtension(const std::string& id, const std::string& expected_hash); 103 const std::string& expected_hash); 117 std::string expected_hash; member 123 const std::string& expected_hash, 146 const std::string& expected_hash); 158 const std::string& expected_hash, 232 const std::string& expected_hash, [all …]
|
H A D | extension_cache_impl.cc | 70 const std::string& expected_hash, in GetExtension() argument 74 return cache_->GetExtension(id, expected_hash, file_path, version); in GetExtension() 80 const std::string& expected_hash, in PutExtension() argument 85 cache_->PutExtension(id, expected_hash, file_path, version, in PutExtension() 122 const std::string& hash = installer->expected_hash(); in Observe()
|
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/mbedtls/tests/suites/ |
H A D | test_suite_psa_crypto_hash.function | 15 void hash_finish( int alg_arg, data_t *input, data_t *expected_hash ) 30 ASSERT_COMPARE( expected_hash->x, expected_hash->len, 40 void hash_verify( int alg_arg, data_t *input, data_t *expected_hash ) 52 expected_hash->x, 53 expected_hash->len ) ); 62 void hash_multi_part( int alg_arg, data_t *input, data_t *expected_hash ) 89 ASSERT_COMPARE( expected_hash->x, expected_hash->len, 95 ASSERT_COMPARE( expected_hash->x, expected_hash->len,
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/serializers/ |
H A D | service_field_entity_spec.rb | 22 expected_hash = { 34 is_expected.to eq(expected_hash) 42 expected_hash = { 54 is_expected.to eq(expected_hash) 66 expected_hash = { 77 is_expected.to include(expected_hash) 86 expected_hash = { 98 is_expected.to eq(expected_hash)
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/ |
H A D | crx_file_info.cc | 19 : extension_id(i), path(p), expected_hash(h), required_format(f) { in CRXFileInfo() 26 : extension_id(i), path(p), expected_hash(), required_format(f) { in CRXFileInfo() 32 : extension_id(), path(p), expected_hash(), required_format(f) { in CRXFileInfo() 39 expected_hash(other.expected_hash), in CRXFileInfo() 46 expected_hash == that.expected_hash; in operator ==()
|
/dports/audio/bliss/bliss-1.2.0-6-ga443635/tests/ |
H A D | test_decode.c | 16 uint8_t expected_hash[] = {0x8a, 0x1b, 0xd8, 0x24, 0x95, 0x1c, 0x04, 0x33, in test_decode_s16() local 24 assert_eq(hash[i], expected_hash[i]); in test_decode_s16() 35 uint8_t expected_hash[] = {0xeb, 0x9f, 0x31, 0xa7, 0xb9, 0xed, 0x02, 0x2d, in test_decode_s32() local 43 assert_eq(hash[i], expected_hash[i]); in test_decode_s32() 55 uint8_t expected_hash[] = {0x74, 0x7d, 0xbf, 0xcd, 0x75, 0xbe, 0xbc, 0x23, in test_decode_s32_mono() local 63 assert_eq(hash[i], expected_hash[i]); in test_decode_s32_mono()
|
/dports/www/py-django_compressor/django_compressor-2.4/compressor/tests/ |
H A D | test_offline.py | 90 expected_hash = '' variable in OfflineTestCaseMixin 195 hashes = self.expected_hash 243 expected_hash = '822ac7501287' variable in OfflineCompressBasicTestCase 345 expected_hash = '817b5defb197' variable in OfflineCompressBlockSuperTestCase 351 expected_hash = 'd3f749e83c81' variable in OfflineCompressBlockSuperMultipleTestCase 357 expected_hash = '055f88f4751f' variable in OfflineCompressBlockSuperMultipleCachedLoaderTestCase 385 expected_hash = 'a3275743dc69' variable in OfflineCompressConditionTestCase 395 expected_hash = '2bb88185b4f5' variable in OfflineCompressTemplateTagTestCase 400 expected_hash = 'be0b1eade28b' variable in OfflineCompressStaticTemplateTagTestCase 406 expected_hash = '822ac7501287' variable in OfflineCompressTemplateTagNamedTestCase [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/import_export/json/ |
H A D | legacy_writer_spec.rb | 18 expected_hash = { "key" => "value_1", "key_1" => "value_2" } 19 subject.write_attributes("project", expected_hash) 21 expect(subject_json).to eq(expected_hash) 45 expected_hash = { "key" => "value_1", "key_1" => "value_2" } 46 expected_hash.each do |key, value| 50 expect(subject_json).to eq(expected_hash)
|
H A D | ndjson_writer_spec.rb | 19 expected_hash = { "key" => "value_1", "key_1" => "value_2" } 20 subject.write_attributes(exportable_path, expected_hash) 22 expect(consume_attributes(path, exportable_path)).to eq(expected_hash)
|
/dports/net/kea/kea-2.0.1/src/lib/cryptolink/tests/ |
H A D | hash_unittests.cc | 61 const uint8_t* expected_hash, in doHashTestConv() argument 72 checkBuffer(hash_digest, expected_hash, hash_len); in doHashTestConv() 79 const uint8_t* expected_hash, in doHashTestDirect() argument 93 checkBuffer(result, expected_hash, hash_len); in doHashTestDirect() 100 const uint8_t* expected_hash, in doHashTestVector() argument 108 checkData(&result[0], expected_hash, hash_len); in doHashTestVector() 115 const uint8_t* expected_hash, in doHashTestArray() argument 128 checkData(result.get(), expected_hash, hash_len); in doHashTestArray() 138 const uint8_t* expected_hash, in doHashTest() argument 140 doHashTestConv(data, hash_algorithm, expected_hash, hash_len); in doHashTest() [all …]
|
/dports/audio/bliss/bliss-1.2.0-6-ga443635/bliss-rs/src/ |
H A D | decode.rs | 146 fn _test_decode_song(path: &str, expected_hash: &[u8]) { in _test_decode_song() 153 assert_eq!(expected_hash, hasher.finalize().as_slice()); in _test_decode_song() 169 let expected_hash = [ in resample_multi() localVariable 173 _test_decode_song(&path, &expected_hash); in resample_multi() 179 let expected_hash = [ in resample_stereo() localVariable 183 _test_decode_song(&path, &expected_hash); in resample_stereo() 192 let expected_hash = [ in decode_mono() localVariable 196 _test_decode_song(&path, &expected_hash); in decode_mono()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/ |
H A D | crx_file_info.cc | 25 expected_hash(other.expected_hash), in CRXFileInfo() 35 expected_hash == that.expected_hash && in operator ==()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/update_client/ |
H A D | crx_downloader.cc | 61 const std::string& expected_hash, in StartDownloadFromUrl() argument 65 StartDownload(urls, expected_hash, std::move(download_callback)); in StartDownloadFromUrl() 69 const std::string& expected_hash, in StartDownload() argument 76 } else if (expected_hash.empty()) { in StartDownload() 89 expected_hash_ = expected_hash; in StartDownload() 118 [](const base::FilePath& filepath, const std::string& expected_hash) { in OnDownloadComplete() argument 119 if (VerifyFileHash256(filepath, expected_hash)) in OnDownloadComplete()
|
/dports/sysutils/fwup/fwup-1.9.0/src/ |
H A D | fwup_verify.c | 67 …pected_hash(struct resource_list *item, const char *file_resource_name, const char **expected_hash) in get_expected_hash() argument 73 *expected_hash = hash; in get_expected_hash() 92 const char *expected_hash; in check_normal_resource() local 93 OK_OR_RETURN(get_expected_hash(item, file_resource_name, &expected_hash)); in check_normal_resource() 97 if (memcmp(hash_str, expected_hash, sizeof(hash_str)) != 0) in check_normal_resource() 130 const char *expected_hash; in check_xdelta3_resource() local 131 OK_OR_RETURN(get_expected_hash(item, file_resource_name, &expected_hash)); in check_xdelta3_resource()
|
/dports/security/py-securesystemslib/securesystemslib-124bb05d/securesystemslib/ |
H A D | exceptions.py | 69 def __init__(self, expected_hash, observed_hash): argument 70 self.expected_hash = expected_hash 75 ') != expected hash (' + repr(self.expected_hash)+')'
|
/dports/security/rhash/RHash-1.4.2/librhash/ |
H A D | test_hashes.c | 689 static void assert_hash(unsigned hash_id, const char* str, const char* expected_hash, unsigned flag… in assert_hash() argument 692 assert_hash_long_msg(hash_id, str, length, length, expected_hash, NULL, flags); in assert_hash() 769 const char* expected_hash; member 823 assert_rep_hash(tests[count].hash_id, 'a', 1000000, tests[count].expected_hash, flags); in test_long_strings() 895 char expected_hash[130]; in test_unaligned_messages_consistency() local 896 assert(rhash_get_digest_size(hash_id) < (int)sizeof(expected_hash)); in test_unaligned_messages_consistency() 911 strcpy(expected_hash, hash_message(hash_id, message + start, 0)); /* save hash value */ in test_unaligned_messages_consistency() 913 assert_hash(hash_id, message + start, expected_hash, 0); /* verify hash value */ in test_unaligned_messages_consistency() 932 char expected_hash[130]; in test_chunk_size_consistency() local 933 strcpy(expected_hash, hash_data(hash_id, buffer, sizeof(buffer), 0)); /* save hash value */ in test_chunk_size_consistency() [all …]
|
/dports/security/p5-Crypt-RHash/Crypt-RHash-1.00/librhash/ |
H A D | test_hashes.c | 689 static void assert_hash(unsigned hash_id, const char* str, const char* expected_hash, unsigned flag… in assert_hash() argument 692 assert_hash_long_msg(hash_id, str, length, length, expected_hash, NULL, flags); in assert_hash() 769 const char* expected_hash; member 823 assert_rep_hash(tests[count].hash_id, 'a', 1000000, tests[count].expected_hash, flags); in test_long_strings() 895 char expected_hash[130]; in test_unaligned_messages_consistency() local 896 assert(rhash_get_digest_size(hash_id) < (int)sizeof(expected_hash)); in test_unaligned_messages_consistency() 911 strcpy(expected_hash, hash_message(hash_id, message + start, 0)); /* save hash value */ in test_unaligned_messages_consistency() 913 assert_hash(hash_id, message + start, expected_hash, 0); /* verify hash value */ in test_unaligned_messages_consistency() 932 char expected_hash[130]; in test_chunk_size_consistency() local 933 strcpy(expected_hash, hash_data(hash_id, buffer, sizeof(buffer), 0)); /* save hash value */ in test_chunk_size_consistency() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/win_toolchain/ |
H A D | get_toolchain_if_necessary.py | 108 def CalculateHash(root, expected_hash): argument 115 if expected_hash: 116 full_root_path = os.path.join(root, expected_hash) 123 timestamps_file = MakeTimestampsFileName(root, expected_hash) 153 (len(missing_files), expected_hash)) 161 (len(extra_files), expected_hash)) 175 if expected_hash: 177 os.path.join(root, expected_hash).replace('/', '\\'), root) 188 if expected_hash and digest.hexdigest()[:len(expected_hash)] == expected_hash: 191 return expected_hash
|
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Component/Utility/ |
H A D | CryptTest.php | 25 * @param string $expected_hash 28 public function testHashBase64($data, $expected_hash) { argument 30 $this->assertEquals($expected_hash, $hash, 'The correct hash was not calculated.');
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/commoncrypto-sys-0.2.0/tests/ |
H A D | hash.rs | 21 $expected_hash: ident 32 assert_eq!(md.to_vec().to_hex(), $expected_hash); 42 $expected_hash: ident 53 assert_eq!(md.to_vec().to_hex(), $expected_hash);
|
/dports/lang/rust/rustc-1.58.1-src/vendor/commoncrypto-sys/tests/ |
H A D | hash.rs | 21 $expected_hash: ident 32 assert_eq!(md.to_vec().to_hex(), $expected_hash); 42 $expected_hash: ident 53 assert_eq!(md.to_vec().to_hex(), $expected_hash);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/ |
H A D | cipd | 144 local expected_hash=$(expected_sha256 "${PLATFORM}") 145 if [ -z "${expected_hash}" ] ; then 183 if [ "${actual_hash}" != "${expected_hash}" ]; then 186 >&2 echo " Expecting ${expected_hash}"
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/commoncrypto-sys-0.2.0/tests/ |
H A D | hash.rs | 21 $expected_hash: ident 32 assert_eq!(md.to_vec().to_hex(), $expected_hash); 42 $expected_hash: ident 53 assert_eq!(md.to_vec().to_hex(), $expected_hash);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/pynacl/ |
H A D | download_utils.py | 30 def __init__(self, download_url, expected_hash, actual_hash): argument 32 self.expected_hash = expected_hash 37 self.actual_hash, self.expected_hash, self.download_url) 251 raise HashError(actual_hash=tar_hash, expected_hash=hash_val,
|