Lines Matching refs:cur
129 struct { int base, len; } best, cur;
143 cur.base = -1;
144 cur.len = 0;
147 if (cur.base == -1)
148 cur.base = i, cur.len = 1;
150 cur.len++;
152 if (cur.base != -1) {
153 if (best.base == -1 || cur.len > best.len)
154 best = cur;
155 cur.base = -1;
159 if (cur.base != -1) {
160 if (best.base == -1 || cur.len > best.len)
161 best = cur;