Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkTMultiMap.h35 SkASSERT(fHash.count() == 0); in ~SkTMultiMap()
39 ValueList* list = fHash.find(key); in insert()
50 fHash.add(new ValueList(value)); in insert()
57 ValueList* list = fHash.find(key); in remove()
76 fHash.remove(key); in remove()
84 ValueList* list = fHash.find(key); in find()
93 ValueList* list = fHash.find(key); in find()
109 ValueList* list = fHash.find(key); in countForKey()
119 SkTDynamicHash<ValueList, Key> fHash;
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
DSkPictureFlat.h401 SkASSERT(fHash.count() == fIndexedData.count()); in count()
402 return fHash.count(); in count()
444 const SkFlatData* found = fHash.find(*toReplace); in findAndReplace()
458 fHash.remove(*found); in findAndReplace()
509 SkFlatData* candidate = fHash.find(scratch); in findAndReturnMutableFlat()
515 fHash.add(detached); in findAndReturnMutableFlat()
569 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash; variable
DSkResourceCache.h49 uint32_t hash() const { return fHash; } in hash()
64 uint32_t fHash; member
260 Hash* fHash; variable
DSkResourceCache.cpp50 fHash = SkChecksum::Murmur3(this->as32() + kUnhashedLocal32s, in DECLARE_SKMESSAGEBUS_MESSAGE()
65 fHash = new Hash; in init()
219 delete fHash; in ~SkResourceCache()
227 Rec* rec = fHash->find(key); in find()
257 Rec* existing = fHash->find(rec->getKey()); in add()
264 fHash->add(rec); in add()
283 fHash->remove(rec->getKey()); in remove()
/external/skia/src/gpu/text/
DGrFontScaler.h25 explicit GrFontDescKey(const SkDescriptor& desc) : fDesc(desc), fHash(desc.getChecksum()) {} in GrFontDescKey()
27 uint32_t getHash() const { return fHash; } in getHash()
30 return fHash == rh.fHash && fDesc.getDesc()->equals(*rh.fDesc.getDesc());
35 uint32_t fHash; variable
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp73 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { in SPUStringPool()
75 fHash = uhash_open(uhash_hashUnicodeString, // key hash function in SPUStringPool()
89 uhash_close(fHash); in ~SPUStringPool()
130 SPUString *hashedString = static_cast<SPUString *>(uhash_get(fHash, src)); in addString()
135 uhash_put(fHash, src, hashedString, &status); in addString()
Dtznames_impl.cpp411 fHash = NULL; in ZNStringPool()
421 fHash = uhash_open(uhash_hashUChars /* keyHash */, in ZNStringPool()
431 if (fHash != NULL) { in ~ZNStringPool()
432 uhash_close(fHash); in ~ZNStringPool()
433 fHash = NULL; in ~ZNStringPool()
451 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in get()
476 uhash_put(fHash, destString, destString, &status); in get()
492 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in adopt()
495 uhash_put(fHash, ncs, ncs, &status); in adopt()
515 uhash_close(fHash); in freeze()
[all …]
Duspoof_conf.h74 UHashtable *fHash; // Key: UnicodeString Value: SPUString variable
Dtznames_impl.h64 UHashtable *fHash; variable
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java317 if (fHash == 0) { in hashCode()
325 fHash = hash; in hashCode()
327 return fHash; in hashCode()
677 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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java315 if (fHash == 0) { in hashCode()
323 fHash = hash; in hashCode()
325 return fHash; in hashCode()
675 int fHash; // Zero if not yet computed. field in Trie2
DTrie2Writable.java296 fHash = 0; in set()
403 fHash = 0; in setRange()
525 fHash = 0; in setRange()
555 fHash = 0; in setForLeadSurrogateCodeUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java1419 fHash = new Hashtable<String, SPUString>();
1436 SPUString hashedString = fHash.get(src);
1439 fHash.put(src, hashedString);
1451 private Hashtable<String, SPUString> fHash; // Key: Value:
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSpoofChecker.java1382 fHash = new Hashtable<String, SPUString>();
1399 SPUString hashedString = fHash.get(src);
1402 fHash.put(src, hashedString);
1414 private Hashtable<String, SPUString> fHash; // Key: Value: