Home
last modified time | relevance | path

Searched refs:hash_code (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/libs/container_hash/test/
Dhash_type_index_test.cpp31 BOOST_TEST(hasher(int_index) == int_index.hash_code()); in test_type_index()
32 BOOST_TEST(hasher(int_index) == int2_index.hash_code()); in test_type_index()
33 BOOST_TEST(hasher(char_index) == char_index.hash_code()); in test_type_index()
34 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(int_index) == int_index.hash_code()); in test_type_index()
35 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(int_index) == int2_index.hash_code()); in test_type_index()
36 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(char_index) == char_index.hash_code()); in test_type_index()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h72 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 …]
DAPFloat.h419 friend hash_code hash_value(const IEEEFloat &Arg);
591 hash_code hash_value(const IEEEFloat &Arg);
1074 friend hash_code hash_value(const APFloat &Arg);
1086 hash_code hash_value(const APFloat &Arg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DHashing.h71 class hash_code {
77 hash_code() = default;
80 hash_code(size_t value) : value(value) {} in hash_code() function
85 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
88 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
93 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
104 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type
110 template <typename T> hash_code hash_value(const T *ptr);
114 hash_code hash_value(const std::pair<T, U> &arg);
118 hash_code hash_value(const std::basic_string<T> &arg);
[all …]
DDenseMapInfo.h276 template <> struct DenseMapInfo<hash_code> {
277 static inline hash_code getEmptyKey() { return hash_code(-1); }
278 static inline hash_code getTombstoneKey() { return hash_code(-2); }
279 static unsigned getHashValue(hash_code val) { return val; }
280 static bool isEqual(hash_code LHS, hash_code RHS) { return LHS == RHS; }
DAPFloat.h402 friend hash_code hash_value(const IEEEFloat &Arg);
582 hash_code hash_value(const IEEEFloat &Arg);
682 friend hash_code hash_value(const DoubleAPFloat &Arg);
685 hash_code hash_value(const DoubleAPFloat &Arg);
1200 friend hash_code hash_value(const APFloat &Arg);
1212 hash_code hash_value(const APFloat &Arg);
/third_party/boost/libs/type_index/test/
Dtype_index_test.cpp82 std::size_t t_int1 = type_id<int>().hash_code(); in hash_code_type_id()
83 std::size_t t_double1 = type_id<double>().hash_code(); in hash_code_type_id()
85 std::size_t t_int2 = type_id<int>().hash_code(); in hash_code_type_id()
86 std::size_t t_double2 = type_id<double>().hash_code(); in hash_code_type_id()
128 BOOST_TEST_EQ(t1.hash_code(), type_id_with_cvr<T1>().hash_code()); in test_with_modofiers()
129 BOOST_TEST_EQ(t2.hash_code(), type_id_with_cvr<T2>().hash_code()); in test_with_modofiers()
131 BOOST_TEST_NE(t1.hash_code(), type_id_with_cvr<T2>().hash_code()); in test_with_modofiers()
132 BOOST_TEST_NE(t2.hash_code(), type_id_with_cvr<T1>().hash_code()); in test_with_modofiers()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dwrgif.c94 code_int *hash_code; /* => hash table of symbol codes */ member
172 MEMZERO(dinfo->hash_code, HSIZE * sizeof(code_int)); in clear_hash()
204 if (dinfo->hash_code != NULL) in compress_init()
390 if (dest->hash_code[i] == 0) { in put_LZW_pixel_rows()
394 dest->hash_code[i] = dest->free_code++; /* add symbol to hashtable */ in put_LZW_pixel_rows()
402 dest->waiting_code = dest->hash_code[i]; in put_LZW_pixel_rows()
414 if (dest->hash_code[i] == 0) { in put_LZW_pixel_rows()
418 dest->hash_code[i] = dest->free_code++; /* add symbol to hashtable */ in put_LZW_pixel_rows()
426 dest->waiting_code = dest->hash_code[i]; in put_LZW_pixel_rows()
564 dest->hash_code = (code_int *) in jinit_write_gif()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DMath.h26 friend hash_code hash_value(const Vector &);
100 inline hash_code hash_value(const Vector &V) { in hash_value()
123 friend hash_code hash_value(const Matrix &);
237 inline hash_code hash_value(const Matrix &M) { in hash_value()
267 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value()
284 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DGVNExpression.h64 mutable hash_code HashVal = 0;
91 hash_code getComputedHash() const { in getComputedHash()
113 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue()
222 hash_code getHashValue() const override { in getHashValue()
280 hash_code getHashValue() const override { in getHashValue()
464 hash_code getHashValue() const override { in getHashValue()
525 hash_code getHashValue() const override { in getHashValue()
571 hash_code getHashValue() const override { in getHashValue()
608 hash_code getHashValue() const override { in getHashValue()
644 hash_code getHashValue() const override { in getHashValue()
/third_party/ffmpeg/libavcodec/
Dlzwenc.c152 static inline void addCode(LZWEncodeState * s, uint8_t c, int hash_prefix, int hash_code) in addCode() argument
154 s->tab[hash_code].code = s->tabsize; in addCode()
155 s->tab[hash_code].suffix = c; in addCode()
156 s->tab[hash_code].hash_prefix = hash_prefix; in addCode()
/third_party/boost/boost/type_index/
Dstl_type_index.hpp103 inline std::size_t hash_code() const BOOST_NOEXCEPT;
183 inline std::size_t stl_type_index::hash_code() const BOOST_NOEXCEPT { in hash_code() function in boost::typeindex::stl_type_index
185 return data_->hash_code(); in hash_code()
Dctti_type_index.hpp129 inline std::size_t hash_code() const BOOST_NOEXCEPT;
205 inline std::size_t ctti_type_index::hash_code() const BOOST_NOEXCEPT { in hash_code() function in boost::typeindex::ctti_type_index
Dtype_index_facade.hpp104 inline std::size_t hash_code() const BOOST_NOEXCEPT { in hash_code() function in boost::typeindex::type_index_facade
291 return static_cast<Derived const&>(lhs).hash_code(); in hash_value()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp267 static hash_code hashPartialMapping(unsigned StartIdx, unsigned Length, in hashPartialMapping()
273 hash_code
284 hash_code Hash = hashPartialMapping(StartIdx, Length, &RegBank); in getPartialMapping()
302 static hash_code
318 hash_code Hash = hashValueMapping(BreakDown, NumBreakDowns); in getValueMapping()
338 hash_code Hash = hash_combine_range(Begin, End); in getOperandsMapping()
373 static hash_code
391 hash_code Hash = in getInstructionMappingImpl()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.c255 uint32_t hash_code; in VP8LHashChainFill() local
283 hash_code = GetPixPairHash64(tmp); in VP8LHashChainFill()
284 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
285 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
290 hash_code = GetPixPairHash64(argb + pos); in VP8LHashChainFill()
291 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
292 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.c286 uint32_t hash_code; in VP8LHashChainFill() local
314 hash_code = GetPixPairHash64(tmp); in VP8LHashChainFill()
315 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
316 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
321 hash_code = GetPixPairHash64(argb + pos); in VP8LHashChainFill()
322 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
323 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DMergingTypeTableBuilder.h67 TypeIndex insertRecordAs(hash_code Hash, ArrayRef<uint8_t> &Record);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeHashing.cpp18 LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}};
DMergingTypeTableBuilder.cpp90 TypeIndex MergingTypeTableBuilder::insertRecordAs(hash_code Hash, in insertRecordAs()
/third_party/mindspore/third_party/proto/tensorflow/
Dresource_handle.proto29 uint64 hash_code = 4; field
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp370 hash_code getHashValue() const override { in getHashValue()
375 template <typename Function> hash_code getHashValue(Function MapFn) { in getHashValue()
376 hash_code H = in getHashValue()
497 hash_code H = exp->getHashValue([=](Value *V) { return lookupOrAdd(V); }); in lookupOrAdd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOperand.h39 class hash_code; variable
721 friend hash_code hash_value(const MachineOperand &MO);
983 hash_code hash_value(const MachineOperand &MO);
DRegAllocPBQP.h93 friend hash_code hash_value(const AllowedRegVector &);
122 inline hash_code hash_value(const AllowedRegVector &OptRegs) { in hash_value()
/third_party/f2fs-tools/fsck/
Ddir.c82 de->hash_code == namehash && in find_target_dentry()
208 de->hash_code = name_hash; in f2fs_update_dentry()
350 dent_blk->dentry[0].hash_code = 0; in make_empty_dir()
356 dent_blk->dentry[1].hash_code = 0; in make_empty_dir()

123