Home
last modified time | relevance | path

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

/external/skia/tests/
DMaskCacheTest.cpp47 memset(data->writable_data(), 0xff, size); in DEF_TEST()
85 memset(data->writable_data(), 0xff, size); in DEF_TEST()
DCachedDataTest.cpp45 memset(data->writable_data(), 0x80, size); // just to use writable_data() in test_locking()
DYUVCacheTest.cpp50 memset(data->writable_data(), 0xff, size); in DEF_TEST()
DImageTest.cpp76 bm.installPixels(*info, data->writable_data(), rowBytes); in create_image_data()
119 bitmap.installPixels(info, data->writable_data(), info.minRowBytes()); in create_codec_image()
DStreamTest.cpp365 uint8_t* expectedPtr = static_cast<uint8_t*>(expected->writable_data()); in DEF_TEST()
DCodexTest.cpp934 uint8_t* writeableData = static_cast<uint8_t*>(data->writable_data()); in DEF_TEST()
/external/skia/src/core/
DSkData.cpp76 memcpy(data->writable_data(), srcOrNull, length); in PrivateNewWithCopy()
189 if (stream->read(data->writable_data(), size) != size) { in NewFromStream()
DSkFlattenableSerialization.cpp19 writer.writeToMemory(data->writable_data()); in SkValidatingSerializeFlattenable()
DSkCachedData.h25 void* writable_data() { return fData; } in writable_data() function
DSkFontDescriptor.cpp100 if (stream->read(data->writable_data(), length) == length) { in Deserialize()
DSkMipMap.cpp274 mipmap->fLevels = (Level*)mipmap->writable_data(); in Build()
DSkPictureData.cpp533 if (!buffer.readByteArray(data->writable_data(), size) || in parseBufferTag()
DSkStream.cpp660 this->copyTo(data->writable_data()); in copyToData()
DSkBitmap.cpp1167 unsigned char* dst = (unsigned char*)data->writable_data(); in ReadRawPixels()
/external/skia/src/codec/
DSkRawCodec.cpp267 const size_t bytesRead = fStream->read(data->writable_data(), size); in transferBuffer()
274 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
280 auto* dst = static_cast<uint8_t*>(data->writable_data()) + alreadyBuffered; in transferBuffer()
391 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/skia/bench/
DColorCubeBench.cpp78 SkColor* pixels = (SkColor*)(fCubeData->writable_data()); in makeCubeData()
/external/skia/gm/
Dcolorcube.cpp75 SkColor* pixels = (SkColor*)((*data)->writable_data()); in make_3Dlut()
/external/skia/src/gpu/
DGrYUVProvider.cpp61 planes[0] = fCachedData->writable_data(); in init()
/external/skia/src/utils/
DSkTextureCompressor.cpp156 if (!CompressBufferToFormat((uint8_t*)dst->writable_data(), src, pixmap.colorType(), in CompressBitmapToFormat()
/external/skia/src/sfnt/
DSkOTUtils.cpp87 SK_OT_BYTE* data = static_cast<SK_OT_BYTE*>(rewrittenFontData->writable_data()); in RenameFont()
/external/skia/samplecode/
DSampleFilterFuzz.cpp305 SkColor* pixels = (SkColor*)(data->writable_data()); in make_3Dlut()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp272 memcpy(data->writable_data(), mask->fImage, size); in copy_mask_to_cacheddata()
/external/skia/src/pdf/
DSkPDFFont.cpp219 uint8_t* const resultHeader = (uint8_t*)data->writable_data(); in handle_type1_stream()