Searched defs:hash_value (Results 1 - 25 of 32) sorted by relevance

12

/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/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/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/chromium_org/cc/quads/
H A Drender_pass.h134 inline size_t hash_value(const cc::RenderPassId& key) { function in namespace:BASE_HASH_NAMESPACE
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash_test.cc50 uint32_t hash_value,
52 return block_hash.FirstMatchingBlock(hash_value, block_ptr);
794 uint32_t hash_value = RollingHash<kBlockSize>::Hash(
796 dh_->FindBestMatch(hash_value,
808 uint32_t hash_value = RollingHash<kBlockSize>::Hash(
810 dh_->FindBestMatch(hash_value,
829 uint32_t hash_value =
831 many_matches_hash.FindBestMatch(hash_value,
49 FirstMatchingBlock(const BlockHash& block_hash, uint32_t hash_value, const char* block_ptr) const argument
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/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/chromium_org/base/containers/
H A Dhash_tables.h243 inline std::size_t hash_value(const std::pair<Type1, Type2>& value) { function in namespace:BASE_HASH_NAMESPACE
/external/chromium_org/net/http/
H A Dhttp_security_headers_unittest.cc24 HashValue hash_value(tag);
25 memset(hash_value.data(), label, hash_value.size());
26 return hash_value;
30 HashValue hash_value = GetTestHashValue(label, tag); local
33 reinterpret_cast<char*>(hash_value.data()), hash_value.size()), &base64);
35 switch (hash_value.tag) {
41 NOTREACHED() << "Unknown HashValueTag " << hash_value.tag;
/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/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/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/chrome/tools/profile_reset/
H A Djtl_compiler.cc137 std::string hash_value; local
138 if (!arguments.GetString(i, &hash_value) ||
139 !jtl::Hasher::IsHash(hash_value))
141 target->WriteHash(hash_value);
/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/tools/gn/
H A Dunique_vector.h53 UniquifyRef(const std::vector<T>* v, size_t i, size_t hash_value) argument
57 hash_val_(hash_value) {
70 hash_val_ = BASE_HASH_NAMESPACE::hash_value(value());
108 inline size_t hash_value(const internal::UniquifyRef<T>& v) {
/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/valgrind/main/callgrind/
H A Dfn.c219 int hash_value = 0; local
221 hash_value = (HASH_CONSTANT * hash_value + *s) % table_size;
222 return hash_value;
/external/lldb/include/lldb/Core/
H A DMappedHash.h436 const uint32_t hash_value = MappedHash::HashString (m_header.hash_function, name); local
437 const uint32_t bucket_idx = hash_value % bucket_count;
444 if (curr_hash_value == hash_value)
/external/llvm/include/llvm/ADT/
H A DHashing.h27 // -- 'hash_value' is a function designed to be overloaded for each
35 // within the implementation of a 'hash_value' routine or similar context.
75 /// using llvm::hash_value;
76 /// llvm::hash_code code = hash_value(x);
99 /// \brief Allow a hash_code to be directly run through hash_value.
100 friend size_t hash_value(const hash_code &code) { return code.value; } function in class:llvm::hash_code
112 hash_value(T value);
117 template <typename T> hash_code hash_value(const T *ptr);
121 hash_code hash_value(const std::pair<T, U> &arg);
125 hash_code hash_value(cons
737 hash_value(T value) { function in namespace:llvm
743 template <typename T> hash_code hash_value(const T *ptr) { function in namespace:llvm
751 hash_code hash_value(const std::pair<T, U> &arg) { function in namespace:llvm
758 hash_code hash_value(const std::basic_string<T> &arg) { function in namespace:llvm
[all...]

Completed in 617 milliseconds

12