Lines Matching refs:base
99 int base; in inet_ntop6() member
113 best.base = -1; in inet_ntop6()
114 cur.base = -1; in inet_ntop6()
120 if(cur.base == -1) { in inet_ntop6()
121 cur.base = i; cur.len = 1; in inet_ntop6()
126 else if(cur.base != -1) { in inet_ntop6()
127 if(best.base == -1 || cur.len > best.len) in inet_ntop6()
129 cur.base = -1; in inet_ntop6()
132 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) 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()
167 if(best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in inet_ntop6()