/external/skia/src/gpu/ops/ |
D | GrSmallPathShapeData.h | 20 fKey.reset(that.fKey.count()); in GrSmallPathShapeDataKey() 21 memcpy(fKey.get(), that.fKey.get(), fKey.count() * sizeof(uint32_t)); in GrSmallPathShapeDataKey() 33 return fKey.count() == that.fKey.count() && 34 0 == memcmp(fKey.get(), that.fKey.get(), sizeof(uint32_t) * fKey.count()); 37 int count32() const { return fKey.count(); } in count32() 38 const uint32_t* data() const { return fKey.get(); } in data() 44 SkAutoSTArray<24, uint32_t> fKey; 49 GrSmallPathShapeData(const GrSmallPathShapeDataKey& key) : fKey(key) {} in GrSmallPathShapeData() 51 const GrSmallPathShapeDataKey fKey; variable 58 return data.fKey; in GetKey()
|
D | GrSmallPathShapeData.cpp | 18 fKey.reset(1 + shapeKeySize); in GrSmallPathShapeDataKey() 19 fKey[0] = dim; in GrSmallPathShapeDataKey() 20 shape.writeUnstyledKey(&fKey[1]); in GrSmallPathShapeDataKey() 41 fKey.reset(5 + shapeKeySize); in GrSmallPathShapeDataKey() 42 fKey[0] = SkFloat2Bits(sx); in GrSmallPathShapeDataKey() 43 fKey[1] = SkFloat2Bits(sy); in GrSmallPathShapeDataKey() 44 fKey[2] = SkFloat2Bits(kx); in GrSmallPathShapeDataKey() 45 fKey[3] = SkFloat2Bits(ky); in GrSmallPathShapeDataKey() 46 fKey[4] = fracX | (fracY >> 8); in GrSmallPathShapeDataKey() 47 shape.writeUnstyledKey(&fKey[5]); in GrSmallPathShapeDataKey()
|
/external/skia/include/private/ |
D | GrResourceKey.h | 30 return fKey[kHash_MetaDataIdx]; in hash() 45 if (nullptr == fKey) { in finish() 48 uint32_t* hash = &fKey->fKey[kHash_MetaDataIdx]; in finish() 49 *hash = GrResourceKeyHash(hash + 1, fKey->internalSize() - sizeof(uint32_t)); in finish() 50 fKey->validate(); in finish() 51 fKey = nullptr; in finish() 55 SkASSERT(fKey); 56 SkDEBUGCODE(size_t dataCount = fKey->internalSize() / sizeof(uint32_t) - kMetaDataCnt;) 58 return fKey->fKey[(int)kMetaDataCnt + dataIdx]; 62 Builder(GrResourceKey* key, uint32_t domain, int data32Count) : fKey(key) { in Builder() [all …]
|
/external/skqp/include/private/ |
D | GrResourceKey.h | 30 return fKey[kHash_MetaDataIdx]; in hash() 47 fKey.reset(kMetaDataCnt); in reset() 48 fKey[kHash_MetaDataIdx] = 0; in reset() 49 fKey[kDomainAndSize_MetaDataIdx] = kInvalidDomain; in reset() 53 return this->hash() == that.hash() && 0 == memcmp(&fKey[kHash_MetaDataIdx + 1], 54 &that.fKey[kHash_MetaDataIdx + 1], 65 fKey.reset(SkToInt(bytes / sizeof(uint32_t))); 66 memcpy(fKey.get(), that.fKey.get(), bytes); 75 uint32_t domain() const { return fKey[kDomainAndSize_MetaDataIdx] & 0xffff; } in domain() 83 return &fKey[kMetaDataCnt]; in data() [all …]
|
/external/skqp/tools/gpu/ |
D | MemoryCache.h | 39 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key() 43 return that.fKey->size() == fKey->size() && 44 !memcmp(fKey->data(), that.fKey->data(), that.fKey->size()); 46 sk_sp<const SkData> fKey; member 53 return key.fKey ? SkOpts::hash_fn(key.fKey->data(), key.fKey->size(), 0) : 0; in operator()
|
/external/skia/src/gpu/ |
D | GrSwizzle.h | 28 constexpr bool operator==(const GrSwizzle& that) const { return fKey == that.fKey; } 32 constexpr uint16_t asKey() const { return fKey; } in asKey() 39 int idx = (fKey >> (4U * i)) & 0xfU; 61 explicit constexpr GrSwizzle(uint16_t key) : fKey(key) {} in GrSwizzle() 67 uint16_t fKey; variable 71 : fKey((CToI(c[0]) << 0) | (CToI(c[1]) << 4) | (CToI(c[2]) << 8) | (CToI(c[3]) << 12)) {} in GrSwizzle() 74 : fKey(that.fKey) {} in GrSwizzle() 77 fKey = that.fKey; 82 uint32_t key = fKey; in applyTo() 139 int idx = (b.fKey >> (4U * i)) & 0xfU; in Concat() [all …]
|
D | GrProgramDesc.h | 110 bool isValid() const { return !fKey.empty(); } in isValid() 115 return fKey.data(); in asKey() 120 return fKey.size() * sizeof(uint32_t); in keyLength() 124 return this->fKey == that.fKey; 165 desc->fKey.reset(keyLength / 4); in BuildFromData() 166 memcpy(desc->fKey.begin(), keyData, keyLength); in BuildFromData() 180 KeyType* key() { return &fKey; } in key() 183 SkSTArray<kPreAllocSize, uint32_t, true> fKey;
|
D | GrThreadSafeCache.h | 193 : fKey(key) in Entry() 199 : fKey(key) in Entry() 222 return fKey; in key() 227 return fKey.getCustomData(); in getCustomData() 232 return fKey.refCustomData(); in refCustomData() 247 fKey = key; in set() 253 fKey.reset(); in makeEmpty() 264 fKey = key; in set() 276 return e.fKey; in GetKey() 282 GrUniqueKey fKey;
|
/external/skia/tools/gpu/ |
D | MemoryCache.h | 49 fn(it->first.fKey, it->second.fData, it->second.fDescription, it->second.fHitCount); in foreach() 56 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key() 60 return that.fKey->size() == fKey->size() && 61 !memcmp(fKey->data(), that.fKey->data(), that.fKey->size()); 63 sk_sp<const SkData> fKey; member 84 return key.fKey ? SkOpts::hash_fn(key.fKey->data(), key.fKey->size(), 0) : 0; in operator()
|
/external/skqp/src/gpu/ |
D | GrProgramDesc.h | 51 return reinterpret_cast<const uint32_t*>(fKey.begin()); in asKey() 56 SkASSERT(0 == (fKey.count() % 4)); in keyLength() 57 return fKey.count(); in keyLength() 62 fKey.reset(SkToInt(keyLength)); 63 memcpy(fKey.begin(), other.fKey.begin(), keyLength); 111 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 115 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 137 SkSTArray<kPreAllocSize, uint8_t, true>& key() { return fKey; } in key() 138 const SkSTArray<kPreAllocSize, uint8_t, true>& key() const { return fKey; } in key() 141 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
|
D | GrSwizzle.h | 23 , fKey(that.fKey) {} 31 fKey = that.fKey; 37 fKey = key; in setFromKey() 45 constexpr bool operator==(const GrSwizzle& that) const { return fKey == that.fKey; } 49 constexpr uint8_t asKey() const { return fKey; } in asKey() 62 uint32_t key = fKey; in applyTo() 87 uint8_t fKey; variable 111 , fKey((CToI(c[0]) << 0) | (CToI(c[1]) << 2) | (CToI(c[2]) << 4) | (CToI(c[3]) << 6)) {}
|
/external/skqp/src/pdf/ |
D | SkKeyedImage.cpp | 24 fKey = SkBitmapKeyFromImage(fImage.get()); in SkKeyedImage() 29 fKey = {bm.getSubset(), bm.getGenerationID()}; in SkKeyedImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset() 47 fKey = {{0, 0, 0, 0}, 0}; in release()
|
/external/skia/src/pdf/ |
D | SkKeyedImage.cpp | 24 fKey = SkBitmapKeyFromImage(fImage.get()); in SkKeyedImage() 29 fKey = {bm.getSubset(), bm.getGenerationID()}; in SkKeyedImage() 38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset() 47 fKey = {{0, 0, 0, 0}, 0}; in release()
|
/external/icu/libicu/cts_headers/ |
D | restrace.h | 33 fKey(nullptr), in ResourceTracer() 39 fKey(nullptr), in ResourceTracer() 45 fKey(key), in ResourceTracer() 51 fKey(nullptr), in ResourceTracer() 57 fKey(key), in ResourceTracer() 63 fKey(nullptr), in ResourceTracer() 84 const char* fKey; variable
|
/external/icu/icu4c/source/common/ |
D | restrace.h | 33 fKey(nullptr), in ResourceTracer() 39 fKey(nullptr), in ResourceTracer() 45 fKey(key), in ResourceTracer() 51 fKey(nullptr), in ResourceTracer() 57 fKey(key), in ResourceTracer() 63 fKey(nullptr), in ResourceTracer() 84 const char* fKey; variable
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 59 fKey.reset(that.fKey.count()); in operator =() 60 memcpy(fKey.get(), that.fKey.get(), fKey.count() * sizeof(uint32_t)); in operator =() 71 fKey.reset(1 + shapeKeySize); in set() 72 fKey[0] = dim; in set() 73 shape.writeUnstyledKey(&fKey[1]); in set() 95 fKey.reset(5 + shapeKeySize); in set() 96 fKey[0] = SkFloat2Bits(sx); in set() 97 fKey[1] = SkFloat2Bits(sy); in set() 98 fKey[2] = SkFloat2Bits(kx); in set() 99 fKey[3] = SkFloat2Bits(ky); in set() [all …]
|
/external/skia/src/core/ |
D | SkLRUCache.h | 23 : fKey(key) in Entry() 26 K fKey; member 65 this->remove(fLRU.tail()->fKey); in insert() 88 fn(&e->fKey, &e->fValue); in foreach() 103 return e->fKey; in GetKey() 115 SkASSERT(key == entry->fKey); in remove()
|
D | SkBitmapCache.cpp | 67 : fKey(desc) in Rec() 89 const Key& getKey() const override { return fKey; } in getKey() 91 return sizeof(fKey) + fInfo.computeByteSize(fRowBytes); in bytesUsed() 156 BitmapKey fKey; member in SkBitmapCache::Rec 234 : fKey(desc) in MipMapRec() 244 const Key& getKey() const override { return fKey; } in getKey() 245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() 266 MipMapKey fKey; member
|
D | SkMaskCache.cpp | 39 : fKey(key) in RRectBlurRec() 49 RRectBlurKey fKey; member 52 const Key& getKey() const override { return fKey; } in getKey() 130 : fKey(key) in RectsBlurRec() 140 RectsBlurKey fKey; member 143 const Key& getKey() const override { return fKey; } in getKey()
|
/external/skqp/bench/ |
D | ImageCacheBench.cpp | 22 TestKey fKey; member 25 TestRec(const TestKey& key, intptr_t value) : fKey(key), fValue(value) {} in TestRec() 27 const Key& getKey() const override { return fKey; } in getKey() 28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed()
|
/external/skia/bench/ |
D | ImageCacheBench.cpp | 22 TestKey fKey; member 25 TestRec(const TestKey& key, intptr_t value) : fKey(key), fValue(value) {} in TestRec() 27 const Key& getKey() const override { return fKey; } in getKey() 28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed()
|
/external/skqp/src/core/ |
D | SkLRUCache.h | 23 : fKey(key) in Entry() 26 K fKey; member 63 this->remove(fLRU.tail()->fKey); in insert() 92 return e->fKey; in GetKey() 104 SkASSERT(key == entry->fKey); in remove()
|
D | SkBitmapCache.cpp | 67 : fKey(desc) in Rec() 89 const Key& getKey() const override { return fKey; } in getKey() 91 return sizeof(fKey) + fInfo.computeByteSize(fRowBytes); in bytesUsed() 156 BitmapKey fKey; member in SkBitmapCache::Rec 234 : fKey(desc) in MipMapRec() 244 const Key& getKey() const override { return fKey; } in getKey() 245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() 266 MipMapKey fKey; member
|
D | SkMaskCache.cpp | 39 : fKey(key) in RRectBlurRec() 49 RRectBlurKey fKey; member 52 const Key& getKey() const override { return fKey; } in getKey() 130 : fKey(key) in RectsBlurRec() 140 RectsBlurKey fKey; member 143 const Key& getKey() const override { return fKey; } in getKey()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlSampler.h | 32 static const Key& GetKey(const GrMtlSampler& sampler) { return sampler.fKey; } in GetKey() 40 , fKey(key) {} in GrMtlSampler() 43 Key fKey; variable
|