Lines Matching refs:best
129 struct { int base, len; } best, cur; in inet_ntop6() local
141 best.base = -1; in inet_ntop6()
142 best.len = 0; in inet_ntop6()
153 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
154 best = cur; in inet_ntop6()
160 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
161 best = cur; in inet_ntop6()
163 if (best.base != -1 && best.len < 2) in inet_ntop6()
164 best.base = -1; in inet_ntop6()
172 if (best.base != -1 && i >= best.base && in inet_ntop6()
173 i < (best.base + best.len)) { in inet_ntop6()
174 if (i == best.base) in inet_ntop6()
182 if (i == 6 && best.base == 0 && (best.len == 6 || in inet_ntop6()
183 (best.len == 7 && words[7] != 0x0001) || in inet_ntop6()
184 (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
193 if (best.base != -1 && (best.base + best.len) == in inet_ntop6()