Lines Matching refs:end

99 	const char *end = str + str_len;  in php_filter_parse_int()  local
110 if (*str == '0' && str + 1 == end) { in php_filter_parse_int()
116 if (str < end && *str >= '1' && *str <= '9') { in php_filter_parse_int()
122 if ((end - str > MAX_LENGTH_OF_LONG - 1) /* number too long */ in php_filter_parse_int()
123 || (SIZEOF_LONG == 4 && (end - str == MAX_LENGTH_OF_LONG - 1) && *str > '2')) { in php_filter_parse_int()
128 while (str < end) { in php_filter_parse_int()
150 const char *end = str + str_len; in php_filter_parse_octal() local
152 while (str < end) { in php_filter_parse_octal()
173 const char *end = str + str_len; in php_filter_parse_hex() local
176 while (str < end) { in php_filter_parse_hex()
336 char *str, *end; in php_filter_float() local
359 end = str + len; in php_filter_float()
389 if (str < end && (*str == '+' || *str == '-')) { in php_filter_float()
395 while (str < end && *str >= '0' && *str <= '9') { in php_filter_float()
399 if (str == end || *str == dec_sep || *str == 'e' || *str == 'E') { in php_filter_float()
406 while (str < end && *str >= '0' && *str <= '9') { in php_filter_float()
412 if (str < end && (*str == '+' || *str == '-')) { in php_filter_float()
415 while (str < end && *str >= '0' && *str <= '9') { in php_filter_float()
431 if (str != end) { in php_filter_float()
719 const char *end = str + str_len; in _php_filter_validate_ipv4() local
723 while (str < end) { in _php_filter_validate_ipv4()
731 while (str < end && (*str >= '0' && *str <= '9')) { in _php_filter_validate_ipv4()
743 return str == end; in _php_filter_validate_ipv4()
744 } else if (str >= end || *(str++) != '.') { in _php_filter_validate_ipv4()
758 char *end; in _php_filter_validate_ipv6() local
790 end = str + str_len; in _php_filter_validate_ipv6()
792 while (str < end) { in _php_filter_validate_ipv6()
794 if (++str >= end) { in _php_filter_validate_ipv6()
806 if (++str == end) { in _php_filter_validate_ipv6()
818 while (str < end) { in _php_filter_validate_ipv6()