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

12

/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:__anon11209
[all...]
H A DStringRefTest.cpp352 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef()));
353 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef("")));
355 hash_code H = hash_value(S);
356 EXPECT_EQ(H, hash_value(StringRef("hello world")));
357 EXPECT_EQ(H, hash_value(StringRef(S)));
358 EXPECT_NE(H, hash_value(StringRef("hello worl")));
359 EXPECT_EQ(hash_value(std::string("hello worl")),
360 hash_value(StringRe
[all...]
/external/srtp/crypto/include/
H A Dsha1.h106 sha1_core(const uint32_t M[16], uint32_t hash_value[5]);
/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/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/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/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,
H A Dhashtab.c14 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
32 p->hash_value = hash_value;
53 hvalue = h->hash_value(h, key);
92 hvalue = h->hash_value(h, key);
125 hvalue = h->hash_value(h, key);
166 hvalue = h->hash_value(h, key);
/external/selinux/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);
/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...]
H A DAPFloat.h459 friend hash_code hash_value(const APFloat &Arg);
643 hash_code hash_value(const APFloat &Arg);
H A DStringRef.h564 hash_code hash_value(StringRef S);
H A DAPInt.h569 friend hash_code hash_value(const APInt &Arg);
1904 hash_code hash_value(const APInt &Arg);
/external/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h25 friend hash_code hash_value(const Vector &);
141 /// \brief Return a hash_value for the given vector.
142 inline hash_code hash_value(const Vector &V) {
165 friend hash_code hash_value(const Matrix &);
380 inline hash_code hash_value(const Matrix &M) {
407 inline hash_code hash_value(const MDVector<Metadata> &V) {
408 return hash_value(static_cast<const Vector&>(V));
422 inline hash_code hash_value(const MDMatrix<Metadata> &M) {
423 return hash_value(static_cast<const Matrix&>(M));
H A DCostAllocator.h57 return hash_value(C);
/external/skia/tools/skpdiff/
H A Dskpdiff_server.py131 def set_expected_hash_in_json(expected_results_json, image_name, hash_value):
139 @param hash_value The hash to set for the image.
144 expected_results[image_name][gm_json.JSONKEY_EXPECTEDRESULTS_ALLOWEDDIGESTS][0][1] = hash_value
151 hash_value
368 def _set_expected_hash(self, device_name, image_name, hash_value):
374 @param hash_value The value of the hash to set.
383 set_expected_hash_in_json(expectations, image_name, 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/CodeGen/
H A DMachineOperand.h540 /// \brief MachineOperand hash_value overload.
545 friend hash_code hash_value(const MachineOperand &MO);
737 hash_code hash_value(const MachineOperand &MO);
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/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/llvm/lib/Support/
H A DStringRef.cpp483 hash_code llvm::hash_value(StringRef S) {
/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/IR/
H A DLLVMContextImpl.h61 return static_cast<unsigned>(hash_value(Key));
72 return static_cast<unsigned>(hash_value(Key));

Completed in 456 milliseconds

12