Lines Matching full:best
91 } best, cur; in inet_ntop6() local
103 best.base = -1; in inet_ntop6()
105 best.len = 0; in inet_ntop6()
116 if(best.base == -1 || cur.len > best.len) in inet_ntop6()
117 best = cur; in inet_ntop6()
121 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6()
122 best = cur; in inet_ntop6()
123 if(best.base != -1 && best.len < 2) in inet_ntop6()
124 best.base = -1; in inet_ntop6()
128 /* Are we inside the best run of 0x00's? */ in inet_ntop6()
129 if(best.base != -1 && i >= best.base && i < (best.base + best.len)) { in inet_ntop6()
130 if(i == best.base) in inet_ntop6()
142 if(i == 6 && best.base == 0 && in inet_ntop6()
143 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
156 if(best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in inet_ntop6()