Home
last modified time | relevance | path

Searched refs:szsrc (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Descaping.cc73 size_t Base64EscapeInternal(const unsigned char* src, size_t szsrc, char* dest, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
84 const unsigned char* const limit_src = src + szsrc; in Base64EscapeInternal()
88 if (szsrc >= 3) { // "limit_src - 3" is UB if szsrc < 3. in Base64EscapeInternal()
106 szsrc = limit_src - cur_src; in Base64EscapeInternal()
109 switch (szsrc) { in Base64EscapeInternal()
172 ABSL_RAW_LOG(FATAL, "Logic problem? szsrc = %zu", szsrc); in Base64EscapeInternal()
Descaping.h35 size_t Base64EscapeInternal(const unsigned char* src, size_t szsrc, char* dest,
42 void Base64EscapeInternal(const unsigned char* src, size_t szsrc, String* dest, in Base64EscapeInternal() argument
45 CalculateBase64EscapedLenInternal(szsrc, do_padding); in Base64EscapeInternal()
49 src, szsrc, &(*dest)[0], dest->size(), base64_chars, do_padding); in Base64EscapeInternal()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Descaping.cc434 bool Base64UnescapeInternal(const char* src_param, size_t szsrc, char* dest, in Base64UnescapeInternal() argument
459 --szsrc; \ in Base64UnescapeInternal()
463 if (absl::ascii_isspace(ch) && szsrc >= remain) goto label; \ in Base64UnescapeInternal()
480 while (szsrc >= 4) { in Base64UnescapeInternal()
514 szsrc -= 4; in Base64UnescapeInternal()
529 while (szsrc >= 4) { in Base64UnescapeInternal()
541 szsrc -= 4; in Base64UnescapeInternal()
560 ++szsrc; in Base64UnescapeInternal()
567 while (szsrc > 0) { in Base64UnescapeInternal()
568 --szsrc; in Base64UnescapeInternal()
[all …]
/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1722 int Base64UnescapeInternal(const char *src_param, int szsrc, in Base64UnescapeInternal() argument
1747 --szsrc; \ in Base64UnescapeInternal()
1751 if (ascii_isspace(ch) && szsrc >= remain) \ in Base64UnescapeInternal()
1769 while (szsrc >= 4) { in Base64UnescapeInternal()
1802 szsrc -= 4; in Base64UnescapeInternal()
1819 while (szsrc >= 4) { in Base64UnescapeInternal()
1830 szsrc -= 4; in Base64UnescapeInternal()
1851 ++szsrc; in Base64UnescapeInternal()
1858 while (szsrc > 0) { in Base64UnescapeInternal()
1859 --szsrc; in Base64UnescapeInternal()
[all …]
Dstrutil.h859 PROTOBUF_EXPORT void Base64Escape(const unsigned char* src, int szsrc,
861 PROTOBUF_EXPORT void WebSafeBase64Escape(const unsigned char* src, int szsrc,