Home
last modified time | relevance | path

Searched refs:stat_buf (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/diff/src/
H A Dcmp.c63 static struct stat stat_buf[2]; variable
290 if (file_desc[f1] < 0 || fstat (file_desc[f1], stat_buf + f1) != 0) in main()
304 if (0 < same_file (&stat_buf[0], &stat_buf[1]) in main()
305 && same_file_attributes (&stat_buf[0], &stat_buf[1]) in main()
327 && S_ISREG (stat_buf[0].st_mode) in main()
328 && S_ISREG (stat_buf[1].st_mode)) in main()
330 off_t s0 = stat_buf[0].st_size - file_position (0); in main()
331 off_t s1 = stat_buf[1].st_size - file_position (1); in main()
342 buf_size = buffer_lcm (STAT_BLOCKSIZE (stat_buf[0]), in main()
343 STAT_BLOCKSIZE (stat_buf[1]), in main()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/ctime/
H A Dctime_001_pos.c184 struct stat stat_buf; in get_file_time() local
190 if (stat(pfile, &stat_buf) == -1) { in get_file_time()
196 *ptr = stat_buf.st_atime; in get_file_time()
199 *ptr = stat_buf.st_ctime; in get_file_time()
202 *ptr = stat_buf.st_mtime; in get_file_time()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dctime.c74 struct stat stat_buf; in get_file_time() local
80 if (stat(pfile, &stat_buf) == -1) { in get_file_time()
86 *ptr = stat_buf.st_atime; in get_file_time()
89 *ptr = stat_buf.st_ctime; in get_file_time()
92 *ptr = stat_buf.st_mtime; in get_file_time()
/freebsd/usr.bin/sort/
H A Dfile.c607 struct stat stat_buf; in file_reader_init() local
618 if (fstat(fd, &stat_buf) < 0) { in file_reader_init()
623 sz = stat_buf.st_size; in file_reader_init()
/freebsd/contrib/diff/
H A DChangeLog1118 (stat_buf): New static var; was formerly a local var in 'main'.
2535 (main): Likewise, for stat_buf[12]. Index these variables with `i'.