/external/llvm/unittests/ADT/ |
D | HashingTest.cpp | 36 friend hash_code hash_value(const NonPOD &obj) { in hash_value() function 66 EXPECT_EQ(hash_value(42), hash_value(x)); in TEST() 67 EXPECT_EQ(hash_value(42), hash_value(TE_Foo)); in TEST() 68 EXPECT_NE(hash_value(42), hash_value(y)); in TEST() 69 EXPECT_NE(hash_value(42), hash_value(TE_Bar)); in TEST() 70 EXPECT_NE(hash_value(42), hash_value(p)); in TEST() 71 EXPECT_EQ(hash_value(71), hash_value(i)); in TEST() 72 EXPECT_EQ(hash_value(71), hash_value(ci)); in TEST() 73 EXPECT_EQ(hash_value(71), hash_value(vi)); in TEST() 74 EXPECT_EQ(hash_value(71), hash_value(cvi)); in TEST() [all …]
|
D | StringRefTest.cpp | 405 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef())); in TEST() 406 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef(""))); in TEST() 408 hash_code H = hash_value(S); in TEST() 409 EXPECT_EQ(H, hash_value(StringRef("hello world"))); in TEST() 410 EXPECT_EQ(H, hash_value(StringRef(S))); in TEST() 411 EXPECT_NE(H, hash_value(StringRef("hello worl"))); in TEST() 412 EXPECT_EQ(hash_value(std::string("hello worl")), in TEST() 413 hash_value(StringRef("hello worl"))); in TEST() 414 EXPECT_NE(H, hash_value(StringRef("hello world "))); in TEST() 415 EXPECT_EQ(hash_value(std::string("hello world ")), in TEST() [all …]
|
/external/v8/src/base/ |
D | functional.h | 88 V8_INLINE size_t hash_value(type v) { return static_cast<size_t>(v); } 94 size_t hash_value(unsigned int); 95 size_t hash_value(unsigned long); // NOLINT(runtime/int) 96 size_t hash_value(unsigned long long); // NOLINT(runtime/int) 99 V8_INLINE size_t hash_value(signed type v) { \ 100 return hash_value(bit_cast<unsigned type>(v)); \ 109 V8_INLINE size_t hash_value(float v) { in V8_BASE_HASH_VALUE_SIGNED() 111 return v != 0.0f ? hash_value(bit_cast<uint32_t>(v)) : 0; in V8_BASE_HASH_VALUE_SIGNED() 114 V8_INLINE size_t hash_value(double v) { in hash_value() function 116 return v != 0.0 ? hash_value(bit_cast<uint64_t>(v)) : 0; in hash_value() [all …]
|
D | functional.cc | 98 size_t hash_value(unsigned int v) { return hash_value_unsigned(v); } in hash_value() function 101 size_t hash_value(unsigned long v) { // NOLINT(runtime/int) in hash_value() function 106 size_t hash_value(unsigned long long v) { // NOLINT(runtime/int) in hash_value() function
|
/external/srtp/crypto/test/ |
D | sha1_driver.c | 100 uint32_t hash_value[5]; in sha1_test_case_validate() local 112 sha1_final(&ctx, hash_value); in sha1_test_case_validate() 113 if (0 == memcmp(test_case->hash, hash_value, 20)) { in sha1_test_case_validate() 118 octet_string_hex_string((uint8_t *)hash_value, 20)); in sha1_test_case_validate() 126 octet_string_hex_string((uint8_t *)hash_value, 20)); in sha1_test_case_validate()
|
/external/srtp/crypto/hash/ |
D | sha1.c | 77 sha1(const uint8_t *msg, int octets_in_msg, uint32_t hash_value[5]) { in sha1() 82 sha1_final(&ctx, hash_value); in sha1() 99 sha1_core(const uint32_t M[16], uint32_t hash_value[5]) { in sha1_core() 110 H0 = hash_value[0]; in sha1_core() 111 H1 = hash_value[1]; in sha1_core() 112 H2 = hash_value[2]; in sha1_core() 113 H3 = hash_value[3]; in sha1_core() 114 H4 = hash_value[4]; in sha1_core() 176 hash_value[0] = H0 + A; in sha1_core() 177 hash_value[1] = H1 + B; in sha1_core() [all …]
|
D | hmac.c | 172 uint32_t hash_value[5]; in hmac_compute() local 201 sha1_final(&state->ctx, hash_value); in hmac_compute() 205 result[i] = ((uint8_t *)hash_value)[i]; in hmac_compute() 208 octet_string_hex_string((uint8_t *)hash_value, tag_len)); in hmac_compute()
|
/external/mesa3d/src/mesa/program/ |
D | hash_table.c | 114 const unsigned hash_value = (*ht->hash)(key); in get_node() local 115 const unsigned bucket = hash_value % ht->num_buckets; in get_node() 140 const unsigned hash_value = (*ht->hash)(key); in hash_table_insert() local 141 const unsigned bucket = hash_value % ht->num_buckets; in hash_table_insert() 155 const unsigned hash_value = (*ht->hash)(key); in hash_table_replace() local 156 const unsigned bucket = hash_value % ht->num_buckets; in hash_table_replace()
|
/external/v8/src/compiler/ |
D | js-operator.h | 43 size_t hash_value(VectorSlotPair const&); 72 size_t hash_value(CallConstructParameters const&); 109 friend size_t hash_value(CallFunctionParameters const& p) { in hash_value() function 121 size_t hash_value(CallFunctionParameters const&); 146 size_t hash_value(CallRuntimeParameters const&); 175 size_t hash_value(ContextAccess const&); 203 size_t hash_value(NamedAccess const&); 232 size_t hash_value(LoadGlobalParameters const&); 261 size_t hash_value(StoreGlobalParameters const&); 286 size_t hash_value(PropertyAccess const&); [all …]
|
D | simplified-operator.h | 31 size_t hash_value(BaseTaggedness); 52 size_t hash_value(BufferAccess); 76 size_t hash_value(FieldAccess const&); 100 size_t hash_value(ElementAccess const&); 111 size_t hash_value(CheckFloat64HoleMode); 122 size_t hash_value(CheckTaggedHoleMode);
|
D | common-operator.h | 39 inline size_t hash_value(BranchHint hint) { return static_cast<size_t>(hint); } in hash_value() function 49 size_t hash_value(DeoptimizeKind kind); 59 size_t hash_value(IfExceptionHint hint); 81 size_t hash_value(SelectParameters const& p); 140 size_t hash_value(RelocatablePtrConstantInfo const& p); 147 size_t hash_value(RegionObservability);
|
D | js-operator.cc | 38 size_t hash_value(VectorSlotPair const& p) { in hash_value() function 67 size_t hash_value(CallConstructParameters const& p) { in hash_value() function 107 size_t hash_value(CallRuntimeParameters const& p) { in hash_value() function 143 size_t hash_value(ContextAccess const& access) { in hash_value() function 173 size_t hash_value(NamedAccess const& p) { in hash_value() function 214 size_t hash_value(PropertyAccess const& p) { in hash_value() function 233 size_t hash_value(LoadGlobalParameters const& p) { in hash_value() function 263 size_t hash_value(StoreGlobalParameters const& p) { in hash_value() function 299 size_t hash_value(CreateArrayParameters const& p) { in hash_value() function 330 size_t hash_value(CreateClosureParameters const& p) { in hash_value() function [all …]
|
D | frame-states.cc | 14 size_t hash_value(OutputFrameStateCombine const& sc) { in hash_value() function 44 size_t hash_value(FrameStateInfo const& info) { in hash_value() function
|
D | frame-states.h | 64 friend size_t hash_value(OutputFrameStateCombine const&); 149 size_t hash_value(FrameStateInfo const&);
|
D | simplified-operator.cc | 16 size_t hash_value(BaseTaggedness base_taggedness) { in hash_value() function 65 size_t hash_value(BufferAccess access) { in hash_value() function 104 size_t hash_value(FieldAccess const& access) { in hash_value() function 143 size_t hash_value(ElementAccess const& access) { in hash_value() function 175 size_t hash_value(CheckFloat64HoleMode mode) { in hash_value() function 195 size_t hash_value(CheckTaggedHoleMode mode) { in hash_value() function
|
D | type-hints.h | 52 friend size_t hash_value(BinaryOperationHints const& hints) { in hash_value() function 102 friend size_t hash_value(CompareOperationHints const& hints) { in hash_value() function
|
/external/selinux/policycoreutils/newrole/ |
D | hashtab.c | 14 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, in hashtab_create() 32 p->hash_value = hash_value; in hashtab_create() 53 hvalue = h->hash_value(h, key); in hashtab_insert() 92 hvalue = h->hash_value(h, key); in hashtab_remove() 125 hvalue = h->hash_value(h, key); in hashtab_replace() 166 hvalue = h->hash_value(h, key); in hashtab_search()
|
D | hashtab.h | 36 unsigned int (*hash_value) (struct hashtab_val * h, hashtab_key_t key); /* hash function */ member 54 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
|
/external/selinux/libsepol/src/ |
D | hashtab.c | 35 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, in hashtab_create() 53 p->hash_value = hash_value; in hashtab_create() 74 hvalue = h->hash_value(h, key); in hashtab_insert() 113 hvalue = h->hash_value(h, key); in hashtab_remove() 146 hvalue = h->hash_value(h, key); in hashtab_replace() 187 hvalue = h->hash_value(h, key); in hashtab_search()
|
/external/llvm/include/llvm/ADT/ |
D | Hashing.h | 95 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() function 107 hash_value(T value); 112 template <typename T> hash_code hash_value(const T *ptr); 116 hash_code hash_value(const std::pair<T, U> &arg); 120 hash_code hash_value(const std::basic_string<T> &arg); 376 using ::llvm::hash_value; 377 return hash_value(value); 634 hash_value(T value) { 640 template <typename T> hash_code hash_value(const T *ptr) { 648 hash_code hash_value(const std::pair<T, U> &arg) { [all …]
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 25 friend hash_code hash_value(const Vector &); 142 inline hash_code hash_value(const Vector &V) { in hash_value() function 165 friend hash_code hash_value(const Matrix &); 380 inline hash_code hash_value(const Matrix &M) { in hash_value() function 407 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value() function 408 return hash_value(static_cast<const Vector&>(V)); in hash_value() 422 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value() function 423 return hash_value(static_cast<const Matrix&>(M)); in hash_value()
|
/external/libchrome/crypto/ |
D | symmetric_key_win.cc | 274 std::vector<BYTE> hash_value(hash_size); in ComputePBKDF2Block() local 277 ok = CryptGetHashParam(safe_hash, HP_HASHVAL, &hash_value[0], &size, 0); in ComputePBKDF2Block() 281 memcpy(output_buf, &hash_value[0], hash_size); in ComputePBKDF2Block() 292 ok = CryptHashData(safe_hash, &hash_value[0], hash_size, 0); in ComputePBKDF2Block() 297 ok = CryptGetHashParam(safe_hash, HP_HASHVAL, &hash_value[0], &size, 0); in ComputePBKDF2Block() 302 output_buf[i] ^= hash_value[i]; in ComputePBKDF2Block()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 39 unsigned int (*hash_value) (struct hashtab_val * h, hashtab_key_t key); /* hash function */ member 51 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
|
/external/v8/test/unittests/base/ |
D | functional-unittest.cc | 69 EXPECT_EQ(h(v), hash_value(v)); in TYPED_TEST() 103 EXPECT_EQ(hash_range(values, values + arraysize(values)), hash_value(values)); in TYPED_TEST() 141 size_t hash_value(Foo const& v) { return hash_combine(v.x, v.y); } in hash_value() function
|
/external/srtp/crypto/include/ |
D | sha1.h | 106 sha1_core(const uint32_t M[16], uint32_t hash_value[5]);
|