Home
last modified time | relevance | path

Searched refs:szdest (Results 1 – 24 of 24) sorted by relevance

/external/openscreen/third_party/abseil/src/absl/strings/internal/
Descaping.cc74 size_t szdest, const char* base64, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
83 char* const limit_dest = dest + szdest; in Base64EscapeInternal()
105 szdest = limit_dest - cur_dest; in Base64EscapeInternal()
116 if (szdest < 2) return 0; in Base64EscapeInternal()
122 szdest -= 2; in Base64EscapeInternal()
124 if (szdest < 2) return 0; in Base64EscapeInternal()
128 szdest -= 2; in Base64EscapeInternal()
135 if (szdest < 3) return 0; in Base64EscapeInternal()
143 szdest -= 3; in Base64EscapeInternal()
[all …]
Descaping.h36 size_t szdest, const char* base64, bool do_padding);
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Descaping.cc74 size_t szdest, const char* base64, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
83 char* const limit_dest = dest + szdest; in Base64EscapeInternal()
105 szdest = limit_dest - cur_dest; in Base64EscapeInternal()
116 if (szdest < 2) return 0; in Base64EscapeInternal()
122 szdest -= 2; in Base64EscapeInternal()
124 if (szdest < 2) return 0; in Base64EscapeInternal()
128 szdest -= 2; in Base64EscapeInternal()
135 if (szdest < 3) return 0; in Base64EscapeInternal()
143 szdest -= 3; in Base64EscapeInternal()
[all …]
Descaping.h36 size_t szdest, const char* base64, bool do_padding);
/external/abseil-cpp/absl/strings/internal/
Descaping.cc74 size_t szdest, const char* base64, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
83 char* const limit_dest = dest + szdest; in Base64EscapeInternal()
105 szdest = limit_dest - cur_dest; in Base64EscapeInternal()
116 if (szdest < 2) return 0; in Base64EscapeInternal()
122 szdest -= 2; in Base64EscapeInternal()
124 if (szdest < 2) return 0; in Base64EscapeInternal()
128 szdest -= 2; in Base64EscapeInternal()
135 if (szdest < 3) return 0; in Base64EscapeInternal()
143 szdest -= 3; in Base64EscapeInternal()
[all …]
Descaping.h36 size_t szdest, const char* base64, bool do_padding);
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Descaping.cc74 size_t szdest, const char* base64, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
83 char* const limit_dest = dest + szdest; in Base64EscapeInternal()
105 szdest = limit_dest - cur_dest; in Base64EscapeInternal()
116 if (szdest < 2) return 0; in Base64EscapeInternal()
122 szdest -= 2; in Base64EscapeInternal()
124 if (szdest < 2) return 0; in Base64EscapeInternal()
128 szdest -= 2; in Base64EscapeInternal()
135 if (szdest < 3) return 0; in Base64EscapeInternal()
143 szdest -= 3; in Base64EscapeInternal()
[all …]
Descaping.h36 size_t szdest, const char* base64, bool do_padding);
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Descaping.cc74 size_t szdest, const char* base64, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
83 char* const limit_dest = dest + szdest; in Base64EscapeInternal()
105 szdest = limit_dest - cur_dest; in Base64EscapeInternal()
116 if (szdest < 2) return 0; in Base64EscapeInternal()
122 szdest -= 2; in Base64EscapeInternal()
124 if (szdest < 2) return 0; in Base64EscapeInternal()
128 szdest -= 2; in Base64EscapeInternal()
135 if (szdest < 3) return 0; in Base64EscapeInternal()
143 szdest -= 3; in Base64EscapeInternal()
[all …]
Descaping.h36 size_t szdest, const char* base64, bool do_padding);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Descaping.cc74 size_t szdest, const char* base64, in Base64EscapeInternal() argument
78 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
83 char* const limit_dest = dest + szdest; in Base64EscapeInternal()
105 szdest = limit_dest - cur_dest; in Base64EscapeInternal()
116 if (szdest < 2) return 0; in Base64EscapeInternal()
122 szdest -= 2; in Base64EscapeInternal()
124 if (szdest < 2) return 0; in Base64EscapeInternal()
128 szdest -= 2; in Base64EscapeInternal()
135 if (szdest < 3) return 0; in Base64EscapeInternal()
143 szdest -= 3; in Base64EscapeInternal()
[all …]
Descaping.h36 size_t szdest, const char* base64, bool do_padding);
/external/google-breakpad/src/tools/windows/converter_exe/
Descaping.cc212 char *dest, int szdest, in Base64UnescapeInternal() argument
293 if (destidx+3 > szdest) return -1; in Base64UnescapeInternal()
367 if (destidx+3 > szdest) return -1; in Base64UnescapeInternal()
395 if (destidx+1 > szdest) return -1; in Base64UnescapeInternal()
406 if (destidx+2 > szdest) return -1; in Base64UnescapeInternal()
439 int Base64Unescape(const char *src, int szsrc, char *dest, int szdest) { in Base64Unescape() argument
501 return Base64UnescapeInternal(src, szsrc, dest, szdest, UnBase64); in Base64Unescape()
535 char *dest, int szdest, const char *base64, in Base64EscapeInternal() argument
547 if ((szdest -= 4) < 0) return 0; in Base64EscapeInternal()
566 if ((szdest -= 2) < 0) return 0; in Base64EscapeInternal()
[all …]
Descaping.h53 int Base64Escape(const unsigned char* src, int slen, char* dest, int szdest);
59 int szdest, bool do_padding);
79 int Base64Unescape(const char* src, int slen, char* dest, int szdest);
86 int WebSafeBase64Unescape(const char* src, int slen, char* dest, int szdest);
/external/dynamic_depth/internal/strings/
Descaping.cc35 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
122 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
198 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
226 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
237 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()
419 int szdest, const char* base64, bool do_padding) { in Base64EscapeInternal() argument
430 if ((szdest -= 4) < 0) return 0; in Base64EscapeInternal()
449 if ((szdest -= 2) < 0) return 0; in Base64EscapeInternal()
454 if ((szdest -= 2) < 0) return 0; in Base64EscapeInternal()
463 if ((szdest -= 3) < 0) return 0; in Base64EscapeInternal()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1728 char *dest, int szdest, in Base64UnescapeInternal() argument
1815 if (destidx+3 > szdest) return -1; in Base64UnescapeInternal()
1890 if (destidx+3 > szdest) return -1; in Base64UnescapeInternal()
1918 if (destidx+1 > szdest) return -1; in Base64UnescapeInternal()
1929 if (destidx+2 > szdest) return -1; in Base64UnescapeInternal()
2061 int WebSafeBase64Unescape(const char *src, int szsrc, char *dest, int szdest) { in WebSafeBase64Unescape() argument
2062 return Base64UnescapeInternal(src, szsrc, dest, szdest, kUnWebSafeBase64); in WebSafeBase64Unescape()
2099 char *dest, int szdest, const char *base64, in Base64EscapeInternal() argument
2105 if (szsrc * 4 > szdest * 3) return 0; in Base64EscapeInternal()
2110 char *limit_dest = dest + szdest; in Base64EscapeInternal()
[all …]
Dstrutil.h824 int szdest);
848 int szdest);
850 char* dest, int szdest,
/external/webrtc/rtc_base/
Dbase64_unittest.cc338 size_t szdest) { in Base64Escape() argument
341 memcpy(dest, escaped.data(), std::min(escaped.size(), szdest)); in Base64Escape()
348 size_t szdest) { in Base64Unescape() argument
352 memcpy(dest, unescaped.data(), std::min(unescaped.size(), szdest)); in Base64Unescape()
/external/abseil-cpp/absl/strings/
Descaping.cc435 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
520 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
592 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
620 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
631 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Descaping.cc435 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
520 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
592 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
620 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
631 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()
/external/angle/third_party/abseil-cpp/absl/strings/
Descaping.cc435 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
520 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
592 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
620 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
631 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()
/external/openscreen/third_party/abseil/src/absl/strings/
Descaping.cc435 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
520 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
592 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
620 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
631 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()
/external/libtextclassifier/abseil-cpp/absl/strings/
Descaping.cc435 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
520 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
592 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
620 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
631 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Descaping.cc435 size_t szdest, const signed char* unbase64, in Base64UnescapeInternal() argument
520 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
592 if (destidx + 3 > szdest) return false; in Base64UnescapeInternal()
620 if (destidx + 1 > szdest) return false; in Base64UnescapeInternal()
631 if (destidx + 2 > szdest) return false; in Base64UnescapeInternal()