Lines Matching refs:cur
116 struct { int base, len; } best, cur;
130 cur.base = -1;
131 cur.len = 0; /* silence compiler */
134 if (cur.base == -1)
135 cur.base = i, cur.len = 1;
137 cur.len++;
139 if (cur.base != -1) {
140 if (best.base == -1 || cur.len > best.len)
141 best = cur;
142 cur.base = -1;
146 if (cur.base != -1) {
147 if (best.base == -1 || cur.len > best.len)
148 best = cur;