Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkRRect.cpp518 memcpy(buffer, this, kSizeInMemory); in writeToMemory()
519 return kSizeInMemory; in writeToMemory()
524 buffer->write(&rr, SkRRect::kSizeInMemory); in WriteToBuffer()
528 if (length < kSizeInMemory) { in readFromMemory()
533 memcpy(&raw, buffer, kSizeInMemory); in readFromMemory()
535 return kSizeInMemory; in readFromMemory()
539 if (buffer->available() < SkRRect::kSizeInMemory) { in ReadFromBuffer()
543 return buffer->read(&storage, SkRRect::kSizeInMemory) && in ReadFromBuffer()
544 (rr->readFromMemory(&storage, SkRRect::kSizeInMemory) == SkRRect::kSizeInMemory); in ReadFromBuffer()
DSkPictureRecord.cpp359 size_t size = 1 * kUInt32Size + SkRRect::kSizeInMemory + 1 * kUInt32Size; in recordClipRRect()
494 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory; in onDrawRRect()
504 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory * 2; in onDrawDRRect()
DSkWriter32.h140 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
DSkPath_serial.cpp69 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect()
/external/skia/src/core/
DSkRRect.cpp518 memcpy(buffer, this, kSizeInMemory); in writeToMemory()
519 return kSizeInMemory; in writeToMemory()
524 buffer->write(&rr, SkRRect::kSizeInMemory); in WriteToBuffer()
528 if (length < kSizeInMemory) { in readFromMemory()
533 memcpy(&raw, buffer, kSizeInMemory); in readFromMemory()
535 return kSizeInMemory; in readFromMemory()
539 if (buffer->available() < SkRRect::kSizeInMemory) { in ReadFromBuffer()
543 return buffer->read(&storage, SkRRect::kSizeInMemory) && in ReadFromBuffer()
544 (rr->readFromMemory(&storage, SkRRect::kSizeInMemory) == SkRRect::kSizeInMemory); in ReadFromBuffer()
DSkPictureRecord.cpp359 size_t size = 1 * kUInt32Size + SkRRect::kSizeInMemory + 1 * kUInt32Size; in recordClipRRect()
503 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory; in onDrawRRect()
513 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory * 2; in onDrawDRRect()
DSkWriter32.h140 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
DSkPath_serial.cpp69 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect()
/external/skqp/src/gpu/
DGrShape.cpp234 GR_STATIC_ASSERT(0 == SkRRect::kSizeInMemory % sizeof(uint32_t)); in unstyledKeySize()
236 return SkRRect::kSizeInMemory / sizeof(uint32_t) + 1; in unstyledKeySize()
277 key += SkRRect::kSizeInMemory / sizeof(uint32_t); in writeUnstyledKey()
/external/skia/src/gpu/
DGrShape.cpp234 GR_STATIC_ASSERT(0 == SkRRect::kSizeInMemory % sizeof(uint32_t)); in unstyledKeySize()
236 return SkRRect::kSizeInMemory / sizeof(uint32_t) + 1; in unstyledKeySize()
277 key += SkRRect::kSizeInMemory / sizeof(uint32_t); in writeUnstyledKey()
/external/skqp/include/core/
DSkRRect.h445 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar); variable
/external/skia/include/core/
DSkRRect.h445 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar); variable
/external/skia/site/user/api/
DSkRRect_Reference.md70 …static constexpr size_t <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a> = 12 * <a href='undocum…
1342 …ddddd; padding: 8px; '><a name='SkRRect_kSizeInMemory'><code>SkRRect::kSizeInMemory</code></a></td>
1358 …eToMemory_buffer'>buffer</a>. Writes <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a> bytes, and…
1359 <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a>, the number of bytes written.
1370 bytes written, <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a>
1388 …eadFromMemory_buffer'>buffer</a>, reading <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a> bytes.
1389 …ory'>kSizeInMemory</a>, bytes read if <a href='#SkRRect_readFromMemory_length'>length</a> is at le…
1404 …t_readFromMemory_length'>length</a> is less than <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a>
/external/skqp/site/user/api/
DSkRRect_Reference.md70 …static constexpr size_t <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a> = 12 * <a href='undocum…
1342 …ddddd; padding: 8px; '><a name='SkRRect_kSizeInMemory'><code>SkRRect::kSizeInMemory</code></a></td>
1358 …eToMemory_buffer'>buffer</a>. Writes <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a> bytes, and…
1359 <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a>, the number of bytes written.
1370 bytes written, <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a>
1388 …eadFromMemory_buffer'>buffer</a>, reading <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a> bytes.
1389 …ory'>kSizeInMemory</a>, bytes read if <a href='#SkRRect_readFromMemory_length'>length</a> is at le…
1404 …t_readFromMemory_length'>length</a> is less than <a href='#SkRRect_kSizeInMemory'>kSizeInMemory</a>
/external/skqp/docs/
DSkRRect_Reference.bmh68 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar);
1181 #Const kSizeInMemory 48
1198 char storage[SkRRect::kSizeInMemory];
1228 char storage[SkRRect::kSizeInMemory];
/external/skia/docs/
DSkRRect_Reference.bmh68 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar);
1181 #Const kSizeInMemory 48
1198 char storage[SkRRect::kSizeInMemory];
1228 char storage[SkRRect::kSizeInMemory];
/external/skia/tests/
DRoundRectTest.cpp749 REPORTER_ASSERT(reporter, size == SkRRect::kSizeInMemory); in test_read_rrect()
/external/skqp/tests/
DRoundRectTest.cpp749 REPORTER_ASSERT(reporter, size == SkRRect::kSizeInMemory); in test_read_rrect()