Home
last modified time | relevance | path

Searched refs:compressed_pos (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/filter/
H A Dlogical_filters.c763 int compressed_pos = -1; in _php_filter_validate_ipv6() local
808 if (compressed_pos >= 0) { in _php_filter_validate_ipv6()
814 compressed_pos = blocks++; /* :: means 1 or more 16-bit 0 blocks */ in _php_filter_validate_ipv6()
858 } else if (ip && compressed_pos >= 0 && blocks <= 8) { in _php_filter_validate_ipv6()
860 for (i = 7; i > compressed_pos + offset; i--) { in _php_filter_validate_ipv6()
863 for (i = compressed_pos + offset; i >= compressed_pos; i--) { in _php_filter_validate_ipv6()
868 return (compressed_pos >= 0 && blocks <= 8) || blocks == 8; in _php_filter_validate_ipv6()

Completed in 5 milliseconds