/coreutils/tests/stat/ |
D | stat-birthtime.sh | 25 btime=$(stat --format %W a) || fail=1 26 atime=$(stat --format %X a) || fail=1 27 mtime=$(stat --format %Y a) || fail=1 28 ctime=$(stat --format %Z a) || fail=1 44 test "x$btime" = x$(stat --format %W a) && 45 test "x$atime" != x$(stat --format %X a) && 46 test "x$mtime" != x$(stat --format %Y a) && 47 test "x$ctime" != x$(stat --format %Z a)
|
D | stat-slash.sh | 35 stat --format=%n link1 > out || fail=1 36 returns_ 1 stat --format=%n link1/ >> out || fail=1 38 stat --format=%F link2 >> out || fail=1 39 stat -L --format=%F link2 >> out || fail=1 40 stat --format=%F link2/ >> out || fail=1
|
D | stat-hyphen.sh | 25 stat --format=%n - < f > out || fail=1
|
/coreutils/src/ |
D | date.c | 311 adjust_resolution (char const *format) in adjust_resolution() argument 315 for (char const *f = format; *f; f++) in adjust_resolution() 321 copy = xstrdup (format); in adjust_resolution() 322 copy[f + 1 - format] = '0' + res_width (gettime_res ()); in adjust_resolution() 338 batch_convert (char const *input_filename, char const *format, in batch_convert() argument 383 ok &= show_date (format, when, tz); in batch_convert() 403 char const *format = nullptr; in main() local 500 if (format) in main() 502 format = new_format; in main() 539 if (format) in main() [all …]
|
D | stat.c | 1130 print_it (char const *format, int fd, char const *filename, in print_it() argument 1146 size_t n_alloc = strlen (format) + MAX_ADDITIONAL_BYTES + 1; in print_it() 1149 for (b = format; *b; b++) in print_it() 1259 do_statfs (char const *filename, char const *format) in do_statfs() argument 1277 bool fail = print_it (format, -1, filename, print_statfs, &statfsbuf); in do_statfs() 1347 format_to_mask (char const *format) in format_to_mask() argument 1352 for (b = format; *b; b++) in format_to_mask() 1368 do_stat (char const *filename, char const *format, char const *format2) in do_stat() argument 1397 fd = statx (fd, pathname, flags, format_to_mask (format), &stx); in do_stat() 1408 format = format2; in do_stat() [all …]
|
D | printf.c | 488 print_formatted (char const *format, int argc, char **argv) in print_formatted() argument 500 for (f = format; *f; ++f) in print_formatted() 664 char *format; in main() local 708 format = argv[1]; in main() 714 args_used = print_formatted (format, argc, argv); in main()
|
/coreutils/tests/du/ |
D | basic.sh | 32 B=$(stat --format=%B a/b/F) 40 f=$(stat --format=%b a/b/F) 41 b=$(stat --format=%b a/b) 42 a=$(stat --format=%b a) 70 t2=$(stat --format=%b d/sub/2) 71 ts=$(stat --format=%b d/sub) 72 t1=$(stat --format=%b d/1) 73 td=$(stat --format=%b d)
|
D | threshold.sh | 29 Ba=$(stat --format="%B * %b" a | xargs expr) 30 Bb=$(stat --format="%B * %b" a/b | xargs expr) 31 Bc=$(stat --format="%B * %b" a/c | xargs expr) 32 B0=$(stat --format="%B * %b" a/b/0 | xargs expr) 33 B1=$(stat --format="%B * %b" a/b/1 | xargs expr) 34 B2=$(stat --format="%B * %b" a/b/2 | xargs expr) 35 B3=$(stat --format="%B * %b" a/b/3 | xargs expr) 40 S0=$(stat --format=%s a/b/0) 41 S1=$(stat --format=%s a/b/1) 42 S2=$(stat --format=%s a/b/2) [all …]
|
/coreutils/tests/truncate/ |
D | truncate-parameters.sh | 42 test $(stat --format %s file) = 2 || fail=1 46 test $(stat --format %s file) = 3 || fail=1 50 test $(stat --format %s file) = 3 || fail=1 52 test $(stat --format %s file2) = 3 || fail=1
|
/coreutils/tests/ls/ |
D | stat-vs-dirent.sh | 23 root_dev_ino=$(stat --format=%d-%i /) 35 st_ino=$(stat --format=%i "$t/$file") || 56 dev_ino=$(stat --format=%d-%i "$t")
|
D | abmon-align.sh | 31 for format in "%b" "[%b" "%b]" "[%b]"; do 37 LC_ALL=$LOC TIME_STYLE=+"$format" ls -lgG *.ts |
|
/coreutils/tests/cp/ |
D | preserve-slink-time.sh | 30 case $(stat --format=%y dangle) in 39 stat --format=%y dangle > t1 || framework_failure_ 40 stat --format=%y d2 > t2 || framework_failure_
|
D | link-symlink.sh | 28 case $(stat --format=%y link) in 36 case $(stat --format=%y link.cp) in
|
D | link-heap.sh | 33 && seq --format=%031g 10000 |xargs touch \ 34 && seq --format=d%030g 10000 |xargs mkdir ) || framework_failure_
|
D | perm.sh | 39 expected_perms=$(stat --format=%A src) 48 actual_perms=$(stat --format=%A dest)
|
D | preserve-link.sh | 25 u=$(stat --format %i "$1") && 26 v=$(stat --format %i "$2") && test "$u" = "$v"
|
/coreutils/tests/split/ |
D | numeric.sh | 36 test $mode = 'hex' && format=x || format=d 38 compare exp-$(($i-$start)) x$(printf %02$format $i) || fail=1
|
/coreutils/tests/touch/ |
D | trailing-slash.sh | 58 case $(stat --format=%y dir) in 62 case $(stat --format=%y link2) in 65 case $(stat --format=%y file) in
|
D | no-dereference.sh | 61 case $(stat --format=%y link) in 65 case $(stat --format=%y file) in
|
/coreutils/man/ |
D | od.x | 8 Display hexdump format output 11 The default output format used by od
|
D | touch.x | 7 The --date=STRING is a mostly free format human readable date string 12 of the day. The date string format is more complex than is easily
|
D | date.x | 7 The --date=STRING is a mostly free format human readable date string 12 of the day. The date string format is more complex than is easily
|
D | printf.x | 2 printf \- format and print data
|
/coreutils/tests/mv/ |
D | childproof.sh | 79 test $(stat --format %i a/f) = $(stat --format %i c/f) || fail=1 81 test $(stat --format %i b/f) = $(stat --format %i c/f) && fail=1
|
/coreutils/tests/date/ |
D | date-debug.sh | 58 date: output format: '%a %b %e %T %z %Y' 109 date: output format: '%a %b %e %T %z %Y' 130 date: output format: '$d_t_fmt' 158 date: output format: '%F' 188 date: output format: '$d_t_fmt' 220 date: output format: '%F' 244 date: output format: '$d_t_fmt' 262 date: output format: '$d_t_fmt' 291 date: output format: '$d_t_fmt'
|