Home
last modified time | relevance | path

Searched refs:n_string (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/
Dnumfmt.c823 unit_to_umax (char const *n_string) in unit_to_umax() argument
826 char const *c_string = n_string; in unit_to_umax()
828 size_t n_len = strlen (n_string); in unit_to_umax()
834 if (n_len && ! c_isdigit (n_string[n_len - 1])) in unit_to_umax()
838 memcpy (t_string, n_string, n_len); in unit_to_umax()
857 error (EXIT_FAILURE, 0, _("invalid unit size: %s"), quote (n_string)); in unit_to_umax()
Dhead.c911 string_to_integer (bool count_lines, char const *n_string) in string_to_integer() argument
913 return xdectoumax (n_string, 0, UINTMAX_MAX, "bkKmMGTPEZYRQ0", in string_to_integer()
959 char *n_string = ++a; in main() local
1016 n_units = string_to_integer (count_lines, n_string); in main()
Dtail.c2072 char const *n_string; in parse_obsolete_option() local
2116 n_string = p; in parse_obsolete_option()
2137 if (n_string == n_string_end) in parse_obsolete_option()
2139 else if ((xstrtoumax (n_string, nullptr, 10, n_units, "b") in parse_obsolete_option()