Home
last modified time | relevance | path

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

/external/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.cpp122 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in BipmapToBase64DataURI()
133 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in BipmapToBase64DataURI()
/external/skqp/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()
DSkBase64.h13 struct SkBase64 { struct
21 SkBase64(); argument
/external/skqp/tests/
DSkBase64Test.cpp13 DEF_TEST(SkBase64, reporter) { in DEF_TEST() argument
21 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); in DEF_TEST()
23 SkBase64::Encode(all + offset, length, src.get()); in DEF_TEST()
25 SkBase64 tryMe; in DEF_TEST()
DTestUtils.cpp168 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in bitmap_to_base64_data_uri()
179 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in bitmap_to_base64_data_uri()
/external/skqp/include/utils/
DSkBase64.h13 struct SkBase64 { struct
21 SkBase64(); argument
/external/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()
/external/skqp/tools/gpu/
DMemoryCache.cpp15 size_t encodeLength = SkBase64::Encode(data.data(), data.size(), nullptr); in data_to_str()
18 SkBase64::Encode(data.data(), data.size(), str.writable_str()); in data_to_str()
/external/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()
/external/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()
/external/skia/include/utils/
DSkBase64.h13 struct SkBase64 { struct
/external/skqp/gn/
Dutils.gni28 "$_src/utils/SkBase64.cpp",
29 "$_src/utils/SkBase64.h",
/external/skia/gn/
Dutils.gni12 "$_include/utils/SkBase64.h",
33 "$_src/utils/SkBase64.cpp",
/external/skqp/src/svg/
DSkSVGDevice.cpp429 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr); in AsDataUri()
433 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1); in AsDataUri()
785 size_t b64Size = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in drawBitmapCommon()
787 SkBase64::Encode(pngData->data(), pngData->size(), b64Data.get()); in drawBitmapCommon()
/external/skia/src/svg/
DSkSVGDevice.cpp501 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr); in AsDataUri()
505 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1); in AsDataUri()
933 size_t b64Size = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in drawBitmapCommon()
935 SkBase64::Encode(pngData->data(), pngData->size(), b64Data.get()); in drawBitmapCommon()
/external/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()
/external/skia/src/ports/
DSkFontHost_win.cpp1752 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); in format_guid_b64()
/external/skqp/src/ports/
DSkFontHost_win.cpp1788 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); in format_guid_b64()
/external/skqp/
DAndroid.bp1207 "src/utils/SkBase64.cpp",
/external/skia/
DAndroid.bp867 "src/utils/SkBase64.cpp",
1356 "src/utils/SkBase64.cpp",