Lines Matching full:best
115 } best, cur; in addrtostr6() local
126 best.len = 0; in addrtostr6()
127 best.base = -1; in addrtostr6()
140 if (best.base == -1 || cur.len > best.len) in addrtostr6()
141 best = cur; in addrtostr6()
145 if ((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in addrtostr6()
146 best = cur; in addrtostr6()
147 if (best.base != -1 && best.len < 2) in addrtostr6()
148 best.base = -1; in addrtostr6()
165 /* Are we inside the best run of 0x00's? in addrtostr6()
167 if (best.base != -1 && i >= best.base && i < (best.base + best.len)) in addrtostr6()
169 if (i == best.base) in addrtostr6()
181 if (i == 6 && best.base == 0 && in addrtostr6()
182 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) in addrtostr6()
208 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in addrtostr6()