Home
last modified time | relevance | path

Searched refs:fHash (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/src/core/
DSkTMultiMap.h36 fHash.foreach([&](ValueList* vl) { in reset()
44 fHash.reset(); in reset()
49 ValueList* list = fHash.find(key); in insert()
60 fHash.add(new ValueList(value)); in insert()
67 ValueList* list = fHash.find(key); in remove()
95 ValueList* list = fHash.find(key); in find()
104 ValueList* list = fHash.find(key); in find()
116 ValueList* list = fHash.find(key); in findAndRemove()
136 fHash.foreach([&](const ValueList& vl) { in foreach()
144 for (ValueList* list = fHash.find(key); list; list = list->fNext) { in has()
[all …]
DSkResourceCache.cpp60 fHash = SkOpts::hash(this->as32() + kUnhashedLocal32s, in init()
84 fHash = new Hash; in init()
113 delete fHash; in ~SkResourceCache()
121 if (auto found = fHash->find(key)) { in find()
151 if (Rec** preexisting = fHash->find(rec->getKey())) { in add()
165 fHash->set(rec); in add()
186 fHash->remove(rec->getKey()); in remove()
DSkResourceCache.h49 uint32_t hash() const { return fHash; } in hash()
64 uint32_t fHash; member
265 Hash* fHash; variable
/third_party/flutter/skia/src/core/
DSkTMultiMap.h33 typename SkTDynamicHash<ValueList, Key>::Iter iter(&fHash); in ~SkTMultiMap()
45 ValueList* list = fHash.find(key); in insert()
56 fHash.add(new ValueList(value)); in insert()
63 ValueList* list = fHash.find(key); in remove()
91 ValueList* list = fHash.find(key); in find()
100 ValueList* list = fHash.find(key); in find()
112 ValueList* list = fHash.find(key); in findAndRemove()
133 : fIter(&(mmap->fHash)) in ConstIter()
167 for (ValueList* list = fHash.find(key); list; list = list->fNext) { in has()
178 ValueList* list = fHash.find(key); in countForKey()
[all …]
DSkTDynamicHash.h35 explicit Iter(SkTDynamicHash* hash) : fHash(hash), fCurrentIndex(-1) { in Iter()
40 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done()
41 return fCurrentIndex == fHash->fCapacity; in done()
54 T* current() const { return fHash->fArray[fCurrentIndex]; } in current()
56 SkTDynamicHash* fHash; variable
62 explicit ConstIter(const SkTDynamicHash* hash) : fHash(hash), fCurrentIndex(-1) { in ConstIter()
67 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done()
68 return fCurrentIndex == fHash->fCapacity; in done()
81 const T* current() const { return fHash->fArray[fCurrentIndex]; } in current()
83 const SkTDynamicHash* fHash; variable
DSkResourceCache.cpp60 fHash = SkOpts::hash(this->as32() + kUnhashedLocal32s, in init()
84 fHash = new Hash; in init()
111 delete fHash; in ~SkResourceCache()
119 if (auto found = fHash->find(key)) { in find()
149 if (Rec** preexisting = fHash->find(rec->getKey())) { in add()
163 fHash->set(rec); in add()
184 fHash->remove(rec->getKey()); in remove()
DSkResourceCache.h49 uint32_t hash() const { return fHash; } in hash()
64 uint32_t fHash; member
264 Hash* fHash; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Duspoof_conf.cpp77 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { in SPUStringPool()
83 fHash = uhash_open(uhash_hashUnicodeString, // key hash function in SPUStringPool()
97 uhash_close(fHash); in ~SPUStringPool()
138 SPUString *hashedString = static_cast<SPUString *>(uhash_get(fHash, src)); in addString()
147 uhash_put(fHash, src, hashedString, &status); in addString()
Dtznames_impl.cpp463 fHash = NULL; in ZNStringPool()
473 fHash = uhash_open(uhash_hashUChars /* keyHash */, in ZNStringPool()
483 if (fHash != NULL) { in ~ZNStringPool()
484 uhash_close(fHash); in ~ZNStringPool()
485 fHash = NULL; in ~ZNStringPool()
503 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in get()
528 uhash_put(fHash, destString, destString, &status); in get()
544 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in adopt()
547 uhash_put(fHash, ncs, ncs, &status); in adopt()
567 uhash_close(fHash); in freeze()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Duspoof_conf.cpp77 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { in SPUStringPool()
83 fHash = uhash_open(uhash_hashUnicodeString, // key hash function in SPUStringPool()
97 uhash_close(fHash); in ~SPUStringPool()
138 SPUString *hashedString = static_cast<SPUString *>(uhash_get(fHash, src)); in addString()
147 uhash_put(fHash, src, hashedString, &status); in addString()
Dtznames_impl.cpp463 fHash = NULL; in ZNStringPool()
473 fHash = uhash_open(uhash_hashUChars /* keyHash */, in ZNStringPool()
483 if (fHash != NULL) { in ~ZNStringPool()
484 uhash_close(fHash); in ~ZNStringPool()
485 fHash = NULL; in ~ZNStringPool()
503 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in get()
528 uhash_put(fHash, destString, destString, &status); in get()
544 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in adopt()
547 uhash_put(fHash, ncs, ncs, &status); in adopt()
567 uhash_close(fHash); in freeze()
[all …]
Duspoof_conf.h80 UHashtable *fHash; // Key: UnicodeString Value: SPUString variable
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Duspoof_conf.cpp77 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { in SPUStringPool()
83 fHash = uhash_open(uhash_hashUnicodeString, // key hash function in SPUStringPool()
97 uhash_close(fHash); in ~SPUStringPool()
138 SPUString *hashedString = static_cast<SPUString *>(uhash_get(fHash, src)); in addString()
147 uhash_put(fHash, src, hashedString, &status); in addString()
Dtznames_impl.cpp459 fHash = NULL; in ZNStringPool()
469 fHash = uhash_open(uhash_hashUChars /* keyHash */, in ZNStringPool()
479 if (fHash != NULL) { in ~ZNStringPool()
480 uhash_close(fHash); in ~ZNStringPool()
481 fHash = NULL; in ~ZNStringPool()
499 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in get()
524 uhash_put(fHash, destString, destString, &status); in get()
540 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in adopt()
543 uhash_put(fHash, ncs, ncs, &status); in adopt()
563 uhash_close(fHash); in freeze()
[all …]
Duspoof_conf.h80 UHashtable *fHash; // Key: UnicodeString Value: SPUString variable
/third_party/icu/icu4c/source/i18n/
Duspoof_conf.cpp77 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { in SPUStringPool()
83 fHash = uhash_open(uhash_hashUnicodeString, // key hash function in SPUStringPool()
97 uhash_close(fHash); in ~SPUStringPool()
138 SPUString *hashedString = static_cast<SPUString *>(uhash_get(fHash, src)); in addString()
147 uhash_put(fHash, src, hashedString, &status); in addString()
Dtznames_impl.cpp463 fHash = NULL; in ZNStringPool()
473 fHash = uhash_open(uhash_hashUChars /* keyHash */, in ZNStringPool()
483 if (fHash != NULL) { in ~ZNStringPool()
484 uhash_close(fHash); in ~ZNStringPool()
485 fHash = NULL; in ~ZNStringPool()
503 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in get()
528 uhash_put(fHash, destString, destString, &status); in get()
544 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in adopt()
547 uhash_put(fHash, ncs, ncs, &status); in adopt()
567 uhash_close(fHash); in freeze()
[all …]
Duspoof_conf.h80 UHashtable *fHash; // Key: UnicodeString Value: SPUString variable
/third_party/flutter/skia/src/pdf/
DSkPDFGradientShader.h33 uint32_t fHash; member
37 uint32_t operator()(const Key& k) const { return k.fHash; } in operator()
/third_party/skia/src/pdf/
DSkPDFGradientShader.h33 uint32_t fHash; member
37 uint32_t operator()(const Key& k) const { return k.fHash; } in operator()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java319 if (fHash == 0) { in hashCode()
327 fHash = hash; in hashCode()
329 return fHash; in hashCode()
686 int fHash; // Zero if not yet computed. field in Trie2
DTrie2Writable.java298 fHash = 0; in set()
405 fHash = 0; in setRange()
527 fHash = 0; in setRange()
557 fHash = 0; in setForLeadSurrogateCodeUnit()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTrie2.java321 if (fHash == 0) { in hashCode()
329 fHash = hash; in hashCode()
331 return fHash; in hashCode()
692 int fHash; // Zero if not yet computed. field in Trie2
DTrie2Writable.java300 fHash = 0; in set()
407 fHash = 0; in setRange()
529 fHash = 0; in setRange()
559 fHash = 0; in setForLeadSurrogateCodeUnit()
/third_party/skia/src/sksl/ir/
DSkSLSymbolTable.h148 uint32_t fHash; member
153 uint32_t operator()(const SymbolKey& key) const { return key.fHash; } in operator()

12