Home
last modified time | relevance | path

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

123

/external/skia/modules/skottie/src/effects/
DBrightnessContrastEffect.cpp69 return SkData::MakeWithCopy(&coeffs, sizeof(coeffs)); in make_contrast_coeffs()
93 return SkData::MakeWithCopy(&coeff_a, sizeof(coeff_a));
118 return SkData::MakeWithCopy(&coeff_a, sizeof(coeff_a)); in make_brightness_coeffs()
DThresholdEffect.cpp60 threshold_effect()->makeColorFilter(SkData::MakeWithCopy(&fLevel, sizeof(fLevel))); in onSync()
DBlackAndWhiteEffect.cpp116 fEffect->makeColorFilter(SkData::MakeWithCopy(&coeffs, sizeof(coeffs)))); in onSync()
/external/skia/tools/
DSkSharingProc.cpp53 return SkData::MakeWithCopy(&fid, sizeof(fid)); in serializeImage()
79 sk_sp<SkData> dataView = SkData::MakeWithCopy(data, length); in deserializeImage()
/external/skia/tools/gpu/
DMemoryCache.h56 Key(const SkData& key) : fKey(SkData::MakeWithCopy(key.data(), key.size())) {} in Key()
69 : fData(SkData::MakeWithCopy(data.data(), data.size())) in Value()
/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/tests/
DDataRefTest.cpp143 sk_sp<SkData> r0(SkData::MakeWithCopy(str, len + 1)); in test_cstring()
189 sk_sp<SkData> r1(SkData::MakeWithCopy(str, strlen(str))); in DEF_TEST()
215 SkData::MakeWithCopy("", 0), in DEF_TEST()
DSerialProcsTest.cpp43 return SkImage::MakeFromEncoded(SkData::MakeWithCopy(data, length)); in DEF_TEST()
117 return SkData::MakeWithCopy(&pic, sizeof(pic)); in array_serial_proc()
/external/skia/src/pdf/
DSkDocument_PDF_None.cpp17 c->drawAnnotation({0, 0, 0, 0}, "PDF_Node_Key", SkData::MakeWithCopy(&n, sizeof(n)).get()); in SetNodeId()
/external/skia/src/core/
DSkData.cpp105 sk_sp<SkData> SkData::MakeWithCopy(const void* src, size_t length) { in MakeWithCopy() function in SkData
189 return MakeWithCopy(cstr, size); in MakeWithCString()
DSkWriter32.cpp59 return SkData::MakeWithCopy(fData, fUsed); in snapshotAsData()
/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/gm/
Druntimefunctions.cpp50 auto shader = gEffect->makeShader(SkData::MakeWithCopy(&inputColor, sizeof(inputColor)), in onDraw()
/external/skia/src/effects/
DSkHighContrastFilter.cpp63 effect->makeColorFilter(SkData::MakeWithCopy(&uniforms,sizeof(uniforms))), in Make()
/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/tests/
DSerialProcsTest.cpp44 return SkImage::MakeFromEncoded(SkData::MakeWithCopy(data, length)); in DEF_TEST()
118 return SkData::MakeWithCopy(&pic, sizeof(pic)); in array_serial_proc()
/external/skia/include/core/
DSkData.h80 static sk_sp<SkData> MakeWithCopy(const void* data, size_t length);
/external/skqp/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()
/external/skqp/src/codec/
DSkStreamBuffer.cpp60 sk_sp<SkData> data(SkData::MakeWithCopy(fBuffer, fBytesBuffered)); in markPosition()
/external/skqp/bench/
DJSONBench.cpp144 auto data = SkData::MakeWithCopy(fCStringData->data(), fCStringData->size()); in onDraw()
/external/skia/bench/
DJSONBench.cpp144 auto data = SkData::MakeWithCopy(fCStringData->data(), fCStringData->size()); in onDraw()

123