Lines Matching refs:base
71 struct { int base, len; } best, cur; in inet_ntop6() member
83 best.base = -1; in inet_ntop6()
85 cur.base = -1; in inet_ntop6()
89 if (cur.base == -1) in inet_ntop6()
90 cur.base = i, cur.len = 1; in inet_ntop6()
94 if (cur.base != -1) { in inet_ntop6()
95 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
97 cur.base = -1; in inet_ntop6()
101 if (cur.base != -1) { in inet_ntop6()
102 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
105 if (best.base != -1 && best.len < 2) in inet_ntop6()
106 best.base = -1; in inet_ntop6()
114 if (best.base != -1 && i >= best.base && in inet_ntop6()
115 i < (best.base + best.len)) { in inet_ntop6()
116 if (i == best.base) in inet_ntop6()
124 if (i == 6 && best.base == 0 && (best.len == 6 || in inet_ntop6()
136 if (best.base != -1 && (best.base + best.len) == ARRAY_SIZE(words)) in inet_ntop6()