Home
last modified time | relevance | path

Searched refs:kSizeInMemory (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/core/
DSkRRect.cpp595 memcpy(buffer, this, kSizeInMemory); in writeToMemory()
596 return kSizeInMemory; in writeToMemory()
601 buffer->write(&rr, SkRRect::kSizeInMemory); in WriteToBuffer()
605 if (length < kSizeInMemory) { in readFromMemory()
612 memcpy((void*)&raw, buffer, kSizeInMemory); in readFromMemory()
614 return kSizeInMemory; in readFromMemory()
618 if (buffer->available() < SkRRect::kSizeInMemory) { in ReadFromBuffer()
622 return buffer->read(&storage, SkRRect::kSizeInMemory) && in ReadFromBuffer()
623 (rr->readFromMemory(&storage, SkRRect::kSizeInMemory) == SkRRect::kSizeInMemory); in ReadFromBuffer()
DSkWriter32.h136 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
DSkPictureRecord.cpp336 size_t size = 1 * kUInt32Size + SkRRect::kSizeInMemory + 1 * kUInt32Size; in recordClipRRect()
497 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory; in onDrawRRect()
507 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory * 2; in onDrawDRRect()
DSkPath_serial.cpp73 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect()
/external/skia/docs/examples/
DRRect_writeToMemory.cpp9 char storage[SkRRect::kSizeInMemory];
DRRect_readFromMemory.cpp11 char storage[SkRRect::kSizeInMemory];
/external/skia/src/gpu/ganesh/geometry/
DGrStyledShape.cpp149 static_assert(0 == SkRRect::kSizeInMemory % sizeof(uint32_t)); in unstyledKeySize()
150 count += SkRRect::kSizeInMemory / sizeof(uint32_t); in unstyledKeySize()
220 key += SkRRect::kSizeInMemory / sizeof(uint32_t); in writeUnstyledKey()
/external/skia/include/core/
DSkRRect.h422 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar); variable
/external/skia/tests/
DRoundRectTest.cpp973 REPORTER_ASSERT(reporter, size == SkRRect::kSizeInMemory); in test_read_rrect()