Lines Matching refs:best
101 } best, cur; in inet_ntop6() local
113 best.base = -1; in inet_ntop6()
115 best.len = 0; in inet_ntop6()
127 if(best.base == -1 || cur.len > best.len) in inet_ntop6()
128 best = cur; in inet_ntop6()
132 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6()
133 best = cur; in inet_ntop6()
134 if(best.base != -1 && best.len < 2) in inet_ntop6()
135 best.base = -1; in inet_ntop6()
140 if(best.base != -1 && i >= best.base && i < (best.base + best.len)) { in inet_ntop6()
141 if(i == best.base) in inet_ntop6()
153 if(i == 6 && best.base == 0 && in inet_ntop6()
154 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
167 if(best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in inet_ntop6()