Home
last modified time | relevance | path

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

/external/google-breakpad/src/tools/windows/converter_exe/
Descaping.cc211 int Base64UnescapeInternal(const char *src, int szsrc, in Base64UnescapeInternal() argument
230 --szsrc; \ in Base64UnescapeInternal()
234 if (ascii_isspace((char)ch) && szsrc >= remain) \ in Base64UnescapeInternal()
252 while (szsrc >= 4) { in Base64UnescapeInternal()
285 szsrc -= 4; in Base64UnescapeInternal()
302 while (szsrc >= 4) { in Base64UnescapeInternal()
313 szsrc -= 4; in Base64UnescapeInternal()
333 ++szsrc; in Base64UnescapeInternal()
340 while (szsrc > 0) { in Base64UnescapeInternal()
341 --szsrc; in Base64UnescapeInternal()
[all …]
Descaping.h55 void Base64Escape(const unsigned char* src, int szsrc,
64 void WebSafeBase64Escape(const unsigned char* src, int szsrc,
/external/dynamic_depth/internal/strings/
Descaping.cc34 bool Base64UnescapeInternal(const char* src_param, size_t szsrc, char* dest, in Base64UnescapeInternal() argument
59 --szsrc; \ in Base64UnescapeInternal()
63 if (ascii_isspace(ch) && szsrc >= remain) goto label; \ in Base64UnescapeInternal()
80 while (szsrc >= 4) { in Base64UnescapeInternal()
114 szsrc -= 4; in Base64UnescapeInternal()
131 while (szsrc >= 4) { in Base64UnescapeInternal()
143 szsrc -= 4; in Base64UnescapeInternal()
164 ++szsrc; in Base64UnescapeInternal()
171 while (szsrc > 0) { in Base64UnescapeInternal()
172 --szsrc; in Base64UnescapeInternal()
[all …]
Descaping.h53 void Base64Escape(const unsigned char* src, ptrdiff_t szsrc, string* dest,
/external/openscreen/third_party/abseil/src/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()
/external/libtextclassifier/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()
/external/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()
/external/webrtc/third_party/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()
/external/angle/third_party/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()
/external/rust/crates/grpcio-sys/grpc/third_party/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()
/external/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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/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 …]
/external/angle/third_party/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 …]
/external/openscreen/third_party/abseil/src/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 …]
/external/libtextclassifier/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 …]
/external/webrtc/third_party/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 …]
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1727 int Base64UnescapeInternal(const char *src_param, int szsrc, in Base64UnescapeInternal() argument
1752 --szsrc; \ in Base64UnescapeInternal()
1756 if (ascii_isspace(ch) && szsrc >= remain) \ in Base64UnescapeInternal()
1774 while (szsrc >= 4) { in Base64UnescapeInternal()
1807 szsrc -= 4; in Base64UnescapeInternal()
1824 while (szsrc >= 4) { in Base64UnescapeInternal()
1835 szsrc -= 4; in Base64UnescapeInternal()
1856 ++szsrc; in Base64UnescapeInternal()
1863 while (szsrc > 0) { in Base64UnescapeInternal()
1864 --szsrc; in Base64UnescapeInternal()
[all …]
Dstrutil.h860 PROTOBUF_EXPORT void Base64Escape(const unsigned char* src, int szsrc,
862 PROTOBUF_EXPORT void WebSafeBase64Escape(const unsigned char* src, int szsrc,
/external/webrtc/rtc_base/
Dbase64_unittest.cc336 size_t szsrc, in Base64Escape() argument
340 Base64::EncodeFromArray((const char*)src, szsrc, &escaped); in Base64Escape()
346 size_t szsrc, in Base64Unescape() argument
351 Base64::DecodeFromArray(src, szsrc, Base64::DO_LAX, &unescaped, nullptr)); in Base64Unescape()
356 size_t Base64Unescape(const char* src, size_t szsrc, std::string* s) { in Base64Unescape() argument
357 EXPECT_TRUE(Base64::DecodeFromArray(src, szsrc, Base64::DO_LAX, s, nullptr)); in Base64Unescape()