Home
last modified time | relevance | path

Searched refs:readFromMemory (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/tests/
H A DRegionTest.cpp277 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 DRoundRectTest.cpp962 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 DPath_readFromMemory.cpp14 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 DPath_serialize.cpp10 copy.readFromMemory(data->data(), data->size()); in REG_FIDDLE()
H A DRegion_readFromMemory.cpp12 copy.readFromMemory(data->data(), data->size()); in REG_FIDDLE()
H A DPath_writeToMemory.cpp13 copy.readFromMemory(storage.begin(), size); in REG_FIDDLE()
H A DRegion_writeToMemory.cpp19 copy.readFromMemory(data->data(), data->size()); in REG_FIDDLE()
H A DRRect_writeToMemory.cpp12 copy.readFromMemory(storage, sizeof(storage)); in REG_FIDDLE()
H A DRRect_readFromMemory.cpp14 copy.readFromMemory(storage, sizeof(storage)); in REG_FIDDLE()
/third_party/skia/fuzz/
H A DFuzzRRect.cpp15 (void)rrect.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
H A DFuzzPath.cpp15 (void)path.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
/third_party/skia/fuzz/oss_fuzz/
H A DFuzzRegionDeserialize.cpp16 if (!region.readFromMemory(bytes->data(), bytes->size())) { in FuzzRegionDeserialize()
/third_party/skia/include/ports/
H A DSkFontConfigInterface.h67 size_t readFromMemory(const void* buffer, size_t length);
/third_party/skia/src/core/
H A DSkReadBuffer.cpp227 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 DSkMatrixPriv.h19 // writeTo/readFromMemory will never return a value larger than this
28 return matrix->readFromMemory(buffer, length); in ReadFromMemory()
H A DSkPath_serial.cpp144 size_t SkPath::readFromMemory(const void* storage, size_t length) { in readFromMemory() function in SkPath
H A DSkRRect.cpp595 size_t SkRRect::readFromMemory(const void* buffer, size_t length) {
614 (rr->readFromMemory(&storage, SkRRect::kSizeInMemory) == SkRRect::kSizeInMemory);
H A DSkRemoteGlyphCache.cpp1044 if (!path.readFromMemory(const_cast<const void*>(pathData), pathSize)) READ_FAILURE in readStrikeData()
/third_party/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp85 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 DSkRegion.h607 size_t readFromMemory(const void* buffer, size_t length);
H A DSkRRect.h440 size_t readFromMemory(const void* buffer, size_t length);
H A DSkPath.h1707 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 DSkMatrix.h1981 size_t readFromMemory(const void* buffer, size_t length);
/third_party/skia/modules/particles/src/
H A DSkParticleBinding.cpp109 if (0 != path.readFromMemory(pathData->data(), pathData->size())) {
/third_party/skia/src/utils/
H A DSkCustomTypeface.cpp421 size_t used = path.readFromMemory(buffer + totalUsed, length - totalUsed); in Deserialize()

Completed in 24 milliseconds

12