Lines Matching refs:base64

477 static uint32_t* handle_base64_end(unsigned char n, unsigned char **p, uint32_t *out, bool *base64,…  in handle_base64_end()  argument
490 *base64 = false; in handle_base64_end()
508 bool base64 = *state & 1; in mb_utf7_to_wchar() local
512 if (base64) { in mb_utf7_to_wchar()
520 out = handle_base64_end(n1, &p, out, &base64, false, &surrogate1); in mb_utf7_to_wchar()
523 out = handle_base64_end(n1, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
528 out = handle_base64_end(n2, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
533 out = handle_base64_end(n3, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
547 out = handle_base64_end(n4, &p, out, &base64, n3 & 0x3, &surrogate1); in mb_utf7_to_wchar()
550 out = handle_base64_end(n4, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
555 out = handle_base64_end(n5, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
560 out = handle_base64_end(n6, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
572 out = handle_base64_end(n7, &p, out, &base64, n6 & 0xF, &surrogate1); in mb_utf7_to_wchar()
575 out = handle_base64_end(n7, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
580 out = handle_base64_end(n8, &p, out, &base64, true, &surrogate1); in mb_utf7_to_wchar()
594 base64 = true; in mb_utf7_to_wchar()
606 *state = (surrogate1 << 1) | base64; in mb_utf7_to_wchar()
617 #define SAVE_CONVERSION_STATE() buf->state = (cache << 4) | (nbits << 1) | base64
618 #define RESTORE_CONVERSION_STATE() base64 = (buf->state & 1); nbits = (buf->state >> 1) & 0x7; cach…
631 bool base64; in mb_wchar_to_utf7() local
637 if (base64) { in mb_wchar_to_utf7()
640 base64 = false; in mb_wchar_to_utf7()
691 base64 = true; in mb_wchar_to_utf7()
701 if (base64) { in mb_wchar_to_utf7()
730 bool base64 = false; in mb_check_utf7() local
734 if (base64) { in mb_check_utf7()
740 base64 = false; in mb_check_utf7()
769 base64 = false; in mb_check_utf7()
796 base64 = false; in mb_check_utf7()
816 base64 = true; in mb_check_utf7()
826 base64 = true; in mb_check_utf7()