Home
last modified time | relevance | path

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

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dobj-globalhash.test1 RUN: yaml2obj %p/Inputs/obj-hashes-1.yaml > %T/obj-hashes-1.obj
2 RUN: yaml2obj %p/Inputs/obj-hashes-2.yaml > %T/obj-hashes-2.obj
3 RUN: echo obj-hashes-1 > %T/hashes-combined.out
4 RUN: llvm-pdbutil dump -type-extras %T/obj-hashes-1.obj >> %T/hashes-combined.out
5 RUN: echo obj-hashes-2 >> %T/hashes-combined.out
6 RUN: llvm-pdbutil dump -type-extras %T/obj-hashes-2.obj >> %T/hashes-combined.out
7 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-ONE %s
8 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-TWO %s
9 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-THREE %s
10 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-FOUR %s
[all …]
/external/python/rsa/
DPipfile.lock20 "hashes": [
30 "hashes": [
37 "hashes": [
45 "hashes": [
52 "hashes": [
59 "hashes": [
66 "hashes": [
73 "hashes": [
81 "hashes": [
118 "hashes": [
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCompactByteArray.java71 hashes = new int[INDEXCOUNT]; in CompactByteArray()
77 hashes[i] = 0; in CompactByteArray()
216 if (hashes[i] == hashes[j] && in compact()
228 hashes[j] = hashes[i]; in compact()
245 hashes = null; in compact()
272 hashes[i] = (hashes[i] + (value<<1)) | 1; in touchBlock()
280 return hashes[i] != 0; in blockTouched()
320 if (hashes != null) other.hashes = hashes.clone(); in clone()
380 hashes = new int[INDEXCOUNT]; in expand()
404 private int[] hashes; field in CompactByteArray
DCompactCharArray.java72 hashes = new int[INDEXCOUNT]; in CompactCharArray()
78 hashes[i] = 0; in CompactCharArray()
219 if (hashes[i] == hashes[j] && in compact()
256 hashes = null; in compact()
296 hashes[i] = (hashes[i] + (value<<1)) | 1; in touchBlock()
304 return hashes[i] != 0; in blockTouched()
344 if (hashes != null) other.hashes = hashes.clone(); in clone()
405 hashes = new int[INDEXCOUNT]; in expand()
431 private int[] hashes; field in CompactCharArray
/external/icu/icu4j/main/classes/core/src/com/ibm/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()
318 if (hashes != null) other.hashes = hashes.clone(); in clone()
378 hashes = new int[INDEXCOUNT]; in expand()
402 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()
342 if (hashes != null) other.hashes = hashes.clone(); in clone()
403 hashes = new int[INDEXCOUNT]; in expand()
429 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()
/external/grpc-grpc/test/core/gpr/
Dmurmur_hash_test.cc34 uint32_t hashes[256]; in verification_test() local
39 memset(hashes, 0, sizeof(hashes)); in verification_test()
46 hashes[i] = hash(key, i, static_cast<uint32_t>(256u - i)); in verification_test()
51 final = hash(hashes, sizeof(hashes), 0); in verification_test()
/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/jemalloc_new/test/unit/
Dhash.c64 VARIABLE_ARRAY(uint8_t, hashes, hashes_size); in hash_variant_verify_key()
70 memset(hashes, 0, hashes_size); in hash_variant_verify_key()
83 memcpy(&hashes[i*hashbytes], &out, hashbytes); in hash_variant_verify_key()
88 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify_key()
93 memcpy(&hashes[i*hashbytes], out, hashbytes); in hash_variant_verify_key()
102 uint32_t out = hash_x86_32(hashes, hashes_size, 0); in hash_variant_verify_key()
107 hash_x86_128(hashes, hashes_size, 0, out); in hash_variant_verify_key()
112 hash_x64_128(hashes, hashes_size, 0, out); in hash_variant_verify_key()
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py22 from cryptography.hazmat.primitives import hashes
24 from cryptography.hazmat.primitives.hashes import HashAlgorithm
75 md5_hash = hashes.Hash(_get_hash("md5"), backend=default_backend())
77 sha1_hash = hashes.Hash(_get_hash("sha1"), backend=default_backend())
103 "md5" : hashes.MD5,
104 "sha1" : hashes.SHA1,
105 "sha224" : hashes.SHA224,
106 "sha256" : hashes.SHA256,
107 "sha384" : hashes.SHA384,
108 "sha512" : hashes.SHA512,
[all …]
/external/boringssl/src/crypto/x509/
Dby_dir.c80 STACK_OF(BY_DIR_HASH) *hashes;
177 if (ent->hashes) in by_dir_entry_free()
178 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free()
233 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp); in add_cert_dir()
235 if (!ent->dir || !ent->hashes) { in add_cert_dir()
320 if (type == X509_LU_CRL && ent->hashes) { in get_cert_by_subject()
323 if (sk_BY_DIR_HASH_find(ent->hashes, &idx, &htmp)) { in get_cert_by_subject()
324 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject()
410 sk_BY_DIR_HASH_sort(ent->hashes); in get_cert_by_subject()
411 if (sk_BY_DIR_HASH_find(ent->hashes, &idx, &htmp)) in get_cert_by_subject()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedData.java74 private Map hashes; field in CMSSignedData
107 Map hashes, in CMSSignedData() argument
111 this(hashes, CMSUtils.readContentInfo(sigBlock)); in CMSSignedData()
174 Map hashes, in CMSSignedData() argument
178 this.hashes = hashes; in CMSSignedData()
254 if (hashes == null) in getSignerInfos()
260 Object obj = hashes.keySet().iterator().next(); in getSignerInfos()
261 …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()
130 size_t hashes[2], bucket, tbucket; in ckh_evict_reloc_insert() local
160 ckh->hash(key, hashes); in ckh_evict_reloc_insert()
161 tbucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_evict_reloc_insert()
163 tbucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) in ckh_evict_reloc_insert()
198 size_t hashes[2], bucket; in ckh_try_insert() local
202 ckh->hash(key, hashes); in ckh_try_insert()
[all …]
/external/jemalloc_new/src/
Dckh.c82 size_t hashes[2], bucket, cell; in ckh_isearch() local
86 ckh->hash(key, hashes); in ckh_isearch()
89 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
96 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
138 size_t hashes[2], bucket, tbucket; in ckh_evict_reloc_insert() local
168 ckh->hash(key, hashes); in ckh_evict_reloc_insert()
169 tbucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_evict_reloc_insert()
171 tbucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) in ckh_evict_reloc_insert()
206 size_t hashes[2], bucket; in ckh_try_insert() local
210 ckh->hash(key, hashes); in ckh_try_insert()
[all …]
/external/perfetto/src/base/
Dstring_view_unittest.cc135 std::unordered_map<uint64_t, StringView> hashes; in TEST() local
137 auto insert_sv = [&hashes, &sv_set](StringView sv) { in TEST()
138 hashes.emplace(sv.Hash(), sv); in TEST()
145 EXPECT_EQ(hashes.size(), 1u); in TEST()
154 auto other = hashes.find(sv.Hash()); in TEST()
155 if (other == hashes.end()) { in TEST()
158 ASSERT_EQ(hashes.size(), last_size); in TEST()
/external/python/cpython3/Tools/msi/
Dgenerate_md5.py6 filenames, hashes, sizes = [], [], []
17 hashes.append(md5.hexdigest())
21 for f, h, s in zip(filenames, hashes, sizes):
/external/catch2/scripts/
DreleaseNotes.py19 hashes = runAndCapture( ['git', 'log', '-2', '--format="%H"', versionPath] ) variable
20 lines = runAndCapture( ['git', 'log', hashes[1] + ".." + hashes[0], catchPath] )
/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/python/cpython2/Lib/test/
Dtest_cmd_line.py96 hashes = []
100 hashes.append(data)
101 self.assertNotEqual(hashes[0], hashes[1])
/external/curl/docs/cmdline-opts/
Dproxy-pinnedpubkey.d2 Arg: <hashes>
6 Tells curl to use the specified public key file (or hashes) to verify the
8 or DER format, or any number of base64 encoded sha256 hashes preceded by
Dpinnedpubkey.d2 Arg: <hashes>
6 Tells curl to use the specified public key file (or hashes) to verify the
8 or DER format, or any number of base64 encoded sha256 hashes preceded by
/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/virglrenderer/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/v8/src/inspector/
Dv8-debugger-script.cc31 uint64_t hashes[] = {0, 0, 0, 0, 0}; in calculateHash() local
34 const size_t hashesSize = arraysize(hashes); in calculateHash()
49 hashes[current] = (hashes[current] + zi[current] * xi) % prime[current]; in calculateHash()
69 hashes[current] = (hashes[current] + zi[current] * xi) % prime[current]; in calculateHash()
75 hashes[i] = (hashes[i] + zi[i] * (prime[i] - 1)) % prime[i]; in calculateHash()
79 hash.appendUnsignedAsHex((uint32_t)hashes[i]); in calculateHash()

12345678