Searched refs:kMetaDataCnt (Results 1 – 4 of 4) sorted by relevance
56 SkDEBUGCODE(size_t dataCount = fKey->internalSize() / sizeof(uint32_t) - kMetaDataCnt;)58 return fKey->fKey[(int)kMetaDataCnt + dataIdx];65 key->fKey.reset(kMetaDataCnt + count); in Builder()66 size_t size = (count + kMetaDataCnt) * sizeof(uint32_t); in Builder()83 fKey.reset(kMetaDataCnt); in reset()91 return 0 == memcmp(fKey.get(), that.fKey.get(), kMetaDataCnt*sizeof(uint32_t)) &&92 0 == memcmp(&fKey[kMetaDataCnt], &that.fKey[kMetaDataCnt], this->dataSize());115 size_t dataSize() const { return this->size() - 4 * kMetaDataCnt; } in dataSize()120 return &fKey[kMetaDataCnt]; in data()131 size_t dataCount = this->internalSize() / sizeof(uint32_t) - kMetaDataCnt; in dump()[all …]
47 fKey.reset(kMetaDataCnt); in reset()78 size_t dataSize() const { return this->size() - 4 * kMetaDataCnt; } in dataSize()83 return &fKey[kMetaDataCnt]; in data()108 key->fKey.reset(kMetaDataCnt + data32Count); in Builder()109 int size = (data32Count + kMetaDataCnt) * sizeof(uint32_t); in Builder()130 SkDEBUGCODE(size_t dataCount = fKey->internalSize() / sizeof(uint32_t) - kMetaDataCnt;)132 return fKey->fKey[kMetaDataCnt + dataIdx];147 static const uint32_t kMetaDataCnt = kLastMetaDataIdx + 1; variable162 SkAutoSTMalloc<kMetaDataCnt + 5, uint32_t> fKey;
304 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize()
282 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize()