/art/test/920-objects/src/art/ |
Test920.java | 59 int hashes[] = new int[objects.length]; local 62 hashes[i] = getObjectHashCode(objects[i]); 68 if (hashes[i] != ihash) { 69 throw new RuntimeException(objects[i] + ": " + hashes[i] + " vs " + ihash); 78 if (hashes[i] != newhash) { 79 throw new RuntimeException(objects[i] + ": " + hashes[i] + " vs " + newhash);
|
/external/vboot_reference/tests/ |
vb21_host_fw_preamble_tests.c | 34 struct vb2_signature *hashes[3]; local 66 TEST_SUCC(vb2_sign_data(hashes + 0, test_data1, sizeof(test_data1), 69 TEST_SUCC(vb2_sign_data(hashes + 1, test_data2, sizeof(test_data2), 72 TEST_SUCC(vb2_sign_data(hashes + 2, test_data3, sizeof(test_data3), 78 (const struct vb2_signature **)hashes, 92 TEST_EQ(0, memcmp((uint8_t *)fp + hash_next, hashes[i], 93 hashes[i]->c.total_size), " hash[i]"); 94 hash_next += hashes[i]->c.total_size; 102 (const struct vb2_signature **)hashes,
|
/external/python/cpython3/Tools/msi/ |
generate_md5.py | 6 filenames, hashes, sizes = [], [], [] 17 hashes.append(md5.hexdigest()) 21 for f, h, s in zip(filenames, hashes, sizes):
|
/external/jemalloc/test/unit/ |
hash.c | 68 VARIABLE_ARRAY(uint8_t, hashes, hashes_size); 74 memset(hashes, 0, hashes_size); 87 memcpy(&hashes[i*hashbytes], &out, hashbytes); 92 memcpy(&hashes[i*hashbytes], out, hashbytes); 97 memcpy(&hashes[i*hashbytes], out, hashbytes); 106 uint32_t out = hash_x86_32(hashes, hashes_size, 0); 111 hash_x86_128(hashes, hashes_size, 0, out); 116 hash_x64_128(hashes, hashes_size, 0, out);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CompactByteArray.java | 71 hashes = new int[INDEXCOUNT]; 77 hashes[i] = 0; 216 if (hashes[i] == hashes[j] && 228 hashes[j] = hashes[i]; 245 hashes = null; 272 hashes[i] = (hashes[i] + (value<<1)) | 1; 280 return hashes[i] != 0 404 private int[] hashes; field in class:CompactByteArray [all...] |
CompactCharArray.java | 72 hashes = new int[INDEXCOUNT]; 78 hashes[i] = 0; 219 if (hashes[i] == hashes[j] && 256 hashes = null; 296 hashes[i] = (hashes[i] + (value<<1)) | 1; 304 return hashes[i] != 0; 344 if (hashes != null) other.hashes = hashes.clone() 431 private int[] hashes; field in class:CompactCharArray [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CompactByteArray.java | 69 hashes = new int[INDEXCOUNT]; 75 hashes[i] = 0; 214 if (hashes[i] == hashes[j] && 226 hashes[j] = hashes[i]; 243 hashes = null; 270 hashes[i] = (hashes[i] + (value<<1)) | 1; 278 return hashes[i] != 0 402 private int[] hashes; field in class:CompactByteArray [all...] |
CompactCharArray.java | 70 hashes = new int[INDEXCOUNT]; 76 hashes[i] = 0; 217 if (hashes[i] == hashes[j] && 254 hashes = null; 294 hashes[i] = (hashes[i] + (value<<1)) | 1; 302 return hashes[i] != 0; 342 if (hashes != null) other.hashes = hashes.clone() 429 private int[] hashes; field in class:CompactCharArray [all...] |
/frameworks/base/services/core/java/com/android/server/backup/ |
BackupUtils.java | 124 ArrayList<byte[]> hashes = new ArrayList<>(sigs.length); local 126 hashes.add(hashSignature(s)); 128 return hashes; 136 ArrayList<byte[]> hashes = new ArrayList<>(sigs.size()); local 138 hashes.add(hashSignature(s)); 140 return hashes;
|
/external/tensorflow/tensorflow/contrib/nearest_neighbor/python/kernel_tests/ |
hyperplane_lsh_probes_test.py | 41 hashes, tables = hyperplane_lsh_probes(product, 46 self.assertAllEqual(hashes.eval(), [[3, 0, 2, 2], [2, 2, 0, 3]])
|
/external/scapy/scapy/layers/tls/crypto/ |
pkcs1.py | 22 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/curl/docs/cmdline-opts/ |
pinnedpubkey.d | 2 Arg: <hashes> 3 Help: FILE/HASHES Public key to verify peer against 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
|
/test/vts-testcase/hal/treble/vintf/ |
utils.cpp | 35 // Name of file containing HAL hashes. 106 // Returns the set of released hashes for a given HAL interface. 112 auto hashes = Hash::lookupHash(file_path, fq_iface_name.string(), &err); local 113 released_hashes.insert(hashes.begin(), hashes.end());
|
/system/tools/hidl/ |
Hash.cpp | 34 static std::map<std::string, Hash> hashes; local 36 auto it = hashes.find(path); 38 if (hashes.find(path) == hashes.end()) { 39 it = hashes.insert(it, {path, Hash(path)}); 116 auto it = hashes.find(fqName); 118 if (it == hashes.end()) { 161 file->hashes[fqName].push_back(hash); 167 std::map<std::string,std::vector<std::string>> hashes; member in struct:android::HashFile
|
/external/boringssl/src/crypto/x509/ |
by_dir.c | 78 STACK_OF(BY_DIR_HASH) *hashes; 175 if (ent->hashes) 176 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); 231 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp); 233 if (!ent->dir || !ent->hashes) { 248 * g_ent_hashes_lock protects the |hashes| member of all |BY_DIR_ENTRY| 318 if (type == X509_LU_CRL && ent->hashes) { 321 if (sk_BY_DIR_HASH_find(ent->hashes, &idx, &htmp)) { 322 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 407 if (sk_BY_DIR_HASH_find(ent->hashes, &idx, &htmp) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedData.java | 74 private Map hashes; field in class:CMSSignedData 103 * @param hashes a map of precomputed digests for content indexed by name of hash. 107 Map hashes, 111 this(hashes, CMSUtils.readContentInfo(sigBlock)); 174 Map hashes, 178 this.hashes = hashes; 254 if (hashes == null) 260 Object obj = hashes.keySet().iterator().next(); 261 byte[] hash = (obj instanceof String) ? (byte[])hashes.get(info.getDigestAlgorithm().getAlgorithm().getId()) : (byte[])hashes.get(info.getDigestAlgorithm (…) [all...] |
/external/fio/lib/ |
bloom.c | 38 static struct bloom_hash hashes[] = { variable in typeref:struct:bloom_hash 96 hash[i] = hashes[i].fn(data, len, hashes[i].seed);
|
/external/jemalloc/src/ |
ckh.c | 19 * fewest that can work, and supporting multiple hashes is an implementation 25 * #hashes | 1 | 2 | 4 | 8 | 73 size_t hashes[2], bucket, cell; local 77 ckh->hash(key, hashes); 80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); 86 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); 130 size_t hashes[2], bucket, tbucket; local 142 * were an item for which both hashes indicated the same 160 ckh->hash(key, hashes); 161 tbucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1) 198 size_t hashes[2], bucket; local [all...] |
/external/python/cpython2/Lib/test/ |
test_cmd_line.py | 96 hashes = [] 100 hashes.append(data) 101 self.assertNotEqual(hashes[0], hashes[1])
|
/external/squashfs-tools/squashfs-tools/ |
progressbar.c | 96 int max_digits, used, hashes, spaces; local 104 hashes = (current * (columns - used)) / max; 105 spaces = columns - used - hashes; 127 while (hashes --)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_cmd_line.py | 96 hashes = [] 100 hashes.append(data) 101 self.assertNotEqual(hashes[0], hashes[1])
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_cmd_line.py | 96 hashes = [] 100 hashes.append(data) 101 self.assertNotEqual(hashes[0], hashes[1])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line.py | 96 hashes = [] 100 hashes.append(data) 101 self.assertNotEqual(hashes[0], hashes[1])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line.py | 96 hashes = [] 100 hashes.append(data) 101 self.assertNotEqual(hashes[0], hashes[1])
|
/external/v8/tools/ |
find-commit-for-patch.py | 42 hashes = line.split()[1] 43 old_hash = hashes.split("..")[0]
|