/external/swiftshader/third_party/llvm-7.0/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 | 544 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef())); in TEST() 545 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef(""))); in TEST() 547 hash_code H = hash_value(S); in TEST() 548 EXPECT_EQ(H, hash_value(StringRef("hello world"))); in TEST() 549 EXPECT_EQ(H, hash_value(StringRef(S))); in TEST() 550 EXPECT_NE(H, hash_value(StringRef("hello worl"))); in TEST() 551 EXPECT_EQ(hash_value(std::string("hello worl")), in TEST() 552 hash_value(StringRef("hello worl"))); in TEST() 553 EXPECT_NE(H, hash_value(StringRef("hello world "))); in TEST() 554 EXPECT_EQ(hash_value(std::string("hello world ")), in TEST() [all …]
|
/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 | 89 V8_INLINE size_t hash_value(type v) { return static_cast<size_t>(v); } 95 V8_BASE_EXPORT size_t hash_value(unsigned int); 96 V8_BASE_EXPORT size_t hash_value(unsigned long); // NOLINT(runtime/int) 97 V8_BASE_EXPORT size_t hash_value(unsigned long long); // NOLINT(runtime/int) 100 V8_INLINE size_t hash_value(signed type v) { \ 101 return hash_value(bit_cast<unsigned type>(v)); \ 110 V8_INLINE size_t hash_value(float v) { in V8_BASE_HASH_VALUE_SIGNED() 112 return v != 0.0f ? hash_value(bit_cast<uint32_t>(v)) : 0; in V8_BASE_HASH_VALUE_SIGNED() 115 V8_INLINE size_t hash_value(double v) { in hash_value() function 117 return v != 0.0 ? hash_value(bit_cast<uint64_t>(v)) : 0; in hash_value() [all …]
|
D | functional.cc | 97 size_t hash_value(unsigned int v) { return hash_value_unsigned(v); } in hash_value() function 100 size_t hash_value(unsigned long v) { // NOLINT(runtime/int) in hash_value() function 105 size_t hash_value(unsigned long long v) { // NOLINT(runtime/int) in hash_value() function
|
/external/v8/src/compiler/ |
D | simplified-operator.h | 38 size_t hash_value(BaseTaggedness); 42 size_t hash_value(LoadSensitivity); 85 size_t hash_value(FieldAccess const&); 131 size_t hash_value(ElementAccess const&); 160 size_t hash_value(CheckParameters const&); 182 size_t hash_value(CheckIfParameters const&); 194 size_t hash_value(CheckFloat64HoleMode); 217 size_t hash_value(CheckFloat64HoleParameters const&); 229 size_t hash_value(CheckTaggedInputMode); 253 size_t hash_value(const CheckTaggedInputParameters& params); [all …]
|
D | js-operator.h | 51 friend size_t hash_value(CallFrequency f) { in hash_value() function 82 friend size_t hash_value(ConstructForwardVarargsParameters const& p) { in hash_value() function 119 size_t hash_value(ConstructParameters const&); 144 friend size_t hash_value(CallForwardVarargsParameters const& p) { in hash_value() function 192 friend size_t hash_value(CallParameters const& p) { in hash_value() function 205 size_t hash_value(CallParameters const&); 230 size_t hash_value(CallRuntimeParameters const&); 259 size_t hash_value(ContextAccess const&); 287 size_t hash_value(CreateFunctionContextParameters const& parameters); 312 size_t hash_value(StoreNamedOwnParameters const&); [all …]
|
D | common-operator.h | 44 inline size_t hash_value(BranchHint hint) { return static_cast<size_t>(hint); } in hash_value() function 58 inline size_t hash_value(IsSafetyCheck is_safety_check) { in hash_value() function 69 inline size_t hash_value(TrapId id) { return static_cast<uint32_t>(id); } in hash_value() function 80 inline size_t hash_value(const BranchOperatorInfo& info) { in hash_value() function 151 size_t hash_value(SelectParameters const& p); 196 size_t hash_value(ObjectStateInfo const& p); 208 size_t hash_value(TypedObjectStateInfo const& p); 236 size_t hash_value(RelocatablePtrConstantInfo const& p); 353 size_t hash_value(TypedStateValueInfo const& p); 360 size_t hash_value(RegionObservability); [all …]
|
D | simplified-operator.cc | 20 size_t hash_value(BaseTaggedness base_taggedness) { in hash_value() function 43 size_t hash_value(FieldAccess const& access) { in hash_value() function 51 size_t hash_value(LoadSensitivity load_sensitivity) { in hash_value() function 108 size_t hash_value(ElementAccess const& access) { in hash_value() function 155 size_t hash_value(CheckFloat64HoleMode mode) { in hash_value() function 182 size_t hash_value(const CheckFloat64HoleParameters& params) { in hash_value() function 202 size_t hash_value(CheckForMinusZeroMode mode) { in hash_value() function 258 size_t hash_value(MapsParameterInfo const& p) { return hash_value(p.maps()); } in hash_value() function 266 size_t hash_value(CheckMapsParameters const& p) { in hash_value() function 293 size_t hash_value(CheckTaggedInputMode mode) { in hash_value() function [all …]
|
D | js-operator.cc | 54 size_t hash_value(ConstructParameters const& p) { in hash_value() function 102 size_t hash_value(CallRuntimeParameters const& p) { in hash_value() function 138 size_t hash_value(ContextAccess const& access) { in hash_value() function 173 size_t hash_value(CreateFunctionContextParameters const& parameters) { in hash_value() function 201 size_t hash_value(StoreNamedOwnParameters const& p) { in hash_value() function 222 size_t hash_value(FeedbackParameter const& p) { in hash_value() function 250 size_t hash_value(NamedAccess const& p) { in hash_value() function 291 size_t hash_value(PropertyAccess const& p) { in hash_value() function 310 size_t hash_value(LoadGlobalParameters const& p) { in hash_value() function 340 size_t hash_value(StoreGlobalParameters const& p) { in hash_value() function [all …]
|
/external/scapy/scapy/layers/tls/crypto/ |
D | hkdf.py | 37 def expand_label(self, secret, label, hash_value, length): argument 42 hkdf_label += struct.pack("B", len(hash_value)) 43 hkdf_label += hash_value 59 hash_value = h.finalize() 62 hm.update(hash_value)
|
/external/libaom/libaom/av1/encoder/ |
D | hash_motion.c | 135 uint32_t hash_value, in hash_table_add_to_table() argument 137 if (p_hash_table->p_lookup_table[hash_value] == NULL) { in hash_table_add_to_table() 138 p_hash_table->p_lookup_table[hash_value] = in hash_table_add_to_table() 140 aom_vector_setup(p_hash_table->p_lookup_table[hash_value], 10, in hash_table_add_to_table() 142 aom_vector_push_back(p_hash_table->p_lookup_table[hash_value], in hash_table_add_to_table() 145 aom_vector_push_back(p_hash_table->p_lookup_table[hash_value], in hash_table_add_to_table() 151 uint32_t hash_value) { in av1_hash_table_count() argument 152 if (p_hash_table->p_lookup_table[hash_value] == NULL) { in av1_hash_table_count() 155 return (int32_t)(p_hash_table->p_lookup_table[hash_value]->size); in av1_hash_table_count() 160 uint32_t hash_value) { in av1_hash_get_first_iterator() argument [all …]
|
/external/toolchain-utils/bestflags/ |
D | task_test.py | 36 def __init__(self, flags=0, hash_value=-1): argument 38 self._hash_value = hash_value 90 hash_value = hash(hash_task) 91 assert hash_value == flag_set.GetHash() 94 assert hash_value == hash(hash_task)
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | layout_util.cc | 456 size_t hash_value = hash<Format>()(layout.format()); in Hash() local 459 hash_value = Hash64Combine(hash_value, hash<int64>()(minor_to_major)); in Hash() 461 hash_value = Hash64Combine(hash_value, layout.max_sparse_elements()); in Hash() 465 hash_value = Hash64Combine(hash_value, hash<int64>()(tile_dim)); in Hash() 468 hash_value = Hash64Combine(hash_value, layout.element_size_in_bits()); in Hash() 470 return hash_value; in Hash()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 27 friend hash_code hash_value(const Vector &); 101 inline hash_code hash_value(const Vector &V) { in hash_value() function 124 friend hash_code hash_value(const Matrix &); 238 inline hash_code hash_value(const Matrix &M) { in hash_value() function 268 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value() function 269 return hash_value(static_cast<const Vector&>(V)); in hash_value() 285 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value() function 286 return hash_value(static_cast<const Matrix&>(M)); in hash_value()
|
/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()
|
/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/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_dnn.cc | 272 uint64 hash_value = tensorflow::hash<int>()(datatype); in GetHashValue() local 274 hash_value = in GetHashValue() 275 tensorflow::Hash64Combine(hash_value, tensorflow::hash<int>()(dim)); in GetHashValue() 277 hash_value = in GetHashValue() 278 tensorflow::Hash64Combine(hash_value, tensorflow::hash<int>()(stride)); in GetHashValue() 280 return hash_value; in GetHashValue() 289 uint64 hash_value = tensorflow::hash<int>()(c_mode); in GetHashValue() local 290 hash_value = in GetHashValue() 291 tensorflow::Hash64Combine(hash_value, tensorflow::hash<int>()(pad_h)); in GetHashValue() 292 hash_value = in GetHashValue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | Hashing.h | 94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() function 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(const std::basic_string<T> &arg); 375 using ::llvm::hash_value; 376 return hash_value(value); 633 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/ADT/ |
D | Hashing.h | 94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() function 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(const std::basic_string<T> &arg); 375 using ::llvm::hash_value; 376 return hash_value(value); 633 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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Hashing.h | 94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() function 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(const std::basic_string<T> &arg); 375 using ::llvm::hash_value; 376 return hash_value(value); 633 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/libcxx/test/std/input.output/filesystems/class.path/path.member/ |
D | path.compare.pass.cpp | 132 auto h1 = hash_value(p1); in test_compare_basic() 133 auto h2 = hash_value(p2); in test_compare_basic() 136 ASSERT_SAME_TYPE(size_t, decltype(hash_value(p1))); in test_compare_basic() 137 ASSERT_NOEXCEPT(hash_value(p1)); in test_compare_basic()
|
/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/u-boot/cmd/mvebu/ |
D | bubt.c | 537 u32 *hash_value; in check_image_header() local 564 hash_value = info->hash; in check_image_header() 579 memcpy(internal_hash, hash_value, in check_image_header() 581 memset(hash_value, 0, sizeof(internal_hash)); in check_image_header() 608 memcpy(hash_value, internal_hash, in check_image_header() 610 if (memcmp(hash_value, hash_output, hash_algorithm_id) != 0) { in check_image_header()
|