Lines Matching refs:best
113 } best, cur; in inet_ntop_v6() local
125 best.len = 0; in inet_ntop_v6()
126 best.base = -1; in inet_ntop_v6()
139 if (best.base == -1 || cur.len > best.len) in inet_ntop_v6()
140 best = cur; in inet_ntop_v6()
144 if ((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop_v6()
145 best = cur; in inet_ntop_v6()
146 if (best.base != -1 && best.len < 2) in inet_ntop_v6()
147 best.base = -1; in inet_ntop_v6()
156 if (best.base != -1 && i >= best.base && i < (best.base + best.len)) in inet_ntop_v6()
158 if (i == best.base) in inet_ntop_v6()
170 if (i == 6 && best.base == 0 && in inet_ntop_v6()
171 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) in inet_ntop_v6()
186 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in inet_ntop_v6()