/external/skia/tests/ |
D | SkBase64Test.cpp | 13 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()
|
D | TestUtils.cpp | 122 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/ |
D | SkBase64.cpp | 28 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()
|
D | SkBase64.h | 13 struct SkBase64 { struct 21 SkBase64(); argument
|
/external/skqp/tests/ |
D | SkBase64Test.cpp | 13 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()
|
D | TestUtils.cpp | 168 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/ |
D | SkBase64.h | 13 struct SkBase64 { struct 21 SkBase64(); argument
|
/external/skia/src/utils/ |
D | SkBase64.cpp | 33 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/ |
D | MemoryCache.cpp | 15 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/ |
D | SkResources.cpp | 293 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/ |
D | MemoryCache.cpp | 22 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/ |
D | SkBase64.h | 13 struct SkBase64 { struct
|
/external/skqp/gn/ |
D | utils.gni | 28 "$_src/utils/SkBase64.cpp", 29 "$_src/utils/SkBase64.h",
|
/external/skia/gn/ |
D | utils.gni | 12 "$_include/utils/SkBase64.h", 33 "$_src/utils/SkBase64.cpp",
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 429 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/ |
D | SkSVGDevice.cpp | 501 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/ |
D | debugger_bindings.cpp | 263 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/ |
D | SkFontHost_win.cpp | 1752 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); in format_guid_b64()
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 1788 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); in format_guid_b64()
|
/external/skqp/ |
D | Android.bp | 1207 "src/utils/SkBase64.cpp",
|
/external/skia/ |
D | Android.bp | 867 "src/utils/SkBase64.cpp", 1356 "src/utils/SkBase64.cpp",
|