Lines Matching refs:inp

2809 	const unsigned char *in, *inp, *endp;  in PHP_FUNCTION()  local
2831 for (endp = (inp = in) + inlen; inp < endp; inp++) { in PHP_FUNCTION()
2834 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2835 php_error_docref(NULL, E_WARNING, "Invalid modified UTF-7 character: `%c'", *inp); in PHP_FUNCTION()
2837 } else if (*inp != '&') { in PHP_FUNCTION()
2839 } else if (inp + 1 == endp) { in PHP_FUNCTION()
2842 } else if (inp[1] != '-') { in PHP_FUNCTION()
2846 inp++; in PHP_FUNCTION()
2848 } else if (*inp == '-') { in PHP_FUNCTION()
2851 php_error_docref(NULL, E_WARNING, "Stray modified base64 character: `%c'", *--inp); in PHP_FUNCTION()
2855 } else if (!B64CHAR(*inp)) { in PHP_FUNCTION()
2856 php_error_docref(NULL, E_WARNING, "Invalid modified base64 character: `%c'", *inp); in PHP_FUNCTION()
2887 for (endp = (inp = in) + inlen; inp < endp; inp++) { in PHP_FUNCTION()
2889 if (*inp == '&' && inp[1] != '-') { in PHP_FUNCTION()
2892 else if ((*outp++ = *inp) == '&') { in PHP_FUNCTION()
2893 inp++; in PHP_FUNCTION()
2896 else if (*inp == '-') { in PHP_FUNCTION()
2903 *outp = UNB64(*inp) << 2; in PHP_FUNCTION()
2907 outp[1] = UNB64(*inp); in PHP_FUNCTION()
2914 outp[1] = UNB64(*inp); in PHP_FUNCTION()
2921 *outp++ |= UNB64(*inp); in PHP_FUNCTION()
2948 const unsigned char *in, *inp, *endp; in PHP_FUNCTION() local
2970 endp = (inp = in) + inlen; in PHP_FUNCTION()
2971 while (inp < endp) { in PHP_FUNCTION()
2973 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2976 } else if (*inp++ == '&') { in PHP_FUNCTION()
2980 } else if (!SPECIAL(*inp)) { in PHP_FUNCTION()
2994 inp++; in PHP_FUNCTION()
3004 endp = (inp = in) + inlen; in PHP_FUNCTION()
3005 while (inp < endp || state != ST_NORMAL) { in PHP_FUNCTION()
3007 if (SPECIAL(*inp)) { in PHP_FUNCTION()
3011 } else if ((*outp++ = *inp++) == '&') { in PHP_FUNCTION()
3014 } else if (inp == endp || !SPECIAL(*inp)) { in PHP_FUNCTION()
3026 *outp++ = B64(*inp >> 2); in PHP_FUNCTION()
3027 *outp = *inp++ << 4; in PHP_FUNCTION()
3031 c = B64(*outp | *inp >> 4); in PHP_FUNCTION()
3033 *outp = *inp++ << 2; in PHP_FUNCTION()
3037 c = B64(*outp | *inp >> 6); in PHP_FUNCTION()
3039 *outp++ = B64(*inp++); in PHP_FUNCTION()