Lines Matching refs:szdest
212 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()
571 if ((szdest -= 2) < 0) return 0; in Base64EscapeInternal()
580 if ((szdest -= 3) < 0) return 0; in Base64EscapeInternal()
586 if ((szdest -= 1) < 0) return 0; in Base64EscapeInternal()
607 int Base64Escape(const unsigned char *src, int szsrc, char *dest, int szdest) { in Base64Escape() argument
608 return Base64EscapeInternal(src, szsrc, dest, szdest, kBase64Chars, true); in Base64Escape()
634 int WebSafeBase64Unescape(const char *src, int szsrc, char *dest, int szdest) { in WebSafeBase64Unescape() argument
696 return Base64UnescapeInternal(src, szsrc, dest, szdest, UnBase64); in WebSafeBase64Unescape()
719 int szdest, bool do_padding) { in WebSafeBase64Escape() argument
720 return Base64EscapeInternal(src, szsrc, dest, szdest, in WebSafeBase64Escape()