Searched refs:cur (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | split.c | 327 off_t cur, end; in input_file_size() local 329 || (cur = lseek (fd, 0, SEEK_CUR)) < 0 in input_file_size() 330 || cur < size /* E.g., /dev/zero on GNU/Linux. */ in input_file_size() 338 cur = 0; in input_file_size() 342 || (cur < end && ckd_add (&size, size, end - cur))) in input_file_size() 348 if (cur < end) in input_file_size() 350 off_t r = lseek (fd, cur, SEEK_SET); in input_file_size()
|
D | sort.c | 3023 struct line const **cur = xnmalloc (nfiles, sizeof *cur); in mergefps() local 3045 cur[i] = linelim - 1; in mergefps() 3074 if (0 < compare (cur[ord[i - 1]], cur[ord[i]])) in mergefps() 3080 struct line const *smallest = cur[ord[0]]; in mergefps() 3123 cur[ord[0]] = smallest - 1; in mergefps() 3129 cur[ord[0]] = linelim - 1; in mergefps() 3151 cur[i] = cur[i + 1]; in mergefps() 3173 int cmp = compare (cur[ord0], cur[ord[probe]]); in mergefps() 3199 free (cur); in mergefps()
|