Lines Matching refs:end

72 	const char *end = str + str_len;  in php_filter_parse_int()  local
83 if (*str == '0' && str + 1 == end) { in php_filter_parse_int()
89 if (str < end && *str >= '1' && *str <= '9') { in php_filter_parse_int()
95 if ((end - str > MAX_LENGTH_OF_LONG - 1) /* number too long */ in php_filter_parse_int()
96 || (SIZEOF_LONG == 4 && (end - str == MAX_LENGTH_OF_LONG - 1) && *str > '2')) { in php_filter_parse_int()
101 while (str < end) { in php_filter_parse_int()
123 const char *end = str + str_len; in php_filter_parse_octal() local
125 while (str < end) { in php_filter_parse_octal()
146 const char *end = str + str_len; in php_filter_parse_hex() local
149 while (str < end) { in php_filter_parse_hex()
309 char *str, *end; in php_filter_float() local
327 end = str + len; in php_filter_float()
341 if (str < end && (*str == '+' || *str == '-')) { in php_filter_float()
347 while (str < end && *str >= '0' && *str <= '9') { in php_filter_float()
351 if (str == end || *str == dec_sep || *str == 'e' || *str == 'E') { in php_filter_float()
358 while (str < end && *str >= '0' && *str <= '9') { in php_filter_float()
364 if (str < end && (*str == '+' || *str == '-')) { in php_filter_float()
367 while (str < end && *str >= '0' && *str <= '9') { in php_filter_float()
383 if (str != end) { in php_filter_float()
559 const char *end = str + str_len; in _php_filter_validate_ipv4() local
563 while (str < end) { in _php_filter_validate_ipv4()
571 while (str < end && (*str >= '0' && *str <= '9')) { in _php_filter_validate_ipv4()
583 return str == end; in _php_filter_validate_ipv4()
584 } else if (str >= end || *(str++) != '.') { in _php_filter_validate_ipv4()
598 char *end; in _php_filter_validate_ipv6() local
630 end = str + str_len; in _php_filter_validate_ipv6()
632 while (str < end) { in _php_filter_validate_ipv6()
634 if (++str >= end) { in _php_filter_validate_ipv6()
645 if (++str == end) { in _php_filter_validate_ipv6()
654 while ((str < end) && in _php_filter_validate_ipv6()