Home
last modified time | relevance | path

Searched refs:num (Results 1 – 7 of 7) sorted by relevance

/coreutils/src/
Dshred.c700 genpattern (int *dest, size_t num, struct randint_source *s) in genpattern() argument
709 if (!num) in genpattern()
716 n = num; /* Passes remaining to fill */ in genpattern()
764 top = num - randpasses; /* Top of initialized data */ in genpattern()
789 for (n = 0; n < num; n++) in genpattern()
793 accum += num - 1; in genpattern()
Dls.c2509 char num; /* For numerical codes */ in get_funky_string() local
2521 num = 0; in get_funky_string()
2569 num = *p - '0'; in get_funky_string()
2574 num = 0; in get_funky_string()
2577 num = '\a'; in get_funky_string()
2580 num = '\b'; in get_funky_string()
2583 num = 27; in get_funky_string()
2586 num = '\f'; in get_funky_string()
2589 num = '\n'; in get_funky_string()
2592 num = '\r'; in get_funky_string()
[all …]
Dcsplit.c245 save_to_hold_area (char *start, idx_t num) in save_to_hold_area() argument
249 hold_count = num; in save_to_hold_area()
887 make_filename (int num) in make_filename() argument
891 sprintf (filename_space + strlen (prefix), suffix, num); in make_filename()
893 sprintf (filename_space + strlen (prefix), "%0*d", digits, num); in make_filename()
1041 check_for_offset (struct control *p, char const *str, char const *num) in check_for_offset() argument
1043 if (xstrtoimax (num, nullptr, 10, &p->offset, "") != LONGINT_OK) in check_for_offset()
Ddf.c613 char *num = human_readable (output_block_size, buf, opts, 1, 1); in get_header() local
619 if (asprintf (&cell, _("%s-%s"), num, header) == -1) in get_header()
625 char *num = umaxtostr (output_block_size, buf); in get_header() local
628 if (asprintf (&cell, _("%s-%s"), num, header) == -1) in get_header()
Dpr.c428 static void getoptnum (char const *n_str, int min, int *num,
1155 getoptnum (char const *n_str, int min, int *num, char const *err) in getoptnum() argument
1158 *num = tnum; in getoptnum()
/coreutils/tests/cp/
Dsparse-extents.sh43 fallocate -l 1MiB num.test ||
/coreutils/doc/
Dcoreutils.texi2993 @item -c [-]@var{num}
2994 @itemx --bytes=[-]@var{num}
2997 Print the first @var{num} bytes, instead of initial lines.
2998 However, if @var{num} is prefixed with a @samp{-},
2999 print all but the last @var{num} bytes of each file.
3000 @multiplierSuffixes{num}
3002 @item -n [-]@var{num}
3003 @itemx --lines=[-]@var{num}
3006 Output the first @var{num} lines.
3007 However, if @var{num} is prefixed with a @samp{-},
[all …]