Lines Matching refs:i

56 	register size_t 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 = (unsigned char*)ZSTR_VAL(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()
207 size_t i = 0, j = 0, k; in PHP_FUNCTION() local
220 while (str_in[i]) { in PHP_FUNCTION()
221 switch (str_in[i]) { in PHP_FUNCTION()
223 if (str_in[i + 1] && str_in[i + 2] && in PHP_FUNCTION()
224 isxdigit((int) str_in[i + 1]) && in PHP_FUNCTION()
225 isxdigit((int) str_in[i + 2])) in PHP_FUNCTION()
227 ZSTR_VAL(str_out)[j++] = (php_hex2int((int) str_in[i + 1]) << 4) in PHP_FUNCTION()
228 + php_hex2int((int) str_in[i + 2]); in PHP_FUNCTION()
229 i += 3; in PHP_FUNCTION()
232 while (str_in[i + k] && ((str_in[i + k] == 32) || (str_in[i + k] == 9))) { in PHP_FUNCTION()
236 if (!str_in[i + k]) { in PHP_FUNCTION()
238 i += k; in PHP_FUNCTION()
240 else if ((str_in[i + k] == 13) && (str_in[i + k + 1] == 10)) { in PHP_FUNCTION()
242 i += k + 2; in PHP_FUNCTION()
244 else if ((str_in[i + k] == 13) || (str_in[i + k] == 10)) { in PHP_FUNCTION()
246 i += k + 1; in PHP_FUNCTION()
249 ZSTR_VAL(str_out)[j++] = str_in[i++]; in PHP_FUNCTION()
254 ZSTR_VAL(str_out)[j++] = str_in[i++]; in PHP_FUNCTION()