Searched refs:writable_data (Results 1 – 24 of 24) sorted by relevance
/external/skia/tests/ |
D | MaskCacheTest.cpp | 47 memset(data->writable_data(), 0xff, size); in DEF_TEST() 85 memset(data->writable_data(), 0xff, size); in DEF_TEST()
|
D | CachedDataTest.cpp | 45 memset(data->writable_data(), 0x80, size); // just to use writable_data() in test_locking()
|
D | YUVCacheTest.cpp | 50 memset(data->writable_data(), 0xff, size); in DEF_TEST()
|
D | ImageTest.cpp | 76 bm.installPixels(*info, data->writable_data(), rowBytes); in create_image_data() 119 bitmap.installPixels(info, data->writable_data(), info.minRowBytes()); in create_codec_image()
|
D | StreamTest.cpp | 365 uint8_t* expectedPtr = static_cast<uint8_t*>(expected->writable_data()); in DEF_TEST()
|
D | CodexTest.cpp | 934 uint8_t* writeableData = static_cast<uint8_t*>(data->writable_data()); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkData.cpp | 76 memcpy(data->writable_data(), srcOrNull, length); in PrivateNewWithCopy() 189 if (stream->read(data->writable_data(), size) != size) { in NewFromStream()
|
D | SkFlattenableSerialization.cpp | 19 writer.writeToMemory(data->writable_data()); in SkValidatingSerializeFlattenable()
|
D | SkCachedData.h | 25 void* writable_data() { return fData; } in writable_data() function
|
D | SkFontDescriptor.cpp | 100 if (stream->read(data->writable_data(), length) == length) { in Deserialize()
|
D | SkMipMap.cpp | 274 mipmap->fLevels = (Level*)mipmap->writable_data(); in Build()
|
D | SkPictureData.cpp | 533 if (!buffer.readByteArray(data->writable_data(), size) || in parseBufferTag()
|
D | SkStream.cpp | 660 this->copyTo(data->writable_data()); in copyToData()
|
D | SkBitmap.cpp | 1167 unsigned char* dst = (unsigned char*)data->writable_data(); in ReadRawPixels()
|
/external/skia/src/codec/ |
D | SkRawCodec.cpp | 267 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/ |
D | SkData.h | 49 void* writable_data() { in writable_data() function
|
/external/skia/bench/ |
D | ColorCubeBench.cpp | 78 SkColor* pixels = (SkColor*)(fCubeData->writable_data()); in makeCubeData()
|
/external/skia/gm/ |
D | colorcube.cpp | 75 SkColor* pixels = (SkColor*)((*data)->writable_data()); in make_3Dlut()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 61 planes[0] = fCachedData->writable_data(); in init()
|
/external/skia/src/utils/ |
D | SkTextureCompressor.cpp | 156 if (!CompressBufferToFormat((uint8_t*)dst->writable_data(), src, pixmap.colorType(), in CompressBitmapToFormat()
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 87 SK_OT_BYTE* data = static_cast<SK_OT_BYTE*>(rewrittenFontData->writable_data()); in RenameFont()
|
/external/skia/samplecode/ |
D | SampleFilterFuzz.cpp | 305 SkColor* pixels = (SkColor*)(data->writable_data()); in make_3Dlut()
|
/external/skia/src/effects/ |
D | SkBlurMaskFilter.cpp | 272 memcpy(data->writable_data(), mask->fImage, size); in copy_mask_to_cacheddata()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 219 uint8_t* const resultHeader = (uint8_t*)data->writable_data(); in handle_type1_stream()
|