Searched refs:hash_value (Results 1 - 25 of 79) sorted by relevance

1234

/external/chromium_org/components/variations/
H A Dmetrics_util_unittest.cc15 uint32 hash_value; member in struct:metrics::__anon6906
28 EXPECT_EQ(known_hashes[i].hash_value, HashName(known_hashes[i].name));
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash.h180 void AddOneIndexHash(int index, uint32_t hash_value) { argument
182 AddBlock(hash_value);
212 // beginning at that position (hash_value). It attempts to find a matching
245 // uint32_t hash_value =
247 // bh1.FindBestMatch(hash_value,
252 // bh2.FindBestMatch(hash_value,
262 // hash_value is passed as a separate parameter from target_candidate_start,
294 void FindBestMatch(uint32_t hash_value,
344 uint32_t GetHashTableIndex(uint32_t hash_value) const {
345 return hash_value
[all...]
H A Dvcdiffengine.cc78 uint32_t hash_value,
90 hashed_dictionary_->FindBestMatch(hash_value,
98 target_hash->FindBestMatch(hash_value,
188 uint32_t hash_value = hasher.Hash(candidate_pos); local
192 hash_value,
206 hash_value = hasher.Hash(candidate_pos);
221 hash_value);
223 hash_value = hasher.UpdateHash(hash_value,
77 EncodeCopyForBestMatch( uint32_t hash_value, const char* target_candidate_start, const char* unencoded_target_start, size_t unencoded_target_size, const BlockHash* target_hash, CodeTableWriterInterface* coder) const argument
H A Dblockhash.cc153 void BlockHash::AddBlock(uint32_t hash_value) { argument
177 const uint32_t hash_table_index = GetHashTableIndex(hash_value);
315 inline int BlockHash::FirstMatchingBlockInline(uint32_t hash_value, argument
317 return SkipNonMatchingBlocks(hash_table_[GetHashTableIndex(hash_value)],
321 int BlockHash::FirstMatchingBlock(uint32_t hash_value, argument
323 return FirstMatchingBlockInline(hash_value, block_ptr);
392 void BlockHash::FindBestMatch(uint32_t hash_value, argument
398 for (int block_number = FirstMatchingBlockInline(hash_value,
/external/llvm/unittests/ADT/
H A DHashingTest.cpp37 friend hash_code hash_value(const NonPOD &obj) { function in struct:llvm::NonPOD
67 EXPECT_EQ(hash_value(42), hash_value(x));
68 EXPECT_EQ(hash_value(42), hash_value(TE_Foo));
69 EXPECT_NE(hash_value(42), hash_value(y));
70 EXPECT_NE(hash_value(42), hash_value(TE_Bar));
71 EXPECT_NE(hash_value(4
129 hash_code hash_value(HashableDummy dummy) { return dummy.value; } function in namespace:__anon26443
[all...]
/external/chromium_org/cc/surfaces/
H A Dsurface_id.h38 inline size_t hash_value(const cc::SurfaceId& key) { function in namespace:BASE_HASH_NAMESPACE
39 return hash_value(key.id);
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/
H A Dsha1.h106 sha1_core(const uint32_t M[16], uint32_t hash_value[5]);
/external/srtp/crypto/include/
H A Dsha1.h106 sha1_core(const uint32_t M[16], uint32_t hash_value[5]);
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/
H A Dsha1_driver.c100 uint32_t hash_value[5]; local
112 sha1_final(&ctx, hash_value);
113 if (0 == memcmp(test_case->hash, hash_value, 20)) {
118 octet_string_hex_string((const uint8_t *)hash_value, 20));
126 octet_string_hex_string((const uint8_t *)hash_value, 20));
/external/chromium_org/tools/gn/
H A Dlabel.h121 inline size_t hash_value(const Label& v) {
122 return ((hash_value(v.dir().value()) * 131 +
123 hash_value(v.name())) * 131 +
124 hash_value(v.toolchain_dir().value())) * 131 +
125 hash_value(v.toolchain_name());
H A Doutput_file.h58 inline size_t hash_value(const OutputFile& v) {
59 return hash_value(v.value());
H A Dsource_file.h101 inline size_t hash_value(const SourceFile& v) {
102 return hash_value(v.value());
H A Dsource_dir.h115 inline size_t hash_value(const SourceDir& v) {
116 return hash_value(v.value());
H A Dlabel_ptr.h117 inline size_t hash_value(const LabelPtrPair<T>& v) {
118 return BASE_HASH_NAMESPACE::hash_value(v.label);
/external/srtp/crypto/test/
H A Dsha1_driver.c100 uint32_t hash_value[5]; local
112 sha1_final(&ctx, hash_value);
113 if (0 == memcmp(test_case->hash, hash_value, 20)) {
118 octet_string_hex_string((uint8_t *)hash_value, 20));
126 octet_string_hex_string((uint8_t *)hash_value, 20));
/external/chromium_org/net/spdy/
H A Dspdy_test_utils.cc144 HashValue hash_value(HASH_VALUE_SHA256);
145 memset(hash_value.data(), label, hash_value.size());
146 return hash_value;
150 HashValue hash_value = GetTestHashValue(label); local
153 reinterpret_cast<char*>(hash_value.data()), hash_value.size()), &base64);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dhash_table.c114 const unsigned hash_value = (*ht->hash)(key); local
115 const unsigned bucket = hash_value % ht->num_buckets;
140 const unsigned hash_value = (*ht->hash)(key); local
141 const unsigned bucket = hash_value % ht->num_buckets;
155 const unsigned hash_value = (*ht->hash)(key); local
156 const unsigned bucket = hash_value % ht->num_buckets;
/external/mesa3d/src/mesa/program/
H A Dhash_table.c114 const unsigned hash_value = (*ht->hash)(key); local
115 const unsigned bucket = hash_value % ht->num_buckets;
140 const unsigned hash_value = (*ht->hash)(key); local
141 const unsigned bucket = hash_value % ht->num_buckets;
155 const unsigned hash_value = (*ht->hash)(key); local
156 const unsigned bucket = hash_value % ht->num_buckets;
/external/chromium_org/net/dns/
H A Ddns_hosts.h37 inline size_t hash_value(const net::DnsHostsKey& key) {
38 return hash_value(key.first) + key.second;
/external/chromium_org/third_party/libsrtp/srtp/crypto/hash/
H A Dhmac.c172 uint32_t hash_value[5]; local
200 /* the result is returned in the array hash_value[] */
201 sha1_final(&state->ctx, hash_value);
203 /* copy hash_value to *result */
205 result[i] = ((uint8_t *)hash_value)[i];
208 octet_string_hex_string((uint8_t *)hash_value, tag_len));
H A Dsha1.c77 sha1(const uint8_t *msg, int octets_in_msg, uint32_t hash_value[5]) { argument
82 sha1_final(&ctx, hash_value);
99 sha1_core(const uint32_t M[16], uint32_t hash_value[5]) { argument
109 /* copy hash_value into H0, H1, H2, H3, H4 */
110 H0 = hash_value[0];
111 H1 = hash_value[1];
112 H2 = hash_value[2];
113 H3 = hash_value[3];
114 H4 = hash_value[4];
176 hash_value[
[all...]
/external/srtp/crypto/hash/
H A Dhmac.c172 uint32_t hash_value[5]; local
200 /* the result is returned in the array hash_value[] */
201 sha1_final(&state->ctx, hash_value);
203 /* copy hash_value to *result */
205 result[i] = ((uint8_t *)hash_value)[i];
208 octet_string_hex_string((uint8_t *)hash_value, tag_len));
H A Dsha1.c77 sha1(const uint8_t *msg, int octets_in_msg, uint32_t hash_value[5]) { argument
82 sha1_final(&ctx, hash_value);
99 sha1_core(const uint32_t M[16], uint32_t hash_value[5]) { argument
109 /* copy hash_value into H0, H1, H2, H3, H4 */
110 H0 = hash_value[0];
111 H1 = hash_value[1];
112 H2 = hash_value[2];
113 H3 = hash_value[3];
114 H4 = hash_value[4];
176 hash_value[
[all...]
/external/libsepol/include/sepol/policydb/
H A Dhashtab.h37 unsigned int (*hash_value) (struct hashtab_val * h, hashtab_key_t key); /* hash function */ member in struct:hashtab_val
49 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
/external/libsepol/src/
H A Dhashtab.c35 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
53 p->hash_value = hash_value;
74 hvalue = h->hash_value(h, key);
113 hvalue = h->hash_value(h, key);
146 hvalue = h->hash_value(h, key);
187 hvalue = h->hash_value(h, key);

Completed in 1090 milliseconds

1234