Searched refs:hash_code (Results 1 - 25 of 57) sorted by relevance

123

/external/libcxx/test/std/utilities/type.index/type.index.members/
H A Dhash_code.pass.cpp14 // size_t hash_code() const;
23 assert(t1.hash_code() == ti.hash_code());
/external/libcxx/test/std/language.support/support.rtti/type.info/
H A Dtype_info_hash.pass.cpp21 assert(t1.hash_code() == t2.hash_code());
22 assert(t1.hash_code() != t3.hash_code());
/external/clang/lib/Serialization/
H A DModuleFileExtension.cpp16 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const {
/external/v8/src/inspector/
H A Dstring-16.h25 : m_impl(other.m_impl), hash_code(other.hash_code) {}
27 : m_impl(std::move(other.m_impl)), hash_code(other.hash_code) {}
41 hash_code = other.hash_code;
46 hash_code = other.hash_code;
76 std::swap(hash_code, other.hash_code);
112 mutable std::size_t hash_code = 0; member in class:v8_inspector::String16
[all...]
/external/libcxx/test/std/utilities/type.index/type.index.hash/
H A Dhash.pass.cpp31 assert(std::hash<std::type_index>()(t1) == t1.hash_code());
/external/clang/include/clang/Serialization/
H A DModuleFileExtension.h20 class hash_code;
83 virtual llvm::hash_code hashExtension(llvm::hash_code c) const;
/external/tensorflow/tensorflow/core/framework/
H A Dresource_handle.cc34 proto->set_hash_code(hash_code());
42 set_hash_code(proto.hash_code());
61 " name: ", name(), " hash_code: ", hash_code(),
H A Dresource_handle.h51 uint64 hash_code() const { return hash_code_; } function in class:tensorflow::ResourceHandle
52 void set_hash_code(uint64 hash_code) { hash_code_ = hash_code; } argument
H A Dresource_mgr.cc42 result.set_hash_code(type_index.hash_code());
71 Status ResourceMgr::InsertDebugTypeName(uint64 hash_code, argument
73 auto iter = debug_type_names_.emplace(hash_code, type_name);
81 const char* ResourceMgr::DebugTypeName(uint64 hash_code) const {
82 auto type_name_iter = debug_type_names_.find(hash_code);
147 if ((*b)->insert({{type.hash_code(), name}, resource}).second) {
148 TF_RETURN_IF_ERROR(InsertDebugTypeName(type.hash_code(), type.name()));
167 auto r = gtl::FindPtrOrNull(*b, {type.hash_code(), name});
202 return DoDelete(container, type.hash_code(), resource_name, type.name());
206 return DoDelete(handle.container(), handle.hash_code(), handl
[all...]
H A Dtype_index.h53 uint64 hash_code() const { return hash_; } function in class:tensorflow::TypeIndex
H A Dresource_mgr.h187 // Inserts the type name for 'hash_code' into the hash_code to type name map.
188 Status InsertDebugTypeName(uint64 hash_code, const string& type_name)
191 // Returns the type name for the 'hash_code'.
194 const char* DebugTypeName(uint64 hash_code) const
197 // Map from type hash_code to type name.
374 // typeid(T).hash_code() is part of the map key.
451 if (type_index.hash_code() != p.hash_code()) {
/external/clang/test/PCH/
H A Dcxx-typeid.h17 unsigned long hash_code() const;
/external/llvm/include/llvm/ADT/
H A DHashing.h17 // -- 'hash_code' class is an opaque type representing the hash code for some
21 // to assume much about the internals of a hash_code. In particular, each
23 // hash_code for a given input. Thus their values are not stable to save or
34 // a single hash_code for their object. They should only logically be used
67 /// In order to obtain the hash_code for an object 'x':
70 /// llvm::hash_code code = hash_value(x);
72 class hash_code { class in namespace:llvm
76 /// \brief Default construct a hash_code.
78 hash_code() = default;
81 hash_code(size_ function in class:llvm::hash_code
[all...]
H A DAPFloat.h471 friend hash_code hash_value(const APFloat &Arg);
649 hash_code hash_value(const APFloat &Arg);
H A DStringRef.h26 class hash_code;
624 /// \brief Compute a hash_code for a StringRef.
625 hash_code hash_value(StringRef S);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DHashing.h17 // -- 'hash_code' class is an opaque type representing the hash code for some
21 // to assume much about the internals of a hash_code. In particular, each
23 // hash_code for a given input. Thus their values are not stable to save or
34 // a single hash_code for their object. They should only logically be used
67 /// In order to obtain the hash_code for an object 'x':
70 /// llvm::hash_code code = hash_value(x);
72 class hash_code { class in namespace:llvm
76 /// \brief Default construct a hash_code.
78 hash_code() = default;
81 hash_code(size_ function in class:llvm::hash_code
[all...]
/external/clang/lib/Frontend/
H A DTestModuleFileExtension.h59 llvm::hash_code hashExtension(llvm::hash_code Code) const override;
H A DTestModuleFileExtension.cpp86 llvm::hash_code TestModuleFileExtension::hashExtension(
87 llvm::hash_code Code) const {
/external/libcxx/src/
H A Dtypeinfo.cpp26 size_t std::type_info::hash_code() const _NOEXCEPT {
/external/llvm/unittests/ADT/
H A DHashingTest.cpp25 void PrintTo(const hash_code &code, std::ostream *os) {
36 friend hash_code hash_value(const NonPOD &obj) {
128 hash_code hash_value(HashableDummy dummy) { return dummy.value; }
133 hash_code dummy_hash = hash_combine_range(&dummy, &dummy);
134 EXPECT_NE(hash_code(0), dummy_hash);
137 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1));
151 hash_code arr2_hash = hash_combine_range(begin(arr2), end(arr2));
156 hash_code arr3_hash = hash_combine_range(begin(arr3), end(arr3));
161 hash_code arr4_hash = hash_combine_range(begin(arr4), end(arr4));
167 hash_code arr5_has
[all...]
/external/ImageMagick/coders/
H A Dgif.c583 *hash_code,
616 hash_code=(short *) AcquireQuantumMemory(MaxHashTable,sizeof(*hash_code));
620 if ((packet == (unsigned char *) NULL) || (hash_code == (short *) NULL) ||
626 if (hash_code != (short *) NULL)
627 hash_code=(short *) RelinquishMagickMemory(hash_code);
637 (void) ResetMagickMemory(hash_code,0,MaxHashTable*sizeof(*hash_code));
683 if (hash_code[
577 *hash_code, local
[all...]
/external/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h25 friend hash_code hash_value(const Vector &);
142 inline hash_code hash_value(const Vector &V) {
165 friend hash_code hash_value(const Matrix &);
379 /// \brief Return a hash_code for the given matrix.
380 inline hash_code hash_value(const Matrix &M) {
407 inline hash_code hash_value(const MDVector<Metadata> &V) {
422 inline hash_code hash_value(const MDMatrix<Metadata> &M) {
/external/webp/src/enc/
H A Dbackward_references_enc.c254 uint32_t hash_code; local
282 hash_code = GetPixPairHash64(tmp);
283 chain[pos] = hash_to_first_index[hash_code];
284 hash_to_first_index[hash_code] = pos++;
289 hash_code = GetPixPairHash64(argb + pos);
290 chain[pos] = hash_to_first_index[hash_code];
291 hash_to_first_index[hash_code] = pos++;
/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h33 class hash_code;
559 friend hash_code hash_value(const MachineOperand &MO);
760 hash_code hash_value(const MachineOperand &MO);
/external/f2fs-tools/fsck/
H A Ddir.c82 de->hash_code == namehash &&
190 de->hash_code = name_hash;
330 dent_blk->dentry[0].hash_code = 0;
336 dent_blk->dentry[1].hash_code = 0;

Completed in 987 milliseconds

123