/external/v8/src/inspector/ |
D | string-16.h | 25 : m_impl(other.m_impl), hash_code(other.hash_code) {} in String16() 27 : m_impl(std::move(other.m_impl)), hash_code(other.hash_code) {} in String16() 41 hash_code = other.hash_code; 46 hash_code = other.hash_code; 76 std::swap(hash_code, other.hash_code); in swap() 84 if (!hash_code) { in hash() 85 for (char c : m_impl) hash_code = 31 * hash_code + c; in hash() 88 if (!hash_code) ++hash_code; in hash() 90 return hash_code; in hash() 112 mutable std::size_t hash_code = 0; variable
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Hashing.h | 72 class hash_code { 78 hash_code() = default; 81 hash_code(size_t value) : value(value) {} in hash_code() function 86 friend bool operator==(const hash_code &lhs, const hash_code &rhs) { 89 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) { 94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() 105 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type 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); [all …]
|
/external/llvm/include/llvm/ADT/ |
D | Hashing.h | 72 class hash_code { 78 hash_code() = default; 81 hash_code(size_t value) : value(value) {} in hash_code() function 86 friend bool operator==(const hash_code &lhs, const hash_code &rhs) { 89 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) { 94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() 105 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type 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); [all …]
|
/external/llvm/unittests/ADT/ |
D | HashingTest.cpp | 25 void PrintTo(const hash_code &code, std::ostream *os) { in PrintTo() 36 friend hash_code hash_value(const NonPOD &obj) { in hash_value() 128 hash_code hash_value(HashableDummy dummy) { return dummy.value; } in hash_value() 133 hash_code dummy_hash = hash_combine_range(&dummy, &dummy); in TEST() 134 EXPECT_NE(hash_code(0), dummy_hash); in TEST() 137 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1)); in TEST() 151 hash_code arr2_hash = hash_combine_range(begin(arr2), end(arr2)); in TEST() 156 hash_code arr3_hash = hash_combine_range(begin(arr3), end(arr3)); in TEST() 161 hash_code arr4_hash = hash_combine_range(begin(arr4), end(arr4)); in TEST() 167 hash_code arr5_hash = hash_combine_range(begin(arr5), end(arr5)); in TEST() [all …]
|
/external/libcxx/test/std/language.support/support.rtti/type.info/ |
D | type_info_hash.pass.cpp | 21 assert(t1.hash_code() == t2.hash_code()); in main() 22 assert(t1.hash_code() != t3.hash_code()); in main()
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_mgr.cc | 42 result.set_hash_code(type_index.hash_code()); in MakeResourceHandle() 71 Status ResourceMgr::InsertDebugTypeName(uint64 hash_code, in InsertDebugTypeName() argument 73 auto iter = debug_type_names_.emplace(hash_code, type_name); in InsertDebugTypeName() 81 const char* ResourceMgr::DebugTypeName(uint64 hash_code) const { in DebugTypeName() 82 auto type_name_iter = debug_type_names_.find(hash_code); in DebugTypeName() 147 if ((*b)->insert({{type.hash_code(), name}, resource}).second) { in DoCreate() 148 TF_RETURN_IF_ERROR(InsertDebugTypeName(type.hash_code(), type.name())); in DoCreate() 167 auto r = gtl::FindPtrOrNull(*b, {type.hash_code(), name}); in DoLookup() 202 return DoDelete(container, type.hash_code(), resource_name, type.name()); in DoDelete() 206 return DoDelete(handle.container(), handle.hash_code(), handle.name(), in Delete()
|
D | resource_handle.h | 51 uint64 hash_code() const { return hash_code_; } in hash_code() function 52 void set_hash_code(uint64 hash_code) { hash_code_ = hash_code; } in set_hash_code() argument
|
D | resource_handle.cc | 34 proto->set_hash_code(hash_code()); in AsProto() 42 set_hash_code(proto.hash_code()); in FromProto() 61 " name: ", name(), " hash_code: ", hash_code(), in DebugString()
|
D | resource_mgr.h | 188 Status InsertDebugTypeName(uint64 hash_code, const string& type_name) 194 const char* DebugTypeName(uint64 hash_code) const 451 if (type_index.hash_code() != p.hash_code()) { in ValidateDeviceAndType()
|
D | type_index.h | 53 uint64 hash_code() const { return hash_; } in hash_code() function
|
D | resource_handle.proto | 24 uint64 hash_code = 4; field
|
/external/clang/include/clang/Serialization/ |
D | ModuleFileExtension.h | 20 class hash_code; variable 83 virtual llvm::hash_code hashExtension(llvm::hash_code c) const;
|
/external/libcxx/include/ |
D | typeindex | 33 size_t hash_code() const noexcept; 85 size_t hash_code() const _NOEXCEPT {return __t_->hash_code();} 98 {return __index.hash_code();}
|
D | typeinfo | 29 size_t hash_code() const noexcept; 136 size_t hash_code() const _NOEXCEPT; 160 size_t hash_code() const _NOEXCEPT 192 size_t hash_code() const _NOEXCEPT
|
/external/libcxx/test/std/utilities/type.index/type.index.members/ |
D | hash_code.pass.cpp | 23 assert(t1.hash_code() == ti.hash_code()); in main()
|
/external/clang/lib/Serialization/ |
D | ModuleFileExtension.cpp | 16 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const { in hashExtension()
|
/external/ImageMagick/coders/ |
D | gif.c | 577 *hash_code, in EncodeImage() local 610 hash_code=(short *) AcquireQuantumMemory(MaxHashTable,sizeof(*hash_code)); in EncodeImage() 614 if ((packet == (unsigned char *) NULL) || (hash_code == (short *) NULL) || in EncodeImage() 620 if (hash_code != (short *) NULL) in EncodeImage() 621 hash_code=(short *) RelinquishMagickMemory(hash_code); in EncodeImage() 631 (void) ResetMagickMemory(hash_code,0,MaxHashTable*sizeof(*hash_code)); in EncodeImage() 677 if (hash_code[k] > 0) in EncodeImage() 682 waiting_code=hash_code[k]; in EncodeImage() 692 if (hash_code[k] == 0) in EncodeImage() 697 waiting_code=hash_code[k]; in EncodeImage() [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() 165 friend hash_code hash_value(const Matrix &); 380 inline hash_code hash_value(const Matrix &M) { in hash_value() 407 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value() 422 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value()
|
/external/clang/lib/Frontend/ |
D | TestModuleFileExtension.h | 59 llvm::hash_code hashExtension(llvm::hash_code Code) const override;
|
D | TestModuleFileExtension.cpp | 86 llvm::hash_code TestModuleFileExtension::hashExtension( in hashExtension() 87 llvm::hash_code Code) const { in hashExtension()
|
/external/webp/src/enc/ |
D | backward_references_enc.c | 254 uint32_t hash_code; in VP8LHashChainFill() local 282 hash_code = GetPixPairHash64(tmp); in VP8LHashChainFill() 283 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill() 284 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill() 289 hash_code = GetPixPairHash64(argb + pos); in VP8LHashChainFill() 290 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill() 291 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
|
/external/libcxx/test/std/utilities/type.index/type.index.hash/ |
D | hash.pass.cpp | 31 assert(std::hash<std::type_index>()(t1) == t1.hash_code()); in main()
|
/external/clang/test/PCH/ |
D | cxx-typeid.h | 17 unsigned long hash_code() const;
|
/external/libcxx/src/ |
D | typeinfo.cpp | 26 size_t std::type_info::hash_code() const _NOEXCEPT { in hash_code() function in std::type_info
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 33 class hash_code; variable 559 friend hash_code hash_value(const MachineOperand &MO); 760 hash_code hash_value(const MachineOperand &MO);
|