/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 | 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/v8/src/compiler/ |
D | js-operator.h | 52 size_t hash_value(VectorSlotPair const&); 84 size_t hash_value(ConstructParameters const&); 108 size_t hash_value(ConstructWithSpreadParameters const&); 137 friend size_t hash_value(CallForwardVarargsParameters const& p) { in hash_value() function 182 friend size_t hash_value(CallParameters const& p) { in hash_value() function 195 size_t hash_value(CallParameters const&); 219 size_t hash_value(CallWithSpreadParameters const&); 243 size_t hash_value(CallRuntimeParameters const&); 272 size_t hash_value(ContextAccess const&); 298 size_t hash_value(CreateCatchContextParameters const& parameters); [all …]
|
D | simplified-operator.h | 33 size_t hash_value(BaseTaggedness); 54 size_t hash_value(BufferAccess); 79 size_t hash_value(FieldAccess const&); 106 size_t hash_value(ElementAccess const&); 120 size_t hash_value(CheckFloat64HoleMode); 131 size_t hash_value(CheckTaggedInputMode); 142 size_t hash_value(CheckForMinusZeroMode); 176 size_t hash_value(CheckMapsParameters const&); 223 size_t hash_value(ElementsTransition); 238 size_t hash_value(NumberOperationHint);
|
D | common-operator.h | 43 inline size_t hash_value(BranchHint hint) { return static_cast<size_t>(hint); } in hash_value() function 93 size_t hash_value(SelectParameters const& p); 153 size_t hash_value(RelocatablePtrConstantInfo const& p); 270 size_t hash_value(TypedStateValueInfo const& p); 277 size_t hash_value(RegionObservability); 291 size_t hash_value(OsrGuardType type);
|
D | js-operator.cc | 39 size_t hash_value(VectorSlotPair const& p) { in hash_value() function 66 size_t hash_value(ConstructParameters const& p) { in hash_value() function 89 size_t hash_value(ConstructWithSpreadParameters const& p) { in hash_value() function 136 size_t hash_value(CallWithSpreadParameters const& p) { in hash_value() function 161 size_t hash_value(CallRuntimeParameters const& p) { in hash_value() function 197 size_t hash_value(ContextAccess const& access) { in hash_value() function 229 size_t hash_value(CreateCatchContextParameters const& parameters) { in hash_value() function 261 size_t hash_value(CreateFunctionContextParameters const& parameters) { in hash_value() function 288 size_t hash_value(StoreNamedOwnParameters const& p) { in hash_value() function 311 size_t hash_value(DataPropertyParameters const& p) { in hash_value() function [all …]
|
D | frame-states.cc | 15 size_t hash_value(OutputFrameStateCombine const& sc) { in hash_value() function 45 size_t hash_value(FrameStateInfo const& info) { in hash_value() function
|
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 105 size_t hash_value(FieldAccess const& access) { in hash_value() function 157 size_t hash_value(ElementAccess const& access) { in hash_value() function 195 size_t hash_value(CheckFloat64HoleMode mode) { in hash_value() function 222 size_t hash_value(CheckForMinusZeroMode mode) { in hash_value() function 257 size_t hash_value(CheckMapsParameters const& p) { in hash_value() function 275 size_t hash_value(CheckTaggedInputMode mode) { in hash_value() function 330 size_t hash_value(ElementsTransition transition) { in hash_value() function 369 size_t hash_value(NumberOperationHint hint) { in hash_value() function
|
D | frame-states.h | 64 friend size_t hash_value(OutputFrameStateCombine const&); 151 size_t hash_value(FrameStateInfo const&);
|
D | common-operator.cc | 55 size_t hash_value(DeoptimizeParameters p) { in hash_value() function 82 size_t hash_value(SelectParameters const& p) { in hash_value() function 137 size_t hash_value(ParameterInfo const& p) { return p.index(); } in hash_value() function 157 size_t hash_value(RelocatablePtrConstantInfo const& p) { in hash_value() function 222 size_t hash_value(SparseInputMask const& p) { in hash_value() function 223 return base::hash_value(p.mask()); in hash_value() 258 size_t hash_value(TypedStateValueInfo const& p) { in hash_value() function 266 size_t hash_value(RegionObservability observability) { in hash_value() function 310 size_t hash_value(OsrGuardType type) { return static_cast<size_t>(type); } in hash_value() function
|
/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/libcxx/test/std/experimental/filesystem/class.path/path.member/ |
D | path.compare.pass.cpp | 124 auto h1 = hash_value(p1); in main() 125 auto h2 = hash_value(p2); in main() 128 ASSERT_SAME_TYPE(size_t, decltype(hash_value(p1))); in main() 129 ASSERT_NOEXCEPT(hash_value(p1)); in main()
|
/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/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 | 37 unsigned int (*hash_value) (struct hashtab_val * h, const_hashtab_key_t key); /* hash function */ member 55 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
|
/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/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/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/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 41 unsigned int (*hash_value) (struct hashtab_val * h, const_hashtab_key_t key); /* hash function */ member 53 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h,
|
/external/v8/src/ |
D | type-hints.h | 24 inline size_t hash_value(BinaryOperationHint hint) { in hash_value() function 42 inline size_t hash_value(CompareOperationHint hint) { in hash_value() function
|
D | globals.h | 344 inline size_t hash_value(DeoptimizeKind kind) { in hash_value() function 520 inline size_t hash_value(Decision decision) { in hash_value() function 545 inline size_t hash_value(WriteBarrierKind kind) { in hash_value() function 819 inline size_t hash_value(ConvertReceiverMode mode) { in hash_value() function 839 inline size_t hash_value(TailCallMode mode) { return bit_cast<unsigned>(mode); } in hash_value() function 867 inline size_t hash_value(CreateArgumentsType type) { in hash_value() function 1217 inline size_t hash_value(InterpreterPushArgsMode mode) { in hash_value() function 1291 inline size_t hash_value(UnicodeEncoding encoding) { in hash_value() function
|
D | deoptimize-reason.cc | 22 size_t hash_value(DeoptimizeReason reason) { in hash_value() function
|
/external/libcxx/src/experimental/filesystem/ |
D | path.cpp | 396 size_t hash_value(const path& __p) noexcept { in hash_value() function 398 size_t hash_value = 0; in hash_value() local 401 hash_value = __hash_combine(hash_value, hasher(*PP)); in hash_value() 404 return hash_value; in hash_value()
|