Searched refs:kSizeInMemory (Results 1 – 18 of 18) sorted by relevance
/external/skqp/src/core/ |
D | SkRRect.cpp | 518 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()
|
D | SkPictureRecord.cpp | 359 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()
|
D | SkWriter32.h | 140 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
|
D | SkPath_serial.cpp | 69 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect()
|
/external/skia/src/core/ |
D | SkRRect.cpp | 518 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()
|
D | SkPictureRecord.cpp | 359 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()
|
D | SkWriter32.h | 140 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
|
D | SkPath_serial.cpp | 69 const size_t sizeNeeded = sizeof(int32_t) + SkRRect::kSizeInMemory + sizeof(int32_t); in writeToMemoryAsRRect()
|
/external/skqp/src/gpu/ |
D | GrShape.cpp | 234 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/ |
D | GrShape.cpp | 234 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/ |
D | SkRRect.h | 445 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar); variable
|
/external/skia/include/core/ |
D | SkRRect.h | 445 static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar); variable
|
/external/skia/site/user/api/ |
D | SkRRect_Reference.md | 70 …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/ |
D | SkRRect_Reference.md | 70 …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/ |
D | SkRRect_Reference.bmh | 68 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/ |
D | SkRRect_Reference.bmh | 68 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/ |
D | RoundRectTest.cpp | 749 REPORTER_ASSERT(reporter, size == SkRRect::kSizeInMemory); in test_read_rrect()
|
/external/skqp/tests/ |
D | RoundRectTest.cpp | 749 REPORTER_ASSERT(reporter, size == SkRRect::kSizeInMemory); in test_read_rrect()
|