Lines Matching refs:inp

2173 	const unsigned char *in, *inp, *endp;  in PHP_FUNCTION()  local
2195 for (endp = (inp = in) + inlen; inp < endp; inp++) { in PHP_FUNCTION()
2198 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2199 php_error_docref(NULL, E_WARNING, "Invalid modified UTF-7 character: `%c'", *inp); in PHP_FUNCTION()
2201 } else if (*inp != '&') { in PHP_FUNCTION()
2203 } else if (inp + 1 == endp) { in PHP_FUNCTION()
2206 } else if (inp[1] != '-') { in PHP_FUNCTION()
2210 inp++; in PHP_FUNCTION()
2212 } else if (*inp == '-') { in PHP_FUNCTION()
2215 php_error_docref(NULL, E_WARNING, "Stray modified base64 character: `%c'", *--inp); in PHP_FUNCTION()
2219 } else if (!B64CHAR(*inp)) { in PHP_FUNCTION()
2220 php_error_docref(NULL, E_WARNING, "Invalid modified base64 character: `%c'", *inp); in PHP_FUNCTION()
2252 for (endp = (inp = in) + inlen; inp < endp; inp++) { in PHP_FUNCTION()
2254 if (*inp == '&' && inp[1] != '-') { in PHP_FUNCTION()
2257 else if ((*outp++ = *inp) == '&') { in PHP_FUNCTION()
2258 inp++; in PHP_FUNCTION()
2261 else if (*inp == '-') { in PHP_FUNCTION()
2268 *outp = UNB64(*inp) << 2; in PHP_FUNCTION()
2272 outp[1] = UNB64(*inp); in PHP_FUNCTION()
2279 outp[1] = UNB64(*inp); in PHP_FUNCTION()
2286 *outp++ |= UNB64(*inp); in PHP_FUNCTION()
2312 const unsigned char *in, *inp, *endp; in PHP_FUNCTION() local
2334 endp = (inp = in) + inlen; in PHP_FUNCTION()
2335 while (inp < endp) { in PHP_FUNCTION()
2337 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2340 } else if (*inp++ == '&') { in PHP_FUNCTION()
2344 } else if (!SPECIAL(*inp)) { in PHP_FUNCTION()
2358 inp++; in PHP_FUNCTION()
2368 endp = (inp = in) + inlen; in PHP_FUNCTION()
2369 while (inp < endp || state != ST_NORMAL) { in PHP_FUNCTION()
2371 if (SPECIAL(*inp)) { in PHP_FUNCTION()
2375 } else if ((*outp++ = *inp++) == '&') { in PHP_FUNCTION()
2378 } else if (inp == endp || !SPECIAL(*inp)) { in PHP_FUNCTION()
2390 *outp++ = B64(*inp >> 2); in PHP_FUNCTION()
2391 *outp = *inp++ << 4; in PHP_FUNCTION()
2395 c = B64(*outp | *inp >> 4); in PHP_FUNCTION()
2397 *outp = *inp++ << 2; in PHP_FUNCTION()
2401 c = B64(*outp | *inp >> 6); in PHP_FUNCTION()
2403 *outp++ = B64(*inp++); in PHP_FUNCTION()