Home
last modified time | relevance | path

Searched refs:MakeWithCopy (Results 1 – 25 of 50) sorted by relevance

12

/external/skqp/src/core/
DSkData.cpp103 sk_sp<SkData> SkData::MakeWithCopy(const void* src, size_t length) { in MakeWithCopy() function in SkData
187 return MakeWithCopy(cstr, size); in MakeWithCString()
DSkWriter32.cpp89 return SkData::MakeWithCopy(fData, fUsed); in snapshotAsData()
DSkReader32.h144 return SkData::MakeWithCopy(this->skip(byteLength), byteLength); in readData()
/external/skia/src/core/
DSkData.cpp103 sk_sp<SkData> SkData::MakeWithCopy(const void* src, size_t length) { in MakeWithCopy() function in SkData
187 return MakeWithCopy(cstr, size); in MakeWithCString()
DSkWriter32.cpp89 return SkData::MakeWithCopy(fData, fUsed); in snapshotAsData()
DSkReader32.h144 return SkData::MakeWithCopy(this->skip(byteLength), byteLength); in readData()
/external/skqp/src/pdf/
DSkDocument_PDF_None.cpp14 c->drawAnnotation({0, 0, 0, 0}, "PDF_Node_Key", SkData::MakeWithCopy(&n, sizeof(n)).get()); in SetNodeId()
/external/skia/src/pdf/
DSkDocument_PDF_None.cpp14 c->drawAnnotation({0, 0, 0, 0}, "PDF_Node_Key", SkData::MakeWithCopy(&n, sizeof(n)).get()); in SetNodeId()
/external/skia/tests/
DSerialProcsTest.cpp44 return SkImage::MakeFromEncoded(SkData::MakeWithCopy(data, length)); in DEF_TEST()
118 return SkData::MakeWithCopy(&pic, sizeof(pic)); in array_serial_proc()
DDataRefTest.cpp145 sk_sp<SkData> r0(SkData::MakeWithCopy(str, len + 1)); in test_cstring()
191 sk_sp<SkData> r1(SkData::MakeWithCopy(str, strlen(str))); in DEF_TEST()
/external/skqp/tests/
DSerialProcsTest.cpp44 return SkImage::MakeFromEncoded(SkData::MakeWithCopy(data, length)); in DEF_TEST()
118 return SkData::MakeWithCopy(&pic, sizeof(pic)); in array_serial_proc()
DDataRefTest.cpp145 sk_sp<SkData> r0(SkData::MakeWithCopy(str, len + 1)); in test_cstring()
191 sk_sp<SkData> r1(SkData::MakeWithCopy(str, strlen(str))); in DEF_TEST()
/external/skia/tools/gpu/
DMemoryCache.h39 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key()
DMemoryCache.cpp53 fMap[Key(key)] = SkData::MakeWithCopy(data.data(), data.size()); in store()
/external/skqp/tools/gpu/
DMemoryCache.h39 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key()
DMemoryCache.cpp53 fMap[Key(key)] = SkData::MakeWithCopy(data.data(), data.size()); in store()
/external/skqp/include/core/
DSkData.h80 static sk_sp<SkData> MakeWithCopy(const void* data, size_t length);
/external/skia/include/core/
DSkData.h80 static sk_sp<SkData> MakeWithCopy(const void* data, size_t length);
/external/skia/src/codec/
DSkStreamBuffer.cpp60 sk_sp<SkData> data(SkData::MakeWithCopy(fBuffer, fBytesBuffered)); in markPosition()
DSkHeifCodec.cpp139 auto icc = SkData::MakeWithCopy(frameInfo.mIccData.get(), frameInfo.mIccSize); in MakeFromStream()
/external/skqp/src/codec/
DSkStreamBuffer.cpp60 sk_sp<SkData> data(SkData::MakeWithCopy(fBuffer, fBytesBuffered)); in markPosition()
DSkHeifCodec.cpp139 auto icc = SkData::MakeWithCopy(frameInfo.mIccData.get(), frameInfo.mIccSize); in MakeFromStream()
/external/skia/bench/
DJSONBench.cpp144 auto data = SkData::MakeWithCopy(fCStringData->data(), fCStringData->size()); in onDraw()
/external/skqp/bench/
DJSONBench.cpp144 auto data = SkData::MakeWithCopy(fCStringData->data(), fCStringData->size()); in onDraw()
/external/skia/src/image/
DSkImage_Raster.cpp267 sk_sp<SkData> data(SkData::MakeWithCopy(pmap.addr(), size)); in MakeRasterCopyPriv()

12