Lines Matching refs:rest
968 * Test, if it is a .VOC file and return >=0 if ok (this is the length of rest)
2424 /* first we waste the rest of header, ugly but we don't need seek */
2448 /* move the rest of buffer to pos 0 and fill the buf up */
3257 off_t count, rest; /* number of bytes to capture */
3315 rest = count;
3316 if (rest > fmt_rec_table[file_type].max_filesize)
3317 rest = fmt_rec_table[file_type].max_filesize;
3318 if (max_file_size && (rest > max_file_size))
3319 rest = max_file_size;
3323 fmt_rec_table[file_type].start(fd, rest);
3327 while (rest > 0 && recycle_capture_file == 0 && !in_aborting) {
3328 size_t c = (rest <= (off_t)chunk_bytes) ?
3329 (size_t)rest : chunk_bytes;
3342 rest -= c;