Lines Matching refs:i
56 register unsigned int i; in php_quot_print_decode() local
87 i = length, p1 = str; buf_size = length; in php_quot_print_decode()
89 while (i > 1 && *p1 != '\0') { in php_quot_print_decode()
93 i--; in php_quot_print_decode()
96 i--; in php_quot_print_decode()
100 i = length; p1 = str; p2 = retval; in php_quot_print_decode()
103 while (i > 0 && *p1 != '\0') { in php_quot_print_decode()
105 i--, p1++; in php_quot_print_decode()
106 if (i == 0 || *p1 == '\0') { in php_quot_print_decode()
112 if ((--i) == 0 || (l_nbl = hexval_tbl[*(++p1)]) >= 16) { in php_quot_print_decode()
117 i--, p1++; in php_quot_print_decode()
121 if (--i == 0 || (h_nbl = hexval_tbl[*(++p1)]) == 64) { in php_quot_print_decode()
126 if (p1[0] == '\r' && i >= 2 && p1[1] == '\n') { in php_quot_print_decode()
127 i--, p1++; in php_quot_print_decode()
129 i--, p1++; in php_quot_print_decode()
136 i--, p1++, decoded_len++; in php_quot_print_decode()
206 int arg1_len, i = 0, j = 0, k; in PHP_FUNCTION() local
219 while (str_in[i]) { in PHP_FUNCTION()
220 switch (str_in[i]) { in PHP_FUNCTION()
222 if (str_in[i + 1] && str_in[i + 2] && in PHP_FUNCTION()
223 isxdigit((int) str_in[i + 1]) && in PHP_FUNCTION()
224 isxdigit((int) str_in[i + 2])) in PHP_FUNCTION()
226 str_out[j++] = (php_hex2int((int) str_in[i + 1]) << 4) in PHP_FUNCTION()
227 + php_hex2int((int) str_in[i + 2]); in PHP_FUNCTION()
228 i += 3; in PHP_FUNCTION()
231 while (str_in[i + k] && ((str_in[i + k] == 32) || (str_in[i + k] == 9))) { in PHP_FUNCTION()
235 if (!str_in[i + k]) { in PHP_FUNCTION()
237 i += k; in PHP_FUNCTION()
239 else if ((str_in[i + k] == 13) && (str_in[i + k + 1] == 10)) { in PHP_FUNCTION()
241 i += k + 2; in PHP_FUNCTION()
243 else if ((str_in[i + k] == 13) || (str_in[i + k] == 10)) { in PHP_FUNCTION()
245 i += k + 1; in PHP_FUNCTION()
248 str_out[j++] = str_in[i++]; in PHP_FUNCTION()
253 str_out[j++] = str_in[i++]; in PHP_FUNCTION()