Lines Matching refs:cur
270 int cur, beg_run, run_count, old_run_count, nonrun_count;
273 cur = 0;
274 while(cur < numbytes) {
275 beg_run = cur;
287 if ((old_run_count > 1)&&(old_run_count == beg_run - cur)) {
289 buf[1] = data[cur];
292 cur = beg_run;
295 while(cur < beg_run) {
296 nonrun_count = beg_run - cur;
302 if (fwrite(&data[cur],sizeof(data[0])*nonrun_count,1,fp) < 1)
304 cur += nonrun_count;
312 cur += run_count;