Lines Matching refs:best
119 struct { int base, len; } best, cur; in inet_ntop6() local
132 best.base = -1; in inet_ntop6()
142 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
143 best = cur; in inet_ntop6()
149 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
150 best = cur; in inet_ntop6()
152 if (best.base != -1 && best.len < 2) in inet_ntop6()
153 best.base = -1; in inet_ntop6()
162 if (best.base != -1 && i >= best.base && in inet_ntop6()
163 i < (best.base + best.len)) { in inet_ntop6()
164 if (i == best.base) { in inet_ntop6()
178 if (i == 6 && best.base == 0 && in inet_ntop6()
179 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
191 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) { in inet_ntop6()