/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.h | 47 fKey.reset(that.fKey.count()); 48 memcpy(fKey.get(), that.fKey.get(), fKey.count() * sizeof(uint32_t)); 58 fKey.reset(1 + shapeKeySize); in set() 59 fKey[0] = dim; in set() 60 shape.writeUnstyledKey(&fKey[1]); in set() 85 fKey.reset(5 + shapeKeySize); in set() 86 fKey[0] = SkFloat2Bits(sx); in set() 87 fKey[1] = SkFloat2Bits(sy); in set() 88 fKey[2] = SkFloat2Bits(kx); in set() 89 fKey[3] = SkFloat2Bits(ky); in set() [all …]
|
/external/skia/include/gpu/ |
D | GrResourceKey.h | 28 return fKey[kHash_MetaDataIdx]; in hash() 45 fKey.reset(kMetaDataCnt); in reset() 46 fKey[kHash_MetaDataIdx] = 0; in reset() 47 fKey[kDomainAndSize_MetaDataIdx] = kInvalidDomain; in reset() 52 0 == memcmp(&fKey[kHash_MetaDataIdx + 1], 53 &that.fKey[kHash_MetaDataIdx + 1], 62 fKey.reset(SkToInt(bytes / sizeof(uint32_t))); 63 memcpy(fKey.get(), that.fKey.get(), bytes); 71 uint32_t domain() const { return fKey[kDomainAndSize_MetaDataIdx] & 0xffff; } in domain() 79 return &fKey[kMetaDataCnt]; in data() [all …]
|
/external/skia/src/gpu/ |
D | GrProgramDesc.h | 49 return reinterpret_cast<const uint32_t*>(fKey.begin()); in asKey() 62 fKey.reset(SkToInt(keyLength)); 63 memcpy(fKey.begin(), other.fKey.begin(), keyLength); 122 int keyLength = fKey.count(); in finalize() 128 *checksum = SkOpts::hash(fKey.begin(), keyLength); in finalize() 133 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 137 return reinterpret_cast<const T*>(reinterpret_cast<intptr_t>(fKey.begin()) + OFFSET); in atOffset() 166 SkSTArray<kPreAllocSize, uint8_t, true>& key() { return fKey; } in key() 167 const SkSTArray<kPreAllocSize, uint8_t, true>& key() const { return fKey; } in key() 170 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
|
D | GrTextureStripAtlas.h | 90 AtlasRow() : fKey(kEmptyAtlasRowKey), fLocks(0), fNext(nullptr), fPrev(nullptr) { } in AtlasRow() 92 uint32_t fKey; member 131 return lhs.fKey < rhs.fKey; in KeyLess()
|
D | GrColorSpaceXform.cpp | 23 if (fEntries[i].fKey == key) { in findOrAdd() 31 fEntries[oldest].fKey = key; in findOrAdd() 45 Entry() : fKey(0), fXform(nullptr), fLastUse(0) {} in Entry() 47 uint64_t fKey; member
|
/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.x(), fKey.fSubset.y()), fKey.fID}; in subset() 47 fKey = {{0, 0, 0, 0}, 0}; in release()
|
D | SkKeyedImage.h | 31 const SkBitmapKey& key() const { return fKey; } in key() 38 SkBitmapKey fKey = {{0, 0, 0, 0}, 0}; variable
|
/external/skia/src/gpu/effects/ |
D | GrTextureStripAtlas.cpp | 135 uint32_t oldKey = row->fKey; in lockRow() 151 row->fKey = key; in lockRow() 238 fRows[i].fKey = kEmptyAtlasRowKey; in initLRU() 286 target.fKey = key; in searchByKey() 298 uint32_t prev = 1 > fKeyTable.count() ? 0 : fKeyTable[0]->fKey; in validate() 300 SkASSERT(prev < fKeyTable[i]->fKey); in validate() 301 SkASSERT(fKeyTable[i]->fKey != kEmptyAtlasRowKey); in validate() 302 prev = fKeyTable[i]->fKey; in validate() 336 SkASSERT(kEmptyAtlasRowKey != fRows[i].fKey); in validate() 340 SkASSERT(fRows[i].fKey == kEmptyAtlasRowKey || this->searchByKey(fRows[i].fKey) >= 0); in validate()
|
/external/skia/include/private/ |
D | GrSwizzle.h | 20 uint8_t fKey; variable 38 , fKey((CToI(c[0]) << 0) | (CToI(c[1]) << 2) | (CToI(c[2]) << 4) | (CToI(c[3]) << 6)) {} 56 fKey = key; in setFromKey() 69 uint8_t asKey() const { return fKey; } in asKey() 77 uint32_t key = fKey; in applyTo() 96 uint32_t key = fKey; in applyTo()
|
/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/skia/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 | SkImageFilterCache.cpp | 42 : fKey(key), fImage(SkRef(image)), fOffset(offset), fFilter(filter) {} in Value() 44 Key fKey; member 49 return v.fKey; in GetKey() 117 v->fFilter->removeKey(v->fKey); in removeInternal() 121 fLookup.remove(v->fKey); in removeInternal()
|
D | SkMaskCache.cpp | 41 : fKey(key) in RRectBlurRec() 51 RRectBlurKey fKey; member 54 const Key& getKey() const override { return fKey; } in getKey() 135 : fKey(key) in RectsBlurRec() 145 RectsBlurKey fKey; member 148 const Key& getKey() const override { return fKey; } in getKey()
|
D | SkBitmapCache.cpp | 128 : fKey(desc) in Rec() 161 const Key& getKey() const override { return fKey; } in getKey() 163 return sizeof(fKey) + fInfo.getSafeSize(fRowBytes); in bytesUsed() 250 BitmapKey fKey; member in SkBitmapCache::Rec 352 : fKey(imageID, subset, colorMode) in MipMapRec() 362 const Key& getKey() const override { return fKey; } in getKey() 363 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() 384 MipMapKey fKey; member
|
D | SkYUVPlanesCache.cpp | 36 : fKey(key) in YUVPlanesRec() 46 YUVPlanesKey fKey; member 49 const Key& getKey() const override { return fKey; } in getKey()
|
/external/skia/src/gpu/vk/ |
D | GrVkSampler.h | 28 static const uint16_t& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } in GetKey() 38 GrVkSampler(VkSampler sampler, uint16_t key) : INHERITED(), fSampler(sampler), fKey(key) {} in GrVkSampler() 43 uint16_t fKey; variable
|
D | GrVkResource.h | 44 return r->fKey; in operator() 71 fKey = sk_atomic_fetch_add(&fKeyCounter, 1u, sk_memory_order_relaxed); in GrVkResource() 191 uint32_t fKey; variable
|
/external/skia/src/gpu/text/ |
D | GrStencilAndCoverTextContext.h | 123 : fKey(&blobId, 1) { this->init(skBlob, skPaint); } in TextBlob() 126 : fKey(key) { in TextBlob() 128 SkASSERT(fKey.count() > 1); in TextBlob() 132 const Key& key() const { return fKey; } in key() 139 const SkSTArray<1, uint32_t, true> fKey; variable
|
/external/skia/src/ports/ |
D | SkRemotableFontMgr_win_dw.cpp | 29 void* fKey; member 34 DataId(DataId&& that) : fLoader(that.fLoader), fKey(that.fKey), fKeySize(that.fKeySize) { in DataId() 36 that.fKey = nullptr; in DataId() 44 sk_free(fKey); in ~DataId() 66 0 == memcmp(refKey, current.fKey, refKeySize)) in FindOrAdd() 73 added.fKey = sk_malloc_throw(refKeySize); in FindOrAdd() 74 memcpy(added.fKey, refKey, refKeySize); in FindOrAdd() 428 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream), in getData()
|
/external/skia/tests/ |
D | ImageCacheTest.cpp | 22 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {} in TestingRec() 24 TestingKey fKey; member 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/src/sksl/ir/ |
D | SkSLLayout.h | 120 , fKey(key) {} in Layout() 138 , fKey(kNo_Key) {} in Layout() 235 switch (fKey) { in description() 294 Key fKey; member
|
/external/skia/include/views/ |
D | SkOSMenu.h | 65 void setKeyEquivalent(SkUnichar key) { fKey = key; } in setKeyEquivalent() 66 SkUnichar getKeyEquivalent() const { return fKey; } in getKeyEquivalent() 89 SkUnichar fKey; variable
|
/external/skia/tools/viewer/sk_app/ |
D | CommandSet.h | 76 , fKey(k) in Command() 88 Window::Key fKey; member
|
/external/icu/icu4c/source/tools/genrb/ |
D | reslist.cpp | 145 : fType(URES_NONE), fWritten(FALSE), fRes(RES_BOGUS), fRes16(-1), fKey(-1), fKey16(-1), in SResource() 153 fKey(bundle != NULL ? bundle->addTag(tag, errorCode) : -1), fKey16(-1), in SResource() 195 const char *resKeyString = fRoot->fKeys + res->fKey; in add() 201 const char *currentKeyString = fRoot->fKeys + current->fKey; in add() 596 if (fKey >= 0) { in write16() 600 fKey = bundle->mapKey(fKey); in write16() 604 if (fKey >= 0) { in write16() 605 if (fKey < bundle->fLocalKeyLimit) { in write16() 606 fKey16 = fKey; in write16() 609 int32_t poolKeyIndex = fKey & 0x7fffffff; in write16() [all …]
|
/external/skia/src/pipe/ |
D | SkPipeCanvas.h | 29 if (key == curr->fKey) { in find() 39 rec->fKey = key; in add() 46 T fKey; member
|