Searched refs:stat_buf (Results 1 – 4 of 4) sorted by relevance
/coreutils/src/ |
D | test.c | 270 struct stat stat_buf, stat_spare; in binary_operator() local 338 return (stat (argv[op - 1], &stat_buf) == 0 in binary_operator() 340 && stat_buf.st_dev == stat_spare.st_dev in binary_operator() 341 && stat_buf.st_ino == stat_spare.st_ino); in binary_operator() 387 struct stat stat_buf; in unary_operator() local 401 return stat (argv[pos - 1], &stat_buf) == 0; in unary_operator() 418 if (stat (argv[pos - 1], &stat_buf) != 0) in unary_operator() 420 struct timespec atime = get_stat_atime (&stat_buf); in unary_operator() 421 struct timespec mtime = get_stat_mtime (&stat_buf); in unary_operator() 428 if (stat (argv[pos - 1], &stat_buf) != 0) in unary_operator() [all …]
|
D | cat.c | 542 struct stat stat_buf; in main() local 643 if (fstat (STDOUT_FILENO, &stat_buf) < 0) in main() 647 idx_t outsize = io_blksize (&stat_buf); in main() 650 dev_t out_dev = stat_buf.st_dev; in main() 651 ino_t out_ino = stat_buf.st_ino; in main() 654 bool out_isreg = S_ISREG (stat_buf.st_mode) != 0; in main() 693 if (fstat (input_desc, &stat_buf) < 0) in main() 701 idx_t insize = io_blksize (&stat_buf); in main() 710 && stat_buf.st_dev == out_dev && stat_buf.st_ino == out_ino in main() 711 && lseek (input_desc, 0, SEEK_CUR) < stat_buf.st_size) in main() [all …]
|
D | shuf.c | 151 struct stat stat_buf; in input_size() local 152 if (fstat (STDIN_FILENO, &stat_buf) != 0) in input_size() 154 if (usable_st_size (&stat_buf)) in input_size() 155 file_size = stat_buf.st_size; in input_size()
|
D | chown-core.c | 291 struct stat stat_buf; in change_file_owner() local 387 if (fstatat (fts->fts_cwd_fd, file, &stat_buf, 0) != 0) in change_file_owner() 395 file_stats = &stat_buf; in change_file_owner()
|