Lines Matching defs:kMetaDataCnt
43 fKey.reset(kMetaDataCnt);
69 size_t dataSize() const { return this->size() - 4 * kMetaDataCnt; }
74 return &fKey[kMetaDataCnt];
83 key->fKey.reset(kMetaDataCnt + data32Count);
84 int size = (data32Count + kMetaDataCnt) * sizeof(uint32_t);
105 SkDEBUGCODE(size_t dataCount = fKey->internalSize() / sizeof(uint32_t) - kMetaDataCnt;)
107 return fKey->fKey[kMetaDataCnt + dataIdx];
122 static const uint32_t kMetaDataCnt = kLastMetaDataIdx + 1;
135 friend class TestResource; // For unit test to access kMetaDataCnt.
138 SkAutoSTMalloc<kMetaDataCnt + 4, uint32_t> fKey;