Home
last modified time | relevance | path

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

/external/skia/gpu/include/
DGrKey.h27 explicit GrKey(Hash hash) : fHash(hash) {} in GrKey()
29 intptr_t getHash() const { return fHash; } in getHash()
32 return fHash < rh.fHash || (fHash == rh.fHash && this->lt(rh));
35 return fHash == rh.fHash && this->eq(rh);
43 const Hash fHash;
DGrTHashCache.h34 GrTHashTable() { Gr_bzero(fHash, sizeof(fHash)); } in GrTHashTable()
72 mutable T* fHash[kHashCount]; variable
120 T* elem = fHash[hashIndex]; in find()
130 fHash[hashIndex] = elem; in find()
146 fHash[hash2Index(key.getHash())] = elem; in insert()
153 if (fHash[index] == elem) { in remove()
154 fHash[index] = NULL; in remove()
173 if (fHash[hashIndex] == fSorted[elemIndex]) { in removeAt()
174 fHash[hashIndex] = NULL; in removeAt()
185 Gr_bzero(fHash, sizeof(fHash)); in removeAll()
[all …]
/external/skia/src/core/
DSkGlyphCache.cpp422 SkGlyphCache* fHash[HASH_COUNT]; member in SkGlyphCache_Globals
438 memset(rec->fHash, 0, sizeof(rec->fHash)); in create_globals()
487 SkGlyphCache** hash = globals.fHash; in VisitCache()
560 SkASSERT(globals.fHash[index] != cache); in AttachCache()
561 globals.fHash[index] = cache; in AttachCache()
636 if (cache == globals->fHash[index]) { in InternalFreeCache()
637 globals->fHash[index] = NULL; in InternalFreeCache()
/external/icu4c/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()
Duspoof_conf.h74 UHashtable *fHash; // Key: UnicodeString Value: SPUString variable
Dzstrfmt.cpp2117 fHash = NULL; in ZSFStringPool()
2127 fHash = uhash_open(uhash_hashUChars /* keyHash */, in ZSFStringPool()
2138 if (fHash != NULL) { in ~ZSFStringPool()
2139 uhash_close(fHash); in ~ZSFStringPool()
2140 fHash = NULL; in ~ZSFStringPool()
2158 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in get()
2183 uhash_put(fHash, destString, destString, &status); in get()
2199 pooledString = static_cast<UChar *>(uhash_get(fHash, s)); in adopt()
2202 uhash_put(fHash, ncs, ncs, &status); in adopt()
2222 uhash_close(fHash); in freeze()
[all …]
Dzstrfmt.h113 UHashtable *fHash; variable