Lines Matching refs:inp

2743 	const unsigned char *in, *inp, *endp;  in PHP_FUNCTION()  local
2765 for (endp = (inp = in) + inlen; inp < endp; inp++) { in PHP_FUNCTION()
2768 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2769 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid modified UTF-7 character: `%c'", *inp); in PHP_FUNCTION()
2771 } else if (*inp != '&') { in PHP_FUNCTION()
2773 } else if (inp + 1 == endp) { in PHP_FUNCTION()
2776 } else if (inp[1] != '-') { in PHP_FUNCTION()
2780 inp++; in PHP_FUNCTION()
2782 } else if (*inp == '-') { in PHP_FUNCTION()
2785 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Stray modified base64 character: `%c'", *--inp); in PHP_FUNCTION()
2789 } else if (!B64CHAR(*inp)) { in PHP_FUNCTION()
2790 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid modified base64 character: `%c'", *inp); in PHP_FUNCTION()
2821 for (endp = (inp = in) + inlen; inp < endp; inp++) { in PHP_FUNCTION()
2823 if (*inp == '&' && inp[1] != '-') { in PHP_FUNCTION()
2826 else if ((*outp++ = *inp) == '&') { in PHP_FUNCTION()
2827 inp++; in PHP_FUNCTION()
2830 else if (*inp == '-') { in PHP_FUNCTION()
2837 *outp = UNB64(*inp) << 2; in PHP_FUNCTION()
2841 outp[1] = UNB64(*inp); in PHP_FUNCTION()
2848 outp[1] = UNB64(*inp); in PHP_FUNCTION()
2855 *outp++ |= UNB64(*inp); in PHP_FUNCTION()
2882 const unsigned char *in, *inp, *endp; in PHP_FUNCTION() local
2903 endp = (inp = in) + inlen; in PHP_FUNCTION()
2904 while (inp < endp) { in PHP_FUNCTION()
2906 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2909 } else if (*inp++ == '&') { in PHP_FUNCTION()
2913 } else if (!SPECIAL(*inp)) { in PHP_FUNCTION()
2927 inp++; in PHP_FUNCTION()
2937 endp = (inp = in) + inlen; in PHP_FUNCTION()
2938 while (inp < endp || state != ST_NORMAL) { in PHP_FUNCTION()
2940 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2944 } else if ((*outp++ = *inp++) == '&') { in PHP_FUNCTION()
2947 } else if (inp == endp || !SPECIAL(*inp)) { in PHP_FUNCTION()
2959 *outp++ = B64(*inp >> 2); in PHP_FUNCTION()
2960 *outp = *inp++ << 4; in PHP_FUNCTION()
2964 c = B64(*outp | *inp >> 4); in PHP_FUNCTION()
2966 *outp = *inp++ << 2; in PHP_FUNCTION()
2970 c = B64(*outp | *inp >> 6); in PHP_FUNCTION()
2972 *outp++ = B64(*inp++); in PHP_FUNCTION()