Home
last modified time | relevance | path

Searched refs:hash (Results 576 - 600 of 2025) sorted by relevance

1...<<21222324252627282930>>...81

/third_party/elfutils/lib/
H A Ddynamicsizehash.c35 NAME name of the hash table structure.
36 TYPE data type of the hash table entries
49 /* First hash function: simply take the modul but prevent zero. Small values in lookup()
55 HASHTYPE hash; in lookup() local
61 /* Second hash function as suggested in [Knuth]. */ in lookup()
62 hash = 1 + hval % (htab->size - 2); in lookup()
66 if (idx <= hash) in lookup()
67 idx = htab->size + idx - hash; in lookup()
69 idx -= hash; in lookup()
214 /* Make the hash valu in NAME()
[all...]
/third_party/curl/scripts/
H A Dmk-ca-bundle.pl265 my $hash = "";
270 $hash = $1;
275 return $hash;
385 # get the hash from the download file
666 foreach my $hash (@included_signature_algorithms) {
667 $pipe = "|$openssl x509 -" . $hash . " -fingerprint -noout -inform PEM";
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_valuefactory.h127 uint64_t hash;
153 return lhs.hash == rhs.hash;
163 return key.hash;
275 using unordered_map_alloc = std::unordered_map<Key, T, std::hash<Key>, std::equal_to<Key>,
/third_party/node/test/pummel/
H A Dtest-policy-integrity-worker-commonjs.js27 function hash(algo, body) { function
286 integrities: hash('sha256', ''),
304 integrities: hash('sha256', parentBody[parentFormat]),
318 integrities: hash('sha256', workerSpawningBody),
323 let packageIntegrities = hash('sha256', packageBody);
H A Dtest-policy-integrity-worker-module.js27 function hash(algo, body) { function
286 integrities: hash('sha256', ''),
304 integrities: hash('sha256', parentBody[parentFormat]),
318 integrities: hash('sha256', workerSpawningBody),
322 let packageIntegrities = hash('sha256', packageBody);
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/
H A Dhosts.js59 committish = url.hash.slice(1)
98 return { user, project, committish: url.hash.slice(1) }
129 return { user, project, committish: url.hash.slice(1) }
184 return { user, project, committish: url.hash.slice(1) }
219 return { user, project, committish: url.hash.slice(1) }
/third_party/node/deps/npm/node_modules/cacache/lib/
H A Dentry-index.js18 const hashToSegments = require('./util/hash-to-segments')
65 const hash = hashEntry(stringified)
66 return `${hash}\t${stringified}`
290 return hash(key, 'sha256')
296 return hash(str, 'sha1')
299 function hash (str, digest) {
/third_party/python/Lib/test/test_importlib/
H A Dtest_metadata_api.py201 assert not file.hash or file.hash.value
202 assert not file.hash or file.hash.mode == 'sha256'
211 self.assertRegex(repr(util.hash), '<FileHash mode: sha256 value: .*>')
/third_party/skia/include/private/
H A DGrResourceKey.h28 uint32_t hash() const { in hash() function in GrResourceKey
48 uint32_t* hash = &fKey->fKey[kHash_MetaDataIdx]; in finish() local
49 *hash = GrResourceKeyHash(hash + 1, fKey->internalSize() - sizeof(uint32_t)); in finish()
114 /** size of the key data, excluding meta-data (hash, domain, etc). */
117 /** ptr to the key data, excluding meta-data (hash, domain, etc). */
128 SkDebugf("hash: %d ", this->hash()); in dump()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_cs.c228 unsigned hash = bo->hash & (ARRAY_SIZE(csc->reloc_indices_hashlist)-1); in radeon_lookup_buffer() local
231 int i = csc->reloc_indices_hashlist[hash]; in radeon_lookup_buffer()
248 /* Put this reloc in the hash list. in radeon_lookup_buffer()
249 * This will prevent additional hash collisions if there are in radeon_lookup_buffer()
252 * Example: Assuming buffers A,B,C collide in the hash list, in radeon_lookup_buffer()
257 csc->reloc_indices_hashlist[hash] = i; in radeon_lookup_buffer()
269 unsigned hash = bo->hash & (ARRAY_SIZE(csc->reloc_indices_hashlist)-1); in radeon_lookup_or_add_real_buffer() local
315 csc->reloc_indices_hashlist[hash] in radeon_lookup_or_add_real_buffer()
326 unsigned hash; radeon_lookup_or_add_slab_buffer() local
[all...]
/third_party/node/lib/
H A Durl.js77 this.hash = null;
450 this.hash = rest.slice(i);
632 let hash = this.hash || '';
701 if (hash && hash.charCodeAt(0) !== CHAR_HASH)
702 hash = '#' + hash;
706 return protocol + host + pathname + search + hash;
738 result.hash
[all...]
/third_party/node/deps/v8/src/objects/
H A Dfixed-array-inl.h261 uint32_t hash = name.hash(); in BinarySearch() local
269 uint32_t mid_hash = mid_name.hash(); in BinarySearch()
271 if (mid_hash >= hash) { in BinarySearch()
281 uint32_t current_hash = entry.hash(); in BinarySearch()
282 if (current_hash != hash) { in BinarySearch()
289 *out_insertion_index = sort_index + (current_hash > hash ? 0 : 1); in BinarySearch()
313 uint32_t hash = name.hash(); in LinearSearch() local
318 uint32_t current_hash = entry.hash(); in LinearSearch()
[all...]
H A Dordered-hash-table.h28 // equality operator and Object::GetHash() for the hash function.
39 // [kPrefixSize + 3..(kPrefixSize + 3 + NumberOfBuckets() - 1)]: "hash table",
49 // entry in this hash bucket.
219 int HashToEntryRaw(int hash) { in HashToEntryRaw() argument
220 int bucket = HashToBucket(hash); in HashToEntryRaw()
244 int HashToBucket(int hash) { return hash & (NumberOfBuckets() - 1); } in HashToBucket() argument
560 int HashToBucket(int hash) const { return hash & (NumberOfBuckets() - 1); }
562 int HashToFirstEntry(int hash) cons
[all...]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_context.c99 struct hash_table *hash; member
264 _mesa_hash_table_clear(vswc->hash, NULL); in vmw_swc_flush()
380 vswc->hash, &already_present); in vmw_swc_add_validate_buffer()
484 util_hash_table_get(vswc->hash, vsurf); in vmw_swc_surface_clear_reference()
502 isrf = util_hash_table_get(vswc->hash, vsurf); in vmw_swc_surface_only_relocation()
509 _mesa_hash_table_insert(vswc->hash, vsurf, isrf); in vmw_swc_surface_only_relocation()
594 ishader = util_hash_table_get(vswc->hash, vshader); in vmw_swc_shader_relocation()
601 _mesa_hash_table_insert(vswc->hash, vshader, ishader); in vmw_swc_shader_relocation()
678 _mesa_hash_table_destroy(vswc->hash, NULL); in vmw_swc_destroy()
828 vswc->hash in vmw_svga_winsys_context_create()
[all...]
/third_party/toybox/kconfig/
H A Dsymbol.c654 int hash = 0; in sym_lookup() local
665 hash += *ptr; in sym_lookup()
666 hash &= 0xff; in sym_lookup()
668 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { in sym_lookup()
678 hash = 256; in sym_lookup()
688 symbol->next = symbol_hash[hash]; in sym_lookup()
689 symbol_hash[hash] = symbol; in sym_lookup()
698 int hash = 0; in sym_find() local
711 hash += *ptr; in sym_find()
712 hash in sym_find()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_module_tests.c752 char *hash; in test_md5() member
793 u8 hash[16]; in test_md5() local
803 if (md5_vector(1, addr, len, hash) < 0 || in test_md5()
804 os_memcmp(hash, tests[i].hash, 16) != 0) { in test_md5()
815 if (md5_vector(1, addr, len, hash) < 0 || in test_md5()
816 os_memcmp(hash, tests[i].hash, 16) != 0) { in test_md5()
948 "PAC to master secret label hash", in test_eap_fast()
1276 u8 hash[3 member
1303 u8 hash[32]; /* HMAC-SHA-256 */ global() member
1690 u8 hash[32]; test_sha256() local
1800 u8 hash[48]; test_sha384() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_module_tests.c901 char *hash; in test_md5() member
942 u8 hash[16]; in test_md5() local
952 if (md5_vector(1, addr, len, hash) < 0 || in test_md5()
953 os_memcmp(hash, tests[i].hash, 16) != 0) { in test_md5()
964 if (md5_vector(1, addr, len, hash) < 0 || in test_md5()
965 os_memcmp(hash, tests[i].hash, 16) != 0) { in test_md5()
1097 "PAC to master secret label hash", in test_eap_fast()
1425 u8 hash[3 member
1452 u8 hash[32]; /* HMAC-SHA-256 */ global() member
1839 u8 hash[32]; test_sha256() local
1949 u8 hash[48]; test_sha384() local
[all...]
/third_party/skia/src/pdf/
H A DSkPDFGradientShader.cpp19 static uint32_t hash(const SkShader::GradientInfo& v) { in hash() function
22 SkOpts::hash(v.fColors, v.fColorCount * sizeof(SkColor)), in hash()
23 SkOpts::hash(v.fColorOffsets, v.fColorCount * sizeof(SkScalar)), in hash()
24 SkOpts::hash(v.fPoint, 2 * sizeof(SkPoint)), in hash()
25 SkOpts::hash(v.fRadius, 2 * sizeof(SkScalar)), in hash()
29 return SkOpts::hash(buffer, sizeof(buffer)); in hash()
32 static uint32_t hash(const SkPDFGradientShader::Key& k) { in hash() function
35 hash(k.fInfo), in hash()
36 SkOpts::hash(&k.fCanvasTransform, sizeof(SkMatrix)), in hash()
37 SkOpts::hash( in hash()
[all...]
/third_party/toybox/toys/pending/
H A Ddiff.c58 unsigned hash; member
96 int i = ((struct v_vector *)a)->hash - in comp()
97 ((struct v_vector *)b)->hash; in comp()
241 int ret = l->hash - r->hash; in bcomp()
251 * 2. sort file[1] with hash as primary and serial as sec. key
266 long hash; in create_j_vector() local
273 hash = 5831; in create_j_vector()
282 hash = ((hash << in create_j_vector()
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiaware/source/
H A Dhal_wifiaware.c29 unsigned int HalCipherHashSha256(const char* input, unsigned int inputLen, unsigned char* hash, unsigned hashLen) in HalCipherHashSha256() argument
31 if (hi_cipher_hash_sha256((uintptr_t)input, inputLen, hash, hashLen) != HISI_OK) { in HalCipherHashSha256()
/third_party/gn/src/gn/
H A Dlib_file.h45 struct hash<LibFile> { struct
47 hash<std::string> h; in operator ()()
/third_party/mbedtls/tests/include/test/drivers/
H A Dhash.h2 * Test driver for hash driver entry points.
32 /* Count the amount of times hash driver entry points are called. */
34 /* Status returned by the last hash driver entry point call. */
51 uint8_t *hash, size_t hash_size, size_t *hash_length);
68 uint8_t *hash,
/third_party/rust/crates/syn/codegen/src/
H A Dmain.rs29 mod hash; modules
46 hash::generate(&defs)?; in main()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
H A Dkapi_hash.c53 /* hash mutex */
60 hi_log_error("error, hash lock failed\n"); \
91 /* API Code for kapi hash. */
152 /* allocate a hash channel */ in kapi_hash_create()
184 /* transform hash mode */ in kpai_hash_mode_transform()
225 hi_log_error("error, invalid hash type %d\n", type); in kpai_hash_mode_transform()
263 * If the length of K > B: hash K to obtain an L byte string, in kapi_hmac_start()
272 /* If the length of K > B: hash K to obtain an L byte string, in kapi_hmac_start()
320 static hi_s32 kapi_hmac_finish(kapi_hash_ctx *ctx, hi_u8 *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) in kapi_hmac_finish() argument
354 ret = ctx->func->finish(ctx->cryp_ctx, hash, hash_buf_le in kapi_hmac_finish()
364 kapi_hash_finsh_calc(kapi_hash_ctx *ctx, hi_u8 *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) kapi_hash_finsh_calc() argument
586 kapi_hash_finish(hi_u32 id, hi_u8 *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) kapi_hash_finish() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
H A Dboot_upg_check_secure.c158 hi_u8 hash[SHA_256_LEN] = { 0 }; in boot_upg_secure_verify() local
160 hi_u32 ret = boot_upg_hash_more_content(param, hash, sizeof(hash)); in boot_upg_secure_verify()
163 boot_msg1("hash more content, ret:", ret); in boot_upg_secure_verify()
168 if (memcmp(param->sign, hash, SHA_256_LEN) != EOK) { in boot_upg_secure_verify()
182 .hash = hash, in boot_upg_secure_verify()
197 .hash = hash, in boot_upg_secure_verify()

Completed in 21 milliseconds

1...<<21222324252627282930>>...81