Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrFontScaler.h31 Hash getHash() const { return fHash; } in getHash()
34 return fHash < rh.fHash || (fHash == rh.fHash && this->lt(rh));
37 return fHash == rh.fHash && this->eq(rh);
50 const Hash fHash; variable
DGrMurmur3HashKey.h29 fHash = 0; in reset()
39 fHash = SkChecksum::Murmur3(fData, KEY_SIZE_IN_BYTES); in setKeyData()
46 if (fHash != other.fHash) {
55 return fHash; in getHash()
64 uint32_t fHash;
DGrFontScaler.cpp18 GrFontDescKey::GrFontDescKey(const SkDescriptor& desc) : fHash(desc.getChecksum()) { in GrFontDescKey()
/external/skia/src/core/
DSkTMultiMap.h35 SkASSERT(fHash.count() == 0); in ~SkTMultiMap()
39 ValueList* list = fHash.find(key); in insert()
50 fHash.add(SkNEW_ARGS(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.h385 SkASSERT(fHash.count() == fIndexedData.count()); in count()
386 return fHash.count(); in count()
428 const SkFlatData* found = fHash.find(*toReplace); in findAndReplace()
442 fHash.remove(*found); in findAndReplace()
493 SkFlatData* candidate = fHash.find(scratch); in findAndReturnMutableFlat()
499 fHash.add(detached); in findAndReturnMutableFlat()
553 SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::HashTraits> fHash; variable
DSkResourceCache.h45 uint32_t hash() const { return fHash; } in hash()
60 uint32_t fHash; member
240 Hash* fHash; variable
DSkResourceCache.cpp47 fHash = SkChecksum::Murmur3(this->as32() + kUnhashedLocal32s, in DECLARE_SKMESSAGEBUS_MESSAGE()
62 fHash = new Hash; in init()
204 delete fHash; in ~SkResourceCache()
212 Rec* rec = fHash->find(key); in find()
242 Rec* existing = fHash->find(rec->getKey()); in add()
249 fHash->add(rec); in add()
268 fHash->remove(rec->getKey()); in remove()
/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/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java325 if (fHash == 0) { in hashCode()
333 fHash = hash; in hashCode()
335 return fHash; in hashCode()
685 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.java1398 fHash = new Hashtable<String, SPUString>();
1415 SPUString hashedString = fHash.get(src);
1418 fHash.put(src, hashedString);
1430 private Hashtable<String, SPUString> fHash; // Key: Value: