Home
last modified time | relevance | path

Searched refs:hashes (Results 1 – 25 of 57) sorted by relevance

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCompactByteArray.java67 hashes = new int[INDEXCOUNT]; in CompactByteArray()
73 hashes[i] = 0; in CompactByteArray()
212 if (hashes[i] == hashes[j] && in compact()
224 hashes[j] = hashes[i]; in compact()
241 hashes = null; in compact()
268 hashes[i] = (hashes[i] + (value<<1)) | 1; in touchBlock()
276 return hashes[i] != 0; in blockTouched()
315 if (hashes != null) other.hashes = hashes.clone(); in clone()
373 hashes = new int[INDEXCOUNT]; in expand()
397 private int[] hashes; field in CompactByteArray
DCompactCharArray.java68 hashes = new int[INDEXCOUNT]; in CompactCharArray()
74 hashes[i] = 0; in CompactCharArray()
215 if (hashes[i] == hashes[j] && in compact()
252 hashes = null; in compact()
292 hashes[i] = (hashes[i] + (value<<1)) | 1; in touchBlock()
300 return hashes[i] != 0; in blockTouched()
339 if (hashes != null) other.hashes = hashes.clone(); in clone()
398 hashes = new int[INDEXCOUNT]; in expand()
424 private int[] hashes; field in CompactCharArray
/external/jemalloc/test/unit/
Dhash.c67 VARIABLE_ARRAY(uint8_t, hashes, hashbytes * 256); in hash_variant_verify()
73 memset(hashes, 0, sizeof(hashes)); in hash_variant_verify()
86 memcpy(&hashes[i*hashbytes], &out, hashbytes); in hash_variant_verify()
91 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify()
96 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify()
105 uint32_t out = hash_x86_32(hashes, hashbytes*256, 0); in hash_variant_verify()
110 hash_x86_128(hashes, hashbytes*256, 0, out); in hash_variant_verify()
115 hash_x64_128(hashes, hashbytes*256, 0, out); in hash_variant_verify()
/external/vboot_reference/tests/
Dvb21_host_fw_preamble_tests.c34 struct vb2_signature *hashes[3]; in preamble_tests() local
66 TEST_SUCC(vb2_sign_data(hashes + 0, test_data1, sizeof(test_data1), in preamble_tests()
69 TEST_SUCC(vb2_sign_data(hashes + 1, test_data2, sizeof(test_data2), in preamble_tests()
72 TEST_SUCC(vb2_sign_data(hashes + 2, test_data3, sizeof(test_data3), in preamble_tests()
78 (const struct vb2_signature **)hashes, in preamble_tests()
92 TEST_EQ(0, memcmp((uint8_t *)fp + hash_next, hashes[i], in preamble_tests()
93 hashes[i]->c.total_size), " hash[i]"); in preamble_tests()
94 hash_next += hashes[i]->c.total_size; in preamble_tests()
102 (const struct vb2_signature **)hashes, in preamble_tests()
Dvb21_common_tests.c382 struct vb2_signature *hashes[3]; in test_verify_fw_preamble() local
406 TEST_SUCC(vb2_sign_data(hashes + 0, test_data, sizeof(test_data), in test_verify_fw_preamble()
409 TEST_SUCC(vb2_sign_data(hashes + 1, test_data2, sizeof(test_data2), in test_verify_fw_preamble()
412 TEST_SUCC(vb2_sign_data(hashes + 2, test_data3, sizeof(test_data3), in test_verify_fw_preamble()
418 (const struct vb2_signature **)hashes, in test_verify_fw_preamble()
/external/boringssl/src/crypto/x509/
Dby_dir.c82 STACK_OF(BY_DIR_HASH) *hashes;
187 if (ent->hashes) in by_dir_entry_free()
188 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free()
248 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp); in add_cert_dir()
250 if (!ent->dir || !ent->hashes) in add_cert_dir()
343 if (type == X509_LU_CRL && ent->hashes) in get_cert_by_subject()
347 if (sk_BY_DIR_HASH_find(ent->hashes, &idx, &htmp)) in get_cert_by_subject()
349 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject()
446 if (sk_BY_DIR_HASH_find(ent->hashes, &idx, &htmp)) in get_cert_by_subject()
447 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedData.java67 private Map hashes; field in CMSSignedData
100 Map hashes, in CMSSignedData() argument
104 this(hashes, CMSUtils.readContentInfo(sigBlock)); in CMSSignedData()
167 Map hashes, in CMSSignedData() argument
171 this.hashes = hashes; in CMSSignedData()
241 if (hashes == null) in getSignerInfos()
247 Object obj = hashes.keySet().iterator().next(); in getSignerInfos()
248 …h = (obj instanceof String) ? (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm().getId())… in getSignerInfos()
/external/jemalloc/src/
Dckh.c73 size_t hashes[2], bucket, cell; in ckh_isearch() local
77 ckh->hash(key, hashes); in ckh_isearch()
80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
86 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
129 size_t hashes[2], bucket, tbucket; in ckh_evict_reloc_insert() local
158 ckh->hash(key, hashes); in ckh_evict_reloc_insert()
159 tbucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_evict_reloc_insert()
161 tbucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) in ckh_evict_reloc_insert()
196 size_t hashes[2], bucket; in ckh_try_insert() local
200 ckh->hash(key, hashes); in ckh_try_insert()
[all …]
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c96 int max_digits, used, hashes, spaces; in progress_bar() local
104 hashes = (current * (columns - used)) / max; in progress_bar()
105 spaces = columns - used - hashes; in progress_bar()
127 while (hashes --) in progress_bar()
/external/fio/lib/
Dbloom.c38 struct bloom_hash hashes[] = { variable
98 hash[i] = hashes[i].fn(data, nwords, hashes[i].seed); in __bloom_check()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_cache.c40 struct cso_hash *hashes[CSO_CACHE_MAX]; member
86 hash = sc->hashes[type]; in _cso_hash_for_type()
255 sc->hashes[i] = cso_hash_create(); in cso_cache_create()
295 cso_hash_delete(sc->hashes[i]); in cso_cache_delete()
307 sanitize_hash(sc, sc->hashes[i], i, sc->max_size); in cso_set_maximum_cache_size()
/external/e2fsprogs/e2fsck/
Drehash.c77 ext2_dirhash_t *hashes; member
233 new_mem = realloc(outdir->hashes, in alloc_size_dir()
237 outdir->hashes = new_mem; in alloc_size_dir()
240 outdir->hashes = malloc(blocks * sizeof(ext2_dirhash_t)); in alloc_size_dir()
250 free(outdir->hashes); in free_out_dir()
426 outdir->hashes[0] = 0; in copy_dir_entries()
459 outdir->hashes[outdir->num-1] = ent->hash | 1; in copy_dir_entries()
461 outdir->hashes[outdir->num-1] = ent->hash; in copy_dir_entries()
577 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()
597 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()
[all …]
/external/valgrind/VEX/useful/
Dsmchash.c266 UInt* hashes = malloc( nHashes * sizeof(UInt) ); in try_onebit_changes() local
271 assert(hashes); in try_onebit_changes()
285 hashes[hashIx++] = hRunning; in try_onebit_changes()
310 free(hashes); in try_onebit_changes()
/external/jemalloc/include/jemalloc/internal/
Dhash.h327 uint64_t hashes[2]; in hash()
328 hash_x86_128(key, len, seed, hashes); in hash()
329 r_hash[0] = (size_t)hashes[0]; in hash()
330 r_hash[1] = (size_t)hashes[1]; in hash()
/external/llvm/test/DebugInfo/
Daccel-table-hash-collisions.ll8 ; There are 12 names here that are hashed to only 6 hashes (each pair of lines
9 ; hashes to the same value, see the CHECK lines below).
24 ; Check that we have the right amount of hashes.
/external/srtp/crypto/
DMakefile.in73 hashes = hash/null_auth.o hash/sha1.o \
87 cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(xfm)
DMakefile73 hashes = hash/null_auth.o hash/sha1.o \ macro
87 cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(xfm)
/external/skia/tools/skpdiff/
Dskpdiff_server.py308 for image_name, hashes in expected_diff.iteritems():
311 hashes['old'], hashes['new'],
/external/srtp/
DMakefile79 hashes = crypto/hash/null_auth.o crypto/hash/sha1.o \ macro
96 cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(replay)
DMakefile.in81 hashes = crypto/hash/null_auth.o crypto/hash/sha1.o \
98 cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(replay)
/external/llvm/test/tools/llvm-profdata/
Dhash-mismatch.proftext1 # If we see the same function name, but with different hashes, make
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java62 byte[] hashes = new byte[hashBytes * 256]; in verifyHashFunction()
69 System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length); in verifyHashFunction()
73 byte[] result = hashFunction.hash(hashes, 0); in verifyHashFunction()
/external/v8/
DDEPS61 # Pull clang-format binaries using checked-in hashes.
/external/cmockery/cmockery_0_1_2/
Dconfigure.ac3 ## Also, look at comments with "## double hashes" to see if any are worth
/external/skia/dm/
DDM.cpp153 SkTArray<SkString> hashes; in gather_uninteresting_hashes() local
154 SkStrSplit((const char*)data->data(), "\n", &hashes); in gather_uninteresting_hashes()
155 for (const SkString& hash : hashes) { in gather_uninteresting_hashes()

123