Lines Matching refs:best
176 struct { int base, len; } best, cur; in inet_cidr_ntop_ipv6() local
193 best.base = -1; in inet_cidr_ntop_ipv6()
194 best.len = 0; in inet_cidr_ntop_ipv6()
205 if (best.base == -1 || cur.len > best.len) in inet_cidr_ntop_ipv6()
206 best = cur; in inet_cidr_ntop_ipv6()
212 if (best.base == -1 || cur.len > best.len) in inet_cidr_ntop_ipv6()
213 best = cur; in inet_cidr_ntop_ipv6()
215 if (best.base != -1 && best.len < 2) in inet_cidr_ntop_ipv6()
216 best.base = -1; in inet_cidr_ntop_ipv6()
224 if (best.base != -1 && i >= best.base && in inet_cidr_ntop_ipv6()
225 i < (best.base + best.len)) { in inet_cidr_ntop_ipv6()
226 if (i == best.base) in inet_cidr_ntop_ipv6()
234 if (i == 6 && best.base == 0 && (best.len == 6 || in inet_cidr_ntop_ipv6()
235 (best.len == 7 && words[7] != 0x0001) || in inet_cidr_ntop_ipv6()
236 (best.len == 5 && words[5] == 0xffff))) { in inet_cidr_ntop_ipv6()
257 if (best.base != -1 && (best.base + best.len) == in inet_cidr_ntop_ipv6()