Home
last modified time | relevance | path

Searched refs:readFromMemory (Results 1 – 25 of 57) sorted by relevance

123

/external/skia/tests/
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(data, sizeof(data))); in DEF_TEST()
[all …]
/external/skqp/tests/
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(data, sizeof(data))); in DEF_TEST()
[all …]
/external/skia/docs/examples/
DPath_readFromMemory.cpp14 size_t bytesRead = copy.readFromMemory(storage.begin(), wrongSize); in draw()
17 bytesRead = copy.readFromMemory(storage.begin(), largerSize); in draw()
DPath_serialize.cpp10 copy.readFromMemory(data->data(), data->size()); in draw()
DPath_writeToMemory.cpp13 copy.readFromMemory(storage.begin(), size); in draw()
DRegion_readFromMemory.cpp12 copy.readFromMemory(data->data(), data->size()); in draw()
DRRect_writeToMemory.cpp12 copy.readFromMemory(storage, sizeof(storage));
DRRect_readFromMemory.cpp14 copy.readFromMemory(storage, sizeof(storage));
DRegion_writeToMemory.cpp19 copy.readFromMemory(data->data(), data->size());
/external/skia/fuzz/
DFuzzPath.cpp15 (void)path.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
DFuzzRRect.cpp15 (void)rrect.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
/external/skqp/fuzz/oss_fuzz/
DFuzzRegionDeserialize.cpp16 if (!region.readFromMemory(bytes->data(), bytes->size())) { in FuzzRegionDeserialize()
/external/skia/fuzz/oss_fuzz/
DFuzzRegionDeserialize.cpp16 if (!region.readFromMemory(bytes->data(), bytes->size())) { in FuzzRegionDeserialize()
/external/skia/include/ports/
DSkFontConfigInterface.h67 size_t readFromMemory(const void* buffer, size_t length);
/external/skqp/include/ports/
DSkFontConfigInterface.h67 size_t readFromMemory(const void* buffer, size_t length);
/external/skia/src/core/
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()
DSkMatrixPriv.h28 return matrix->readFromMemory(buffer, length); in ReadFromMemory()
/external/skqp/src/core/
DSkMatrixPriv.h27 return matrix->readFromMemory(buffer, length); in ReadFromMemory()
DSkReadBuffer.cpp205 size = region->readFromMemory(fReader.peek(), fReader.available()); in readRegion()
216 size = path->readFromMemory(fReader.peek(), fReader.available()); in readPath()
DSkReader32.h149 size_t size = obj->readFromMemory(this->peek(), this->available()); in readObjectFromMemory()
/external/skia/include/core/
DSkRRect.h440 size_t readFromMemory(const void* buffer, size_t length);
DSkRegion.h607 size_t readFromMemory(const void* buffer, size_t length);
/external/skqp/include/core/
DSkRRect.h463 size_t readFromMemory(const void* buffer, size_t length);
/external/skqp/src/ports/
DSkFontConfigInterface_direct.cpp97 size_t SkFontConfigInterface::FontIdentity::readFromMemory(const void* addr, in readFromMemory() function in SkFontConfigInterface::FontIdentity
139 size_t size2 = iden1.readFromMemory(storage.get(), size1); in test_writeToMemory()
/external/skia/src/ports/
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()

123