/external/valgrind/main/callgrind/ |
H A D | fn.c | 219 int hash_value = 0; local 221 hash_value = (HASH_CONSTANT * hash_value + *s) % table_size; 222 return hash_value;
|
/external/srtp/crypto/hash/ |
H A D | hmac.c | 172 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 D | sha1.c | 77 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/test/ |
H A D | sha1_driver.c | 100 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/mesa3d/src/mesa/program/ |
H A D | hash_table.c | 114 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/llvm/unittests/ADT/ |
H A D | HashingTest.cpp | 37 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/llvm/include/llvm/ADT/ |
H A D | Hashing.h | 27 // -- '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...] |
/external/llvm/lib/CodeGen/ |
H A D | MachineInstr.cpp | 167 /// operand. Note that this should stay in sync with the hash_value overload 215 hash_code llvm::hash_value(const MachineOperand &MO) { function in class:llvm 1871 HashComponents.push_back(hash_value(MO));
|
/external/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 58 friend hash_code hash_value(const KeyTy &Key) { function in struct:llvm::DenseMapAPIntKeyInfo::KeyTy 65 return static_cast<unsigned>(hash_value(Key)); 82 friend hash_code hash_value(const KeyTy &Key) { function in struct:llvm::DenseMapAPFloatKeyInfo::KeyTy 93 return static_cast<unsigned>(hash_value(Key));
|
/external/llvm/lib/TableGen/ |
H A D | Record.cpp | 50 friend hash_code hash_value(const TableGenStringKey &Value) { function in class:llvm::TableGenStringKey 51 using llvm::hash_value; 52 return hash_value(Value.str()); 69 using llvm::hash_value; 70 return hash_value(Val);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 99 friend hash_code hash_value(const Expression &Value) { function in struct:__anon26280::Expression 150 using llvm::hash_value; 151 return static_cast<unsigned>(hash_value(e));
|
/external/lldb/include/lldb/Core/ |
H A D | MappedHash.h | 436 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/libsepol/include/sepol/policydb/ |
H A D | hashtab.h | 37 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/v8/src/ |
H A D | objects.cc | 4509 int hash_value; local 4514 hash_value = isolate->random_number_generator()->NextInt() & Smi::kMaxValue; 4516 } while (hash_value == 0 && attempts < 30); 4517 hash_value = hash_value != 0 ? hash_value : 1; // never return 0 4519 return Smi::FromInt(hash_value);
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | hash_table.c | 114 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/third_party/libsrtp/srtp/crypto/hash/ |
H A D | hmac.c | 172 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 D | sha1.c | 77 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/third_party/libsrtp/srtp/crypto/test/ |
H A D | sha1_driver.c | 100 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/sdch/open-vcdiff/src/ |
H A D | vcdiffengine.cc | 78 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 D | blockhash.cc | 153 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,
|
H A D | blockhash.h | 180 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 D | blockhash_test.cc | 50 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
|
/external/chromium_org/tools/gn/ |
H A D | unique_vector.h | 53 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/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | deep-heap-profile.cc | 747 uintptr_t add, uintptr_t* hash_value) { 748 *hash_value += add; 749 *hash_value += *hash_value << 10; 750 *hash_value ^= *hash_value >> 6; 755 void DeepHeapProfile::DeepBucketTable::FinishHashValue(uintptr_t* hash_value) { argument 756 *hash_value += *hash_value << 3; 757 *hash_value 746 AddToHashValue( uintptr_t add, uintptr_t* hash_value) argument [all...] |
/external/chromium_org/net/http/ |
H A D | http_security_headers_unittest.cc | 24 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;
|