/external/skia/tests/ |
H A D | HashCacheTest.cpp | 16 int fKey; member in struct:HashElement 38 HashKey(int key) : fKey(key) {} 40 uint32_t getHash() const { return fKey; } 43 return entry.fKey < key.fKey; 46 return entry.fKey == key.fKey; 51 return entry.fKey; 54 return a.fKey < b.fKey; 62 int fKey; member in class:HashKey [all...] |
H A D | PathOpsThreadedCommon.h | 27 const char* fKey; member in struct:PathOpsThreadState
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrTextureStripAtlas.h | 83 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(NULL), fPrev(NULL) { } 85 uint32_t fKey; member in struct:GrTextureStripAtlas::AtlasRow 124 return lhs.fKey < rhs.fKey; 144 int compare(const AtlasHashKey& key) const { return fKey.compare(key); } 145 AtlasHashKey fKey; member in class:GrTextureStripAtlas::AtlasEntry
|
H A D | GrTextureStripAtlas.cpp | 43 GetCache()->remove(entry->fKey, entry); 62 entry->fKey = key; 133 uint32_t oldKey = row->fKey; 149 row->fKey = key; 227 fRows[i].fKey = kEmptyAtlasRowKey; 275 target.fKey = key; 287 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey; 289 GrAssert(prev < fKeyTable[i]->fKey); 290 GrAssert(fKeyTable[i]->fKey != kEmptyAtlasRowKey); 291 prev = fKeyTable[i]->fKey; [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrTextureStripAtlas.h | 83 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(NULL), fPrev(NULL) { } 85 uint32_t fKey; member in struct:GrTextureStripAtlas::AtlasRow 124 return lhs.fKey < rhs.fKey; 144 int compare(const AtlasHashKey& key) const { return fKey.compare(key); } 145 AtlasHashKey fKey; member in class:GrTextureStripAtlas::AtlasEntry
|
H A D | GrTextureStripAtlas.cpp | 43 GetCache()->remove(entry->fKey, entry); 62 entry->fKey = key; 133 uint32_t oldKey = row->fKey; 149 row->fKey = key; 227 fRows[i].fKey = kEmptyAtlasRowKey; 275 target.fKey = key; 287 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey; 289 GrAssert(prev < fKeyTable[i]->fKey); 290 GrAssert(fKeyTable[i]->fKey != kEmptyAtlasRowKey); 291 prev = fKeyTable[i]->fKey; [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrResourceCache.h | 52 fKey = src.fKey; 56 fKey.fHashedKey.reset(); 65 return fKey.fHashedKey.getHash() & kHashMask; 70 *reinterpret_cast<const GrCacheID::Domain*>(fKey.fHashedKey.getData() + 75 return *reinterpret_cast<const ResourceType*>(fKey.fHashedKey.getData() + 80 return *reinterpret_cast<const ResourceFlags*>(fKey.fHashedKey.getData() + 85 return fKey.fHashedKey.compare(other.fKey.fHashedKey); 127 fKey 141 Key fKey; member in class:GrResourceKey 161 GrResourceKey fKey; member in class:GrResourceEntry [all...] |
H A D | SkGrFontScaler.cpp | 72 fKey = NULL; 76 GrSafeUnref(fKey); 97 if (NULL == fKey) { 98 fKey = SkNEW_ARGS(SkGrDescKey, (fStrike->getDescriptor())); 100 return fKey;
|
/external/skia/src/gpu/ |
H A D | GrResourceCache.h | 52 fKey = src.fKey; 56 fKey.fHashedKey.reset(); 65 return fKey.fHashedKey.getHash() & kHashMask; 70 *reinterpret_cast<const GrCacheID::Domain*>(fKey.fHashedKey.getData() + 75 return *reinterpret_cast<const ResourceType*>(fKey.fHashedKey.getData() + 80 return *reinterpret_cast<const ResourceFlags*>(fKey.fHashedKey.getData() + 85 return fKey.fHashedKey.compare(other.fKey.fHashedKey); 127 fKey 141 Key fKey; member in class:GrResourceKey 161 GrResourceKey fKey; member in class:GrResourceEntry [all...] |
H A D | SkGrFontScaler.cpp | 72 fKey = NULL; 76 GrSafeUnref(fKey); 97 if (NULL == fKey) { 98 fKey = SkNEW_ARGS(SkGrDescKey, (fStrike->getDescriptor())); 100 return fKey;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkData.cpp | 198 if (!strcmp(key, array[i].fKey)) { 217 fPairs[0].fKey = (char*)(fPairs + 1); 218 memcpy(const_cast<char*>(fPairs[0].fKey), key, keyLen + 1); 234 keySize += strlen(array[i].fKey) + 1; 243 if (!findValue(array[i].fKey, pairs, uniqueCount)) { 244 size_t len = strlen(array[i].fKey); 245 memcpy(keyStorage, array[i].fKey, len + 1); 246 pairs[uniqueCount].fKey = keyStorage; 274 stream->write(fPairs[0].fKey, fKeySize); 284 buffer.writeByteArray(fPairs[0].fKey, fKeySiz [all...] |
H A D | SkScaledImageCache.cpp | 98 Rec(const Key& key, const SkBitmap& bm) : fKey(key), fBitmap(bm) { 103 Rec(const Key& key, const SkMipMap* mip) : fKey(key) { 121 Key fKey; member in struct:SkScaledImageCache::Rec 134 return rec.fKey; 142 return rec.fKey == key; 191 if (rec->fKey == key) { 325 fHash->remove(rec->fKey);
|
/external/skia/src/core/ |
H A D | SkData.cpp | 198 if (!strcmp(key, array[i].fKey)) { 217 fPairs[0].fKey = (char*)(fPairs + 1); 218 memcpy(const_cast<char*>(fPairs[0].fKey), key, keyLen + 1); 234 keySize += strlen(array[i].fKey) + 1; 243 if (!findValue(array[i].fKey, pairs, uniqueCount)) { 244 size_t len = strlen(array[i].fKey); 245 memcpy(keyStorage, array[i].fKey, len + 1); 246 pairs[uniqueCount].fKey = keyStorage; 274 stream->write(fPairs[0].fKey, fKeySize); 284 buffer.writeByteArray(fPairs[0].fKey, fKeySiz [all...] |
H A D | SkScaledImageCache.cpp | 98 Rec(const Key& key, const SkBitmap& bm) : fKey(key), fBitmap(bm) { 103 Rec(const Key& key, const SkMipMap* mip) : fKey(key) { 121 Key fKey; member in struct:SkScaledImageCache::Rec 134 return rec.fKey; 142 return rec.fKey == key; 191 if (rec->fKey == key) { 325 fHash->remove(rec->fKey);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkDataSet.h | 31 const char* fKey; member in struct:SkDataSet::Pair 52 return fPair->fKey;
|
/external/skia/include/core/ |
H A D | SkDataSet.h | 31 const char* fKey; member in struct:SkDataSet::Pair 52 return fPair->fKey;
|
/external/chromium_org/third_party/skia/include/views/ |
H A D | SkOSMenu.h | 65 void setKeyEquivalent(SkUnichar key) { fKey = key; } 66 SkUnichar getKeyEquivalent() const { return fKey; } 89 SkUnichar fKey; member in class:SkOSMenu::Item
|
/external/skia/include/views/ |
H A D | SkOSMenu.h | 65 void setKeyEquivalent(SkUnichar key) { fKey = key; } 66 SkUnichar getKeyEquivalent() const { return fKey; } 89 SkUnichar fKey; member in class:SkOSMenu::Item
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgramDesc.h | 34 return reinterpret_cast<const uint32_t*>(fKey.get()); 186 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.get()) + OFFSET); 190 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.get()) + OFFSET); 212 SkAutoSMalloc<kPreAllocSize> fKey; member in class:GrGLProgramDesc
|
H A D | GrGLProgramDesc.cpp | 76 desc->fKey.reset(newKeyLength, SkAutoMalloc::kAlloc_OnShrink, &allocChanged); 248 *desc->checksum() = SkChecksum::Compute(reinterpret_cast<uint32_t*>(desc->fKey.get()), 257 fKey.reset(keyLength); 258 memcpy(fKey.get(), other.fKey.get(), keyLength);
|
/external/skia/src/gpu/gl/ |
H A D | GrGLProgramDesc.h | 34 return reinterpret_cast<const uint32_t*>(fKey.get()); 186 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.get()) + OFFSET); 190 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.get()) + OFFSET); 212 SkAutoSMalloc<kPreAllocSize> fKey; member in class:GrGLProgramDesc
|
H A D | GrGLProgramDesc.cpp | 76 desc->fKey.reset(newKeyLength, SkAutoMalloc::kAlloc_OnShrink, &allocChanged); 248 *desc->checksum() = SkChecksum::Compute(reinterpret_cast<uint32_t*>(desc->fKey.get()), 257 fKey.reset(keyLength); 258 memcpy(fKey.get(), other.fKey.get(), keyLength);
|
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | SkGr.h | 95 GrKey* fKey; member in class:SkGrFontScaler
|
H A D | GrTypes.h | 481 memcpy(&fKey, &key, sizeof(Key)); 487 const Key& getKey() const { GrAssert(this->isValid()); return fKey; } 494 Key fKey; member in struct:GrCacheID
|
/external/skia/include/gpu/ |
H A D | SkGr.h | 95 GrKey* fKey; member in class:SkGrFontScaler
|