Home
last modified time | relevance | path

Searched refs:writable_data (Results 1 – 25 of 95) sorted by relevance

1234

/external/skqp/bench/
DJSONBench.cpp74 auto* data8 = reinterpret_cast<uint8_t*>(fCStringData->writable_data()); in onPerCanvasPreDraw()
126 auto* data8 = reinterpret_cast<uint8_t*>(fCStringData->writable_data()); in onPerCanvasPreDraw()
146 if (!doc.deserialize_in_place(static_cast<char*>(data->writable_data()))) { in onDraw()
/external/skia/bench/
DJSONBench.cpp74 auto* data8 = reinterpret_cast<uint8_t*>(fCStringData->writable_data()); in onPerCanvasPreDraw()
126 auto* data8 = reinterpret_cast<uint8_t*>(fCStringData->writable_data()); in onPerCanvasPreDraw()
146 if (!doc.deserialize_in_place(static_cast<char*>(data->writable_data()))) { in onDraw()
/external/skia/src/utils/
DSkAnimCodecPlayer.cpp62 sk_careful_memcpy(data->writable_data(), requiredPM.addr(), size); in getFrameAt()
66 if (SkCodec::kSuccess == fCodec->getPixels(fImageInfo, data->writable_data(), rb, &opts)) { in getFrameAt()
/external/libchrome/base/memory/
Dprotected_memory_unittest.cc67 ProtectedMemory<Data> writable_data; in TEST_F() local
68 EXPECT_DCHECK_DEATH({ AssertMemoryIsReadOnly(&writable_data->foo); }); in TEST_F()
/external/skqp/src/utils/
DSkAnimCodecPlayer.cpp62 sk_careful_memcpy(data->writable_data(), requiredPM.addr(), size); in getFrameAt()
66 if (SkCodec::kSuccess == fCodec->getPixels(fImageInfo, data->writable_data(), rb, &opts)) { in getFrameAt()
/external/skqp/tests/
DMaskCacheTest.cpp46 memset(data->writable_data(), 0xff, size); in DEF_TEST()
83 memset(data->writable_data(), 0xff, size); in DEF_TEST()
DCodecExactReadTest.cpp69 void* dst = multiData->writable_data(); in DEF_TEST()
DYUVCacheTest.cpp54 memset(data->writable_data(), 0xff, size); in DEF_TEST()
/external/skia/tests/
DMaskCacheTest.cpp46 memset(data->writable_data(), 0xff, size); in DEF_TEST()
83 memset(data->writable_data(), 0xff, size); in DEF_TEST()
DCodecExactReadTest.cpp69 void* dst = multiData->writable_data(); in DEF_TEST()
/external/skia/src/pdf/
DSkPDFConvertType1FontStream.cpp155 uint8_t* const resultHeader = (uint8_t*)data->writable_data(); in SkPDFConvertType1FontStream()
177 uint8_t* buffer = (uint8_t*)data->writable_data(); in SkPDFConvertType1FontStream()
/external/skqp/src/core/
DSkData.cpp77 memcpy(data->writable_data(), srcOrNull, length); in PrivateNewWithCopy()
194 if (stream->read(data->writable_data(), size) != size) { in MakeFromStream()
DSkCachedData.h26 void* writable_data() { return fData; } in writable_data() function
/external/skia/src/core/
DSkData.cpp77 memcpy(data->writable_data(), srcOrNull, length); in PrivateNewWithCopy()
194 if (stream->read(data->writable_data(), size) != size) { in MakeFromStream()
DSkCachedData.h26 void* writable_data() { return fData; } in writable_data() function
/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp155 uint8_t* const resultHeader = (uint8_t*)data->writable_data(); in SkPDFConvertType1FontStream()
177 uint8_t* buffer = (uint8_t*)data->writable_data(); in SkPDFConvertType1FontStream()
/external/skia/gm/
Dreadpixels.cpp105 if (!image->readPixels(dstInfo, data->writable_data(), rowBytes, 0, 0, hint)) { in draw_image()
106 memset(data->writable_data(), 0, rowBytes * image->height()); in draw_image()
Detc1.cpp57 unsigned char* pixels = (unsigned char*) fETC1Data->writable_data(); in onOnceBeforeDraw()
/external/skqp/gm/
Dreadpixels.cpp105 if (!image->readPixels(dstInfo, data->writable_data(), rowBytes, 0, 0, hint)) { in draw_image()
106 memset(data->writable_data(), 0, rowBytes * image->height()); in draw_image()
Detc1.cpp57 unsigned char* pixels = (unsigned char*) fETC1Data->writable_data(); in onOnceBeforeDraw()
/external/skia/src/codec/
DSkRawCodec.cpp256 const size_t bytesRead = fStream->read(data->writable_data(), size); in transferBuffer()
263 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
269 auto* dst = static_cast<uint8_t*>(data->writable_data()) + alreadyBuffered; in transferBuffer()
379 const size_t bytesRead = fStream->read(data->writable_data(), bytesToRead); in transferBuffer()
DSkStreamBuffer.cpp84 void* dst = data->writable_data(); in getDataAtPosition()
/external/skqp/src/codec/
DSkRawCodec.cpp256 const size_t bytesRead = fStream->read(data->writable_data(), size); in transferBuffer()
263 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
269 auto* dst = static_cast<uint8_t*>(data->writable_data()) + alreadyBuffered; in transferBuffer()
379 const size_t bytesRead = fStream->read(data->writable_data(), bytesToRead); in transferBuffer()
/external/skia/include/core/
DSkData.h49 void* writable_data() { in writable_data() function
/external/skqp/include/core/
DSkData.h49 void* writable_data() { in writable_data() function

1234