Home
last modified time | relevance | path

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

1234

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dutils.py76 hashes = []
80 hashes.append(hashlib.sha256(bytestring[start:end]).digest())
81 if not hashes:
83 return hashes
92 hashes = []
93 hashes.extend(fo)
94 while len(hashes) > 1:
97 if len(hashes) > 1:
98 first = hashes.pop(0)
99 second = hashes.pop(0)
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCompactByteArray.java69 hashes = new int[INDEXCOUNT]; in CompactByteArray()
75 hashes[i] = 0; in CompactByteArray()
214 if (hashes[i] == hashes[j] && in compact()
226 hashes[j] = hashes[i]; in compact()
243 hashes = null; in compact()
270 hashes[i] = (hashes[i] + (value<<1)) | 1; in touchBlock()
278 return hashes[i] != 0; in blockTouched()
317 if (hashes != null) other.hashes = hashes.clone(); in clone()
375 hashes = new int[INDEXCOUNT]; in expand()
399 private int[] hashes; field in CompactByteArray
DCompactCharArray.java70 hashes = new int[INDEXCOUNT]; in CompactCharArray()
76 hashes[i] = 0; in CompactCharArray()
217 if (hashes[i] == hashes[j] && in compact()
254 hashes = null; in compact()
294 hashes[i] = (hashes[i] + (value<<1)) | 1; in touchBlock()
302 return hashes[i] != 0; in blockTouched()
341 if (hashes != null) other.hashes = hashes.clone(); in clone()
400 hashes = new int[INDEXCOUNT]; in expand()
426 private int[] hashes; field in CompactCharArray
/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/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/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Dtsig.py178 hashes = {}
181 hashes[dns.name.from_text('hmac-sha224')] = hashlib.sha224
182 hashes[dns.name.from_text('hmac-sha256')] = hashlib.sha256
183 hashes[dns.name.from_text('hmac-sha384')] = hashlib.sha384
184 hashes[dns.name.from_text('hmac-sha512')] = hashlib.sha512
185 hashes[dns.name.from_text('hmac-sha1')] = hashlib.sha1
186 hashes[dns.name.from_text('HMAC-MD5.SIG-ALG.REG.INT')] = hashlib.md5
201 for name in hashes:
202 hashes[name] = HashlibWrapper(hashes[name])
206 hashes[dns.name.from_text('HMAC-MD5.SIG-ALG.REG.INT')] = md5.md5
[all …]
/external/jemalloc/test/unit/
Dhash.c68 VARIABLE_ARRAY(uint8_t, hashes, hashes_size); in hash_variant_verify_key()
74 memset(hashes, 0, hashes_size); in hash_variant_verify_key()
87 memcpy(&hashes[i*hashbytes], &out, hashbytes); in hash_variant_verify_key()
92 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify_key()
97 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify_key()
106 uint32_t out = hash_x86_32(hashes, hashes_size, 0); in hash_variant_verify_key()
111 hash_x86_128(hashes, hashes_size, 0, out); in hash_variant_verify_key()
116 hash_x64_128(hashes, hashes_size, 0, out); in hash_variant_verify_key()
/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.java71 private Map hashes; field in CMSSignedData
104 Map hashes, in CMSSignedData() argument
108 this(hashes, CMSUtils.readContentInfo(sigBlock)); in CMSSignedData()
171 Map hashes, in CMSSignedData() argument
175 this.hashes = hashes; in CMSSignedData()
251 if (hashes == null) in getSignerInfos()
257 Object obj = hashes.keySet().iterator().next(); in getSignerInfos()
258 …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
159 ckh->hash(key, hashes); in ckh_evict_reloc_insert()
160 tbucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_evict_reloc_insert()
162 tbucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) in ckh_evict_reloc_insert()
197 size_t hashes[2], bucket; in ckh_try_insert() local
201 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/libchrome/sandbox/linux/bpf_dsl/
Dcodegen_unittest.cc78 std::vector<Hash> hashes; in TEST() local
81 hashes.push_back(Hash::kZero); in TEST()
83 hashes.push_back(Hash(i & 1, i & 2)); in TEST()
86 hashes.push_back(Hash(i & 1, i & 2, Hash(i & 4, i & 8))); in TEST()
89 hashes.push_back( in TEST()
93 for (const Hash& a : hashes) { in TEST()
94 for (const Hash& b : hashes) { in TEST()
/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/autotest/tko/parsers/
Dversion_0.py148 hashes = []
150 base, patches, hashes = attributes
158 kernel_hash = kernel.compute_hash(base, hashes)
181 base, patches, hashes = "UNKNOWN", [], []
189 hashes.append(rest[2])
190 return base, patches, hashes
/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/v8/tools/
Dfind-commit-for-patch.py42 hashes = line.split()[1]
43 old_hash = hashes.split("..")[0]
/external/jemalloc/include/jemalloc/internal/
Dhash.h351 uint64_t hashes[2]; in hash() local
352 hash_x86_128(key, (int)len, seed, hashes); in hash()
353 r_hash[0] = (size_t)hashes[0]; in hash()
354 r_hash[1] = (size_t)hashes[1]; in hash()
/external/llvm/test/DebugInfo/Generic/
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/
DMakefile73 hashes = hash/null_auth.o hash/sha1.o \ macro
87 cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(xfm)
DMakefile.in73 hashes = hash/null_auth.o hash/sha1.o \
87 cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(xfm)
/external/autotest/site_utils/
Ddeploy_production_local.py310 hashes = '%s..%s' % (before_hash, after_hash)
311 cmd = ['git', 'log', hashes, '--oneline']

1234