Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSkBase64Test.cpp13 DEF_TEST(SkBase64, reporter) { in DEF_TEST() argument
24 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); in DEF_TEST()
26 SkBase64::Encode(all + offset, length, src.get()); in DEF_TEST()
31 SkBase64::Error err; in DEF_TEST()
34 err = SkBase64::Decode(src.get(), encodeLength, nullptr, &decodeLength); in DEF_TEST()
35 if (err != SkBase64::kNoError) { in DEF_TEST()
42 err = SkBase64::Decode(src.get(), encodeLength, dst, &decodeLength); in DEF_TEST()
43 if (err != SkBase64::kNoError) { in DEF_TEST()
DTestUtils.cpp121 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in BipmapToBase64DataURI()
132 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in BipmapToBase64DataURI()
/third_party/flutter/skia/src/utils/
DSkBase64.cpp28 SkBase64::SkBase64() : fLength((size_t) -1), fData(nullptr) { in SkBase64() function in SkBase64
36 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { in decode()
111 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { in Encode()
155 SkBase64::Error SkBase64::decode(const char* src, size_t len) { in decode()
/third_party/flutter/skia/tests/
DSkBase64Test.cpp13 DEF_TEST(SkBase64, reporter) { in DEF_TEST() argument
22 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); in DEF_TEST()
24 SkBase64::Encode(all + offset, length, src.get()); in DEF_TEST()
26 SkBase64 tryMe; in DEF_TEST()
DTestUtils.cpp164 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in bitmap_to_base64_data_uri()
175 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in bitmap_to_base64_data_uri()
/third_party/flutter/skia/include/utils/
DSkBase64.h13 struct SkBase64 { struct
21 SkBase64(); argument
/third_party/skia/src/utils/
DSkBase64.cpp33 SkBase64::Error SkBase64::Decode(const void* srcv, size_t srcLength, void* dstv, size_t* dstLength){ in Decode()
109 size_t SkBase64::Encode(const void* srcv, size_t length, void* dstv, const char* encodeMap) { in Encode()
DBUILD.bazel7 "SkBase64.cpp",
/third_party/skia/modules/skresources/src/
DSkResources.cpp293 if (SkBase64::Decode(b64Data, b64DataLen, nullptr, &dataLen) != SkBase64::kNoError) { in decode_datauri()
299 if (SkBase64::Decode(b64Data, b64DataLen, rawData, &dataLen) != SkBase64::kNoError) { in decode_datauri()
/third_party/flutter/engine/flutter/flow/layers/
Dperformance_overlay_layer_unittests.cc86 SkBase64::Encode(snapshot_data->data(), snapshot_data->size(), nullptr); in TEST()
89 SkBase64::Encode(snapshot_data->data(), snapshot_data->size(), b64_char); in TEST()
/third_party/flutter/skia/tools/gpu/
DMemoryCache.cpp21 size_t encodeLength = SkBase64::Encode(data.data(), data.size(), nullptr); in data_to_str()
24 SkBase64::Encode(data.data(), data.size(), str.writable_str()); in data_to_str()
/third_party/skia/tools/gpu/
DMemoryCache.cpp22 size_t encodeLength = SkBase64::Encode(data.data(), data.size(), nullptr); in data_to_str()
25 SkBase64::Encode(data.data(), data.size(), str.writable_str()); in data_to_str()
/third_party/skia/include/utils/
DSkBase64.h13 struct SkBase64 { struct
DBUILD.bazel7 "SkBase64.h",
/third_party/flutter/skia/gn/
Dutils.gni12 "$_include/utils/SkBase64.h",
34 "$_src/utils/SkBase64.cpp",
/third_party/skia/gn/
Dutils.gni12 "$_include/utils/SkBase64.h",
33 "$_src/utils/SkBase64.cpp",
/third_party/flutter/engine/flutter/shell/common/
Drasterizer.cc418 size_t b64_size = SkBase64::Encode(data->data(), data->size(), nullptr); in ScreenshotLastLayerTree()
420 SkBase64::Encode(data->data(), data->size(), b64_data->writable_data()); in ScreenshotLastLayerTree()
/third_party/flutter/skia/src/svg/
DSkSVGDevice.cpp461 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr); in AsDataUri()
465 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1); in AsDataUri()
815 size_t b64Size = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in drawBitmapCommon()
817 SkBase64::Encode(pngData->data(), pngData->size(), b64Data.get()); in drawBitmapCommon()
/third_party/skia/src/svg/
DSkSVGDevice.cpp506 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr); in AsDataUri()
510 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1); in AsDataUri()
938 size_t b64Size = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in drawBitmapCommon()
940 SkBase64::Encode(pngData->data(), pngData->size(), b64Data.get()); in drawBitmapCommon()
/third_party/skia/experimental/wasm-skp-debugger/
Ddebugger_bindings.cpp263 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in getImageResource()
266 SkBase64::Encode(pngData->data(), pngData->size(), dst.writable_str()); in getImageResource()
/third_party/flutter/build/skia/
DBUILD.gn856 "$flutter_root/skia/src/utils/SkBase64.cpp",
1068 "$flutter_root/skia/src/utils/SkBase64.cpp",
/third_party/skia/src/ports/
DSkFontHost_win.cpp1752 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); in format_guid_b64()
/third_party/flutter/skia/src/ports/
DSkFontHost_win.cpp1729 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); in format_guid_b64()
/third_party/flutter/build/skia/ohos/
DBUILD.gn542 "$flutter_root/skia/src/utils/SkBase64.cpp",
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia5326 FILE: ../../../third_party/skia/include/utils/SkBase64.h
5422 FILE: ../../../third_party/skia/src/utils/SkBase64.cpp