/third_party/skia/tests/ |
H A D | RegionTest.cpp | 277 REPORTER_ASSERT(r, copy.readFromMemory(storage.get(), bytesNeeded)); in test_write() 319 REPORTER_ASSERT(r, 0 == region.readFromMemory(data, sizeof(data))); in DEF_TEST() 328 REPORTER_ASSERT(r, 0 != region.readFromMemory(data, sizeof(data))); in DEF_TEST() 335 REPORTER_ASSERT(r, 0 != region.readFromMemory(data, sizeof(data))); in DEF_TEST() 341 REPORTER_ASSERT(r, 0 == region.readFromMemory(data, sizeof(data))); in DEF_TEST() 347 REPORTER_ASSERT(r, 0 == region.readFromMemory(data, sizeof(data))); in DEF_TEST() 353 REPORTER_ASSERT(r, 0 == region.readFromMemory(data, sizeof(data))); in DEF_TEST() 359 REPORTER_ASSERT(r, 0 == region.readFromMemory(data, sizeof(data))); in DEF_TEST() 365 REPORTER_ASSERT(r, 0 == region.readFromMemory(data, sizeof(data))); in DEF_TEST() 371 REPORTER_ASSERT(r, 0 == region.readFromMemory(dat in DEF_TEST() [all...] |
H A D | RoundRectTest.cpp | 962 size_t size = deserialized.readFromMemory(buffer, sizeof(SkRRect)); in test_read_rrect() 1295 REPORTER_ASSERT(r, sizeof(buf) == SkRRect{}.readFromMemory(buf, sizeof(buf))); in DEF_TEST() 1305 REPORTER_ASSERT(r, sizeof(buf) == SkRRect{}.readFromMemory(buf, sizeof(buf))); in DEF_TEST() 1315 REPORTER_ASSERT(r, sizeof(buf) == SkRRect{}.readFromMemory(buf, sizeof(buf))); in DEF_TEST()
|
/third_party/skia/docs/examples/ |
H A D | Path_readFromMemory.cpp | 14 size_t bytesRead = copy.readFromMemory(storage.begin(), wrongSize); in REG_FIDDLE() 15 SkDebugf("length = %zu; returned by readFromMemory = %zu\n", wrongSize, bytesRead); in REG_FIDDLE() 17 bytesRead = copy.readFromMemory(storage.begin(), largerSize); in REG_FIDDLE() 18 SkDebugf("length = %zu; returned by readFromMemory = %zu\n", largerSize, bytesRead); in REG_FIDDLE()
|
H A D | Path_serialize.cpp | 10 copy.readFromMemory(data->data(), data->size()); in REG_FIDDLE()
|
H A D | Region_readFromMemory.cpp | 12 copy.readFromMemory(data->data(), data->size()); in REG_FIDDLE()
|
H A D | Path_writeToMemory.cpp | 13 copy.readFromMemory(storage.begin(), size); in REG_FIDDLE()
|
H A D | Region_writeToMemory.cpp | 19 copy.readFromMemory(data->data(), data->size()); in REG_FIDDLE()
|
H A D | RRect_writeToMemory.cpp | 12 copy.readFromMemory(storage, sizeof(storage)); in REG_FIDDLE()
|
H A D | RRect_readFromMemory.cpp | 14 copy.readFromMemory(storage, sizeof(storage)); in REG_FIDDLE()
|
/third_party/skia/fuzz/ |
H A D | FuzzRRect.cpp | 15 (void)rrect.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
|
H A D | FuzzPath.cpp | 15 (void)path.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
|
/third_party/skia/fuzz/oss_fuzz/ |
H A D | FuzzRegionDeserialize.cpp | 16 if (!region.readFromMemory(bytes->data(), bytes->size())) { in FuzzRegionDeserialize()
|
/third_party/skia/include/ports/ |
H A D | SkFontConfigInterface.h | 67 size_t readFromMemory(const void* buffer, size_t length);
|
/third_party/skia/src/core/ |
H A D | SkReadBuffer.cpp | 227 size = rrect->readFromMemory(fCurr, this->available()); in readRRect() 238 size = region->readFromMemory(fCurr, this->available()); in readRegion() 249 size = path->readFromMemory(fCurr, this->available()); in readPath()
|
H A D | SkMatrixPriv.h | 19 // writeTo/readFromMemory will never return a value larger than this 28 return matrix->readFromMemory(buffer, length); in ReadFromMemory()
|
H A D | SkPath_serial.cpp | 144 size_t SkPath::readFromMemory(const void* storage, size_t length) { in readFromMemory() function in SkPath
|
H A D | SkRRect.cpp | 595 size_t SkRRect::readFromMemory(const void* buffer, size_t length) { 614 (rr->readFromMemory(&storage, SkRRect::kSizeInMemory) == SkRRect::kSizeInMemory);
|
H A D | SkRemoteGlyphCache.cpp | 1044 if (!path.readFromMemory(const_cast<const void*>(pathData), pathSize)) READ_FAILURE in readStrikeData()
|
/third_party/skia/src/ports/ |
H A D | SkFontConfigInterface_direct.cpp | 85 size_t SkFontConfigInterface::FontIdentity::readFromMemory(const void* addr, in readFromMemory() function in SkFontConfigInterface::FontIdentity 127 size_t size2 = iden1.readFromMemory(storage.get(), size1); in test_writeToMemory()
|
/third_party/skia/include/core/ |
H A D | SkRegion.h | 607 size_t readFromMemory(const void* buffer, size_t length);
|
H A D | SkRRect.h | 440 size_t readFromMemory(const void* buffer, size_t length);
|
H A D | SkPath.h | 1707 Use only be used in concert with readFromMemory(); 1722 serialize() should only be used in concert with readFromMemory(). 1746 size_t readFromMemory(const void* buffer, size_t length);
|
H A D | SkMatrix.h | 1981 size_t readFromMemory(const void* buffer, size_t length);
|
/third_party/skia/modules/particles/src/ |
H A D | SkParticleBinding.cpp | 109 if (0 != path.readFromMemory(pathData->data(), pathData->size())) {
|
/third_party/skia/src/utils/ |
H A D | SkCustomTypeface.cpp | 421 size_t used = path.readFromMemory(buffer + totalUsed, length - totalUsed); in Deserialize()
|