Lines Matching refs:best
161 struct { int base, len; } best, cur; in inet_cidr_ntop_ipv6() local
178 best.base = -1; in inet_cidr_ntop_ipv6()
179 best.len = 0; in inet_cidr_ntop_ipv6()
190 if (best.base == -1 || cur.len > best.len) in inet_cidr_ntop_ipv6()
191 best = cur; in inet_cidr_ntop_ipv6()
197 if (best.base == -1 || cur.len > best.len) in inet_cidr_ntop_ipv6()
198 best = cur; in inet_cidr_ntop_ipv6()
200 if (best.base != -1 && best.len < 2) in inet_cidr_ntop_ipv6()
201 best.base = -1; in inet_cidr_ntop_ipv6()
209 if (best.base != -1 && i >= best.base && in inet_cidr_ntop_ipv6()
210 i < (best.base + best.len)) { in inet_cidr_ntop_ipv6()
211 if (i == best.base) in inet_cidr_ntop_ipv6()
219 if (i == 6 && best.base == 0 && (best.len == 6 || in inet_cidr_ntop_ipv6()
220 (best.len == 7 && words[7] != 0x0001) || in inet_cidr_ntop_ipv6()
221 (best.len == 5 && words[5] == 0xffff))) { in inet_cidr_ntop_ipv6()
242 if (best.base != -1 && (best.base + best.len) == in inet_cidr_ntop_ipv6()