Lines Matching refs:cur
109 struct { int base, len; } best, cur; in inet_ntop6() local
122 cur.base = -1; in inet_ntop6()
124 cur.len = 0; in inet_ntop6()
127 if (cur.base == -1) in inet_ntop6()
128 cur.base = i, cur.len = 1; in inet_ntop6()
130 cur.len++; in inet_ntop6()
132 if (cur.base != -1) { in inet_ntop6()
133 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
134 best = cur; in inet_ntop6()
135 cur.base = -1; in inet_ntop6()
139 if (cur.base != -1) { in inet_ntop6()
140 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
141 best = cur; in inet_ntop6()