Home
last modified time | relevance | path

Searched refs:hash1 (Results 1 – 25 of 27) sorted by relevance

12

/external/libyuv/files/util/
Dcompare.cc34 uint32 hash1 = 5381; in main() local
42 if (amt1 > 0) hash1 = libyuv::HashDjb2(buf1, amt1, hash1); in main()
52 printf("hash1 %x", hash1); in main()
/external/chromium_org/third_party/libyuv/util/
Dcompare.cc34 uint32 hash1 = 5381; in main() local
42 if (amt1 > 0) hash1 = libyuv::HashDjb2(buf1, amt1, hash1); in main()
52 printf("hash1 %x", hash1); in main()
/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java30 int hash1 = (int) hash64; in MURMUR128_MITZ_32() local
33 int nextHash = hash1 + i * hash2; in MURMUR128_MITZ_32()
45 int hash1 = (int) hash64; in MURMUR128_MITZ_32() local
48 int nextHash = hash1 + i * hash2; in MURMUR128_MITZ_32()
/external/chromium_org/third_party/smhasher/src/
DSpooky.cpp20 uint64 *hash1, in Short() argument
41 uint64 a=*hash1; in Short()
115 *hash1 = a; in Short()
126 uint64 *hash1, in Hash128() argument
131 Short(message, length, hash1, hash2); in Hash128()
146 h0=h3=h6=h9 = *hash1; in Hash128()
181 *hash1 = h0; in Hash128()
302 void SpookyHash::Final(uint64 *hash1, uint64 *hash2) in Final() argument
307 Short( m_data, m_length, hash1, hash2); in Final()
344 *hash1 = h0; in Final()
DSpooky.h55 uint64 *hash1, // in/out: in seed 1, out hash value 1
66 uint64 hash1 = seed; in Hash64() local
67 Hash128(message, length, &hash1, &seed); in Hash64()
68 return hash1; in Hash64()
79 uint64 hash1 = seed, hash2 = seed; in Hash32() local
80 Hash128(message, length, &hash1, &hash2); in Hash32()
81 return (uint32)hash1; in Hash32()
108 uint64 *hash1, // out only: first 64 bits of hash value.
266 uint64 *hash1,
DKeysetTest.cpp91 uint8_t * hash1 = new uint8_t[hashbytes]; in SanityTest() local
112 hash(key1,len,0,hash1); in SanityTest()
121 if(memcmp(hash1,hash2,hashbytes) == 0) in SanityTest()
131 if(memcmp(hash1,hash2,hashbytes) != 0) in SanityTest()
152 delete [] hash1; in SanityTest()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1ImplTest.java69 int[] hash1 = { 0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0 }; in testOneBlockMessage() local
78 alternateHash(words, hash1); in testOneBlockMessage()
90 assertTrue("false1: k=" + k + " hash1[k]=" + Integer.toHexString(hash1[k]), in testOneBlockMessage()
91 hash[k] == hash1[k]); in testOneBlockMessage()
/external/chromium_org/courgette/
Ddifference_estimator.cc24 size_t hash1 = *reinterpret_cast<const uint32*>(source); in HashTuple() local
26 size_t hash = ((hash1 * 17 + hash2 * 37) + (hash1 >> 17)) ^ (hash2 >> 23); in HashTuple()
/external/chromium_org/third_party/lcov/contrib/galaxy/
Dgenflat.pl1160 my %hash1 = %{$_[0]};
1166 if ($hash1{$filename})
1169 $hash1{$filename} =
1170 combine_info_entries($hash1{$filename},
1177 $hash1{$filename} = $hash2{$filename};
1181 return(\%hash1);
/external/ltrace/
Ddict.c40 size_t (*hash1)(const void *), in dict_init()
44 assert(hash1 != NULL); in dict_init()
52 dict->hash1 = hash1; in dict_init()
109 source->hash1, source->eq, source->hash2); in dict_clone()
219 size_t pos = dict->hash1(key) % n(dict); in find_slot()
278 dict->hash1, dict->eq, dict->hash2); in rehash()
Ddict.h36 size_t (*hash1)(const void *); member
48 size_t (*hash1)(const void *),
/external/chromium_org/third_party/icu/source/common/
Duhash.c855 uhash_equals(const UHashtable* hash1, const UHashtable* hash2){ in uhash_equals() argument
858 if(hash1==hash2){ in uhash_equals()
870 if (hash1==NULL || hash2==NULL || in uhash_equals()
871 hash1->keyComparator != hash2->keyComparator || in uhash_equals()
872 hash1->valueComparator != hash2->valueComparator || in uhash_equals()
873 hash1->valueComparator == NULL) in uhash_equals()
882 count1 = uhash_count(hash1); in uhash_equals()
890 const UHashElement* elem1 = uhash_nextElement(hash1, &pos); in uhash_equals()
899 if(hash1->valueComparator(val1, val2)==FALSE){ in uhash_equals()
Duhash.h664 uhash_equals(const UHashtable* hash1, const UHashtable* hash2);
/external/icu/icu4c/source/common/
Duhash.c855 uhash_equals(const UHashtable* hash1, const UHashtable* hash2){ in uhash_equals() argument
858 if(hash1==hash2){ in uhash_equals()
870 if (hash1==NULL || hash2==NULL || in uhash_equals()
871 hash1->keyComparator != hash2->keyComparator || in uhash_equals()
872 hash1->valueComparator != hash2->valueComparator || in uhash_equals()
873 hash1->valueComparator == NULL) in uhash_equals()
882 count1 = uhash_count(hash1); in uhash_equals()
890 const UHashElement* elem1 = uhash_nextElement(hash1, &pos); in uhash_equals()
899 if(hash1->valueComparator(val1, val2)==FALSE){ in uhash_equals()
Duhash.h664 uhash_equals(const UHashtable* hash1, const UHashtable* hash2);
/external/chromium_org/v8/src/heap/
Dstore-buffer.cc556 int hash1 = ((hash_addr ^ (hash_addr >> kHashSetLengthLog2)) & in Compact() local
558 if (hash_set_1_[hash1] == int_addr) continue; in Compact()
563 if (hash_set_1_[hash1] == 0) { in Compact()
564 hash_set_1_[hash1] = int_addr; in Compact()
570 hash_set_1_[hash1] = int_addr; in Compact()
/external/e2fsprogs/lib/ext2fs/
Ddirhash.c122 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash() local
132 hash = hash1 + (hash0 ^ (c * 7152373)); in dx_hack_hash()
135 hash1 = hash0; in dx_hack_hash()
/external/chromium_org/third_party/sqlite/src/test/
Dtrans2.test48 proc hash1 {} {
94 } [list [hash1] [hash2]]
114 set origres [list [hash1] [hash2]]
141 set newres [list [hash1] [hash2]]
/external/elfutils/0.153/src/
Delfcmp.c838 const Hash_Word *const hash1 = data1->d_buf; \ in hash_content_equivalent()
840 const size_t nbucket = hash1[0]; \ in hash_content_equivalent()
841 const size_t nchain = hash1[1]; \ in hash_content_equivalent()
842 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent()
846 const Hash_Word *const bucket1 = &hash1[2]; \ in hash_content_equivalent()
/external/chromium_org/net/disk_cache/simple/
Dsimple_index.cc58 bool operator()(uint64 hash1, uint64 hash2);
67 bool CompareHashesForTimestamp::operator()(uint64 hash1, uint64 hash2) { in operator ()() argument
68 EntrySet::const_iterator it1 = entry_set_.find(hash1); in operator ()()
/external/chromium_org/chrome/browser/
Denumerate_modules_model_win.cc684 std::string hash1, hash2, hash3; in MatchAgainstBlacklist() local
685 GenerateHash(kModuleBlacklist[i].filename, &hash1); in MatchAgainstBlacklist()
686 hashes += " - " + hash1; in MatchAgainstBlacklist()
/external/chromium_org/third_party/lcov/bin/
Dlcov2451 my %hash1 = %{$_[0]};
2457 if ($hash1{$filename})
2460 $hash1{$filename} =
2461 combine_info_entries($hash1{$filename},
2469 $hash1{$filename} = $hash2{$filename};
2473 return(\%hash1);
Dgenhtml2134 my %hash1 = %{$_[0]};
2140 if ($hash1{$filename})
2143 $hash1{$filename} =
2144 combine_info_entries($hash1{$filename},
2152 $hash1{$filename} = $hash2{$filename};
2156 return(\%hash1);
/external/chromium_org/third_party/icu/source/test/intltest/
Dloctest.cpp582 int32_t hash1 = test1.hashCode(); in TestSimpleObjectStuff() local
586 test_assert(hash1 == hash2); in TestSimpleObjectStuff()
587 test_assert(hash1 == hash3); in TestSimpleObjectStuff()
669 int32_t hash1 = test1.hashCode(); in TestPOSIXParsing() local
673 test_assert(hash1 == hash2); in TestPOSIXParsing()
675 test_assert(hash3 == hash1); in TestPOSIXParsing()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp582 int32_t hash1 = test1.hashCode(); in TestSimpleObjectStuff() local
586 test_assert(hash1 == hash2); in TestSimpleObjectStuff()
587 test_assert(hash1 == hash3); in TestSimpleObjectStuff()
669 int32_t hash1 = test1.hashCode(); in TestPOSIXParsing() local
673 test_assert(hash1 == hash2); in TestPOSIXParsing()
675 test_assert(hash3 == hash1); in TestPOSIXParsing()

12