Home
last modified time | relevance | path

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

/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 …]
DPathTest.cpp2569 REPORTER_ASSERT(reporter, path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2574 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2578 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2580 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2584 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2586 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2594 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2600 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2602 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
2608 REPORTER_ASSERT(reporter, !path.readFromMemory(buffer, sizeof(buffer))); in test_corrupt_flattening()
[all …]
DSerializationTest.cpp40 size_t bytesReadFromMemory = testObj->readFromMemory(dataWritten, bytesWrittenToMemory); in TestAlignment()
DMatrixTest.cpp151 size_t size3 = m2.readFromMemory(buffer, kBufferSize); in test_flatten()
/external/skia/src/core/
DSkValidatingReadBuffer.cpp138 size = matrix->readFromMemory(fReader.peek(), fReader.available()); in readMatrix()
179 size = region->readFromMemory(fReader.peek(), fReader.available()); in readRegion()
190 size = path->readFromMemory(fReader.peek(), fReader.available()); in readPath()
DSkReader32.h148 size_t size = obj->readFromMemory(this->peek(), this->available()); in readObjectFromMemory()
DSkRRect.cpp464 size_t SkRRect::readFromMemory(const void* buffer, size_t length) { in readFromMemory() function in SkRRect
DSkRegion.cpp1214 size_t SkRegion::readFromMemory(const void* storage, size_t length) { in readFromMemory() function in SkRegion
DSkMatrix.cpp1642 size_t SkMatrix::readFromMemory(const void* buffer, size_t length) { in readFromMemory() function in SkMatrix
DSkPath.cpp2064 size_t SkPath::readFromMemory(const void* storage, size_t length) { in readFromMemory() function in SkPath
/external/skia/include/ports/
DSkFontConfigInterface.h68 size_t readFromMemory(const void* buffer, size_t length);
/external/skia/fuzz/
Dfuzz.cpp475 if (!path.readFromMemory(bytes->data(), bytes->size())) { in fuzz_path_deserialize()
486 if (!region.readFromMemory(bytes->data(), bytes->size())) { in fuzz_region_deserialize()
/external/skia/include/core/
DSkRRect.h314 size_t readFromMemory(const void* buffer, size_t length);
DSkRegion.h384 size_t readFromMemory(const void* buffer, size_t length);
DSkPath.h1101 size_t readFromMemory(const void* buffer, size_t length);
DSkMatrix.h644 size_t readFromMemory(const void* buffer, size_t length);
/external/skia/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/samplecode/
DSampleRegion.cpp275 SkDEBUGCODE(size2 = ) tmp3.readFromMemory(buffer, 1000); in drawRgnOped()
/external/skia/src/pipe/
DSkPipeReader.cpp108 rrect.readFromMemory(reader.skip(SkRRect::kSizeInMemory), SkRRect::kSizeInMemory); in read_rrect()
468 region.readFromMemory(skip<char>(reader, SkAlign4(size)), size); in drawRegion_handler()