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

/external/selinux/libsepol/include/sepol/policydb/
H A Dhashtab.h39 unsigned int (*hash_value) (struct hashtab_val * h, hashtab_key_t key); /* hash function */ member in struct:hashtab_val
51 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
/external/selinux/policycoreutils/newrole/
H A Dhashtab.h36 unsigned int (*hash_value) (struct hashtab_val * h, hashtab_key_t key); /* hash function */ member in struct:hashtab_val
54 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
/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/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/llvm/unittests/ADT/
H A DHashingTest.cpp36 friend hash_code hash_value(const NonPOD &obj) { function in struct:llvm::NonPOD
66 EXPECT_EQ(hash_value(42), hash_value(x));
67 EXPECT_EQ(hash_value(42), hash_value(TE_Foo));
68 EXPECT_NE(hash_value(42), hash_value(y));
69 EXPECT_NE(hash_value(42), hash_value(TE_Bar));
70 EXPECT_NE(hash_value(4
128 hash_code hash_value(HashableDummy dummy) { return dummy.value; } function in namespace:__anon11204
[all...]
/external/valgrind/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.
69 /// using llvm::hash_value;
70 /// llvm::hash_code code = hash_value(x);
93 /// \brief Allow a hash_code to be directly run through hash_value.
94 friend size_t hash_value(const hash_code &code) { return code.value; } function in class:llvm::hash_code
106 hash_value(T value);
111 template <typename T> hash_code hash_value(const T *ptr);
115 hash_code hash_value(const std::pair<T, U> &arg);
119 hash_code hash_value(cons
633 hash_value(T value) { function in namespace:llvm
639 template <typename T> hash_code hash_value(const T *ptr) { function in namespace:llvm
647 hash_code hash_value(const std::pair<T, U> &arg) { function in namespace:llvm
654 hash_code hash_value(const std::basic_string<T> &arg) { function in namespace:llvm
[all...]
/external/llvm/include/llvm/CodeGen/
H A DRegAllocPBQP.h81 friend hash_code hash_value(const AllowedRegVector &);
130 inline hash_code hash_value(const AllowedRegVector &OptRegs) { function in namespace:llvm::PBQP::RegAlloc
/external/llvm/lib/CodeGen/
H A DMachineInstr.cpp186 /// operand. Note that this should stay in sync with the hash_value overload
234 hash_code llvm::hash_value(const MachineOperand &MO) { function in class:llvm
1928 HashComponents.push_back(hash_value(MO));
/external/llvm/lib/TableGen/
H A DRecord.cpp50 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 DGVN.cpp103 friend hash_code hash_value(const Expression &Value) { function in struct:__anon11015::Expression
154 using llvm::hash_value;
155 return static_cast<unsigned>(hash_value(e));
/external/v8/src/
H A Dobjects.cc4509 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);

Completed in 595 milliseconds