Searched refs:kSizeInMemory (Results 1 – 7 of 7) sorted by relevance
459 SkASSERT(kSizeInMemory == sizeof(SkRect) + sizeof(fRadii)); in writeToMemory()463 return kSizeInMemory; in writeToMemory()467 if (length < kSizeInMemory) { in readFromMemory()472 SkASSERT(sizeof(storage) == kSizeInMemory); in readFromMemory()475 memcpy(storage, buffer, kSizeInMemory); in readFromMemory()479 return kSizeInMemory; in readFromMemory()
343 size_t size = 1 * kUInt32Size + SkRRect::kSizeInMemory + 1 * kUInt32Size; in recordClipRRect()468 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory; in onDrawRRect()478 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory * 2; in onDrawDRRect()
127 SkASSERT(0 == SkRRect::kSizeInMemory % sizeof(uint32_t)); in unstyledKeySize()129 return SkRRect::kSizeInMemory / sizeof(uint32_t) + 1; in unstyledKeySize()163 key += SkRRect::kSizeInMemory / sizeof(uint32_t); in writeUnstyledKey()
293 kSizeInMemory = 12 * sizeof(SkScalar) enumerator
130 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
107 rrect.readFromMemory(reader.skip(SkRRect::kSizeInMemory), SkRRect::kSizeInMemory); in read_rrect()
24 char tmp[SkRRect::kSizeInMemory]; in write_rrect()26 writer->write(tmp, SkRRect::kSizeInMemory); in write_rrect()