Lines Matching refs:best
92 } best, cur; in inet_ntop6() local
104 best.base = -1; in inet_ntop6()
106 best.len = 0; in inet_ntop6()
117 if(best.base == -1 || cur.len > best.len) in inet_ntop6()
118 best = cur; in inet_ntop6()
122 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6()
123 best = cur; in inet_ntop6()
124 if(best.base != -1 && best.len < 2) in inet_ntop6()
125 best.base = -1; in inet_ntop6()
130 if(best.base != -1 && i >= best.base && i < (best.base + best.len)) { in inet_ntop6()
131 if(i == best.base) in inet_ntop6()
143 if(i == 6 && best.base == 0 && in inet_ntop6()
144 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
157 if(best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in inet_ntop6()