Home
last modified time | relevance | path

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

12

/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);
DAPInt.h29 class hash_code; variable
573 friend hash_code hash_value(const APInt &Arg);
1963 hash_code hash_value(const APInt &Arg);
DStringRef.h27 class hash_code; variable
896 hash_code hash_value(StringRef S);
/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);
DStringRef.h33 class hash_code; variable
918 hash_code hash_value(StringRef S);
/third_party/libjpeg-turbo/
Dwrgif.c94 code_int *hash_code; /* => hash table of symbol codes */ member
172 memset(dinfo->hash_code, 0, 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/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/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/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/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/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);
DTypeHashing.h33 hash_code Hash;
/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/lib/DebugInfo/CodeView/
DTypeHashing.cpp18 LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}};
DMergingTypeTableBuilder.cpp90 TypeIndex MergingTypeTableBuilder::insertRecordAs(hash_code Hash, in insertRecordAs()
/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.c83 de->hash_code == namehash && in find_target_dentry()
209 de->hash_code = name_hash; in f2fs_update_dentry()
351 dent_blk->dentry[0].hash_code = 0; in make_empty_dir()
357 dent_blk->dentry[1].hash_code = 0; in make_empty_dir()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c1495 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_lpf()
1501 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_lpf()
1632 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1638 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_root()
1652 dent_blk->dentry[2].hash_code = cpu_to_le32(hash); in f2fs_add_default_dentry_root()

12