Searched refs:n_units (Results 1 – 3 of 3) sorted by relevance
/coreutils/src/ |
D | split.c | 164 set_suffix_length (intmax_t n_units, enum Split_type split_type) in set_suffix_length() argument 180 intmax_t n_units_end = n_units - 1; in set_suffix_length() 186 if (e == LONGINT_OK && n_start < n_units) in set_suffix_length() 1328 parse_chunk (intmax_t *k_units, intmax_t *n_units, char const *arg) in parse_chunk() argument 1331 strtol_error e = xstrtoimax (arg, &argend, 10, n_units, ""); in parse_chunk() 1334 *k_units = *n_units; in parse_chunk() 1335 *n_units = parse_n_units (argend + 1, "", in parse_chunk() 1337 if (! (0 < *k_units && *k_units <= *n_units)) in parse_chunk() 1341 else if (! (e <= OVERFLOW_OK && 0 < *n_units)) in parse_chunk() 1353 intmax_t n_units = 0; in main() local [all …]
|
D | head.c | 837 head (char const *filename, int fd, uintmax_t n_units, bool count_lines, in head() argument 860 return elide_tail_lines_file (filename, fd, n_units, &st, current_pos); in head() 862 return elide_tail_bytes_file (filename, fd, n_units, &st, current_pos); in head() 865 return head_lines (filename, fd, n_units); in head() 867 return head_bytes (filename, fd, n_units); in head() 871 head_file (char const *filename, uintmax_t n_units, bool count_lines, in head_file() argument 895 ok = head (filename, fd, n_units, count_lines, elide_from_end); in head_file() 927 uintmax_t n_units = DEFAULT_NUMBER; in main() local 1016 n_units = string_to_integer (count_lines, n_string); in main() 1039 n_units = string_to_integer (count_lines, optarg); in main() [all …]
|
D | tail.c | 1948 tail (char const *filename, int fd, uintmax_t n_units, in tail() argument 1953 return tail_lines (filename, fd, n_units, read_pos); in tail() 1955 return tail_bytes (filename, fd, n_units, read_pos); in tail() 1962 tail_file (struct File_spec *f, uintmax_t n_units) in tail_file() argument 2000 ok = tail (pretty_name (f), fd, n_units, &read_pos); in tail_file() 2069 parse_obsolete_option (int argc, char * const *argv, uintmax_t *n_units) in parse_obsolete_option() argument 2138 *n_units = default_count; in parse_obsolete_option() 2139 else if ((xstrtoumax (n_string, nullptr, 10, n_units, "b") in parse_obsolete_option() 2155 uintmax_t *n_units, enum header_mode *header_mode, in parse_options() argument 2180 *n_units = xdectoumax (optarg, 0, UINTMAX_MAX, "bkKmMGTPEZYRQ0", in parse_options() [all …]
|