Searched refs:stat_buf (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/contrib/diff/src/ |
| H A D | cmp.c | 63 static struct stat stat_buf[2]; variable 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() 390 if (S_ISREG (stat_buf[f].st_mode)) in cmp() [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/ctime/ |
| H A D | ctime_001_pos.c | 186 struct stat stat_buf; in get_file_time() local 192 if (stat(pfile, &stat_buf) == -1) { in get_file_time() 198 *ptr = stat_buf.st_atime; in get_file_time() 201 *ptr = stat_buf.st_ctime; in get_file_time() 204 *ptr = stat_buf.st_mtime; in get_file_time()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | protoize.c | 1269 struct stat stat_buf; in find_file() local 1276 stat_buf.st_mtime = (time_t) 0; in find_file() 1279 if (stat (filename, &stat_buf) == -1) in find_file() 1285 stat_buf.st_mtime = (time_t) -1; in find_file() 1292 file_p->mtime = stat_buf.st_mtime; in find_file() 2019 struct stat stat_buf; in process_aux_info_file() local 2043 aux_info_mtime = stat_buf.st_mtime; in process_aux_info_file() 2060 if (stat_buf.st_mtime > aux_info_mtime) in process_aux_info_file() 3908 struct stat stat_buf; in edit_file() local 3959 if (stat (convert_filename, &stat_buf) == -1) in edit_file() [all …]
|
| H A D | mips-tfile.c | 4314 struct stat stat_buf; in copy_object() local 4319 if (fstat (fileno (obj_in_stream), &stat_buf) != 0 in copy_object() 4436 if (max_file_offset != (unsigned long) stat_buf.st_size) in copy_object() 4439 (long) stat_buf.st_size); in copy_object()
|
| /freebsd-12.1/usr.bin/sort/ |
| H A D | file.c | 630 struct stat stat_buf; in file_reader_init() local 641 if (fstat(fd, &stat_buf) < 0) { in file_reader_init() 646 sz = stat_buf.st_size; in file_reader_init()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | aoutx.h | 636 struct stat stat_buf; in NAME() local 647 && (fstat (fileno ((FILE *) (abfd->iostream)), &stat_buf) == 0) in NAME() 648 && ((stat_buf.st_mode & 0111) != 0)) in NAME()
|
| /freebsd-12.1/contrib/diff/ |
| H A D | ChangeLog | 1118 (stat_buf): New static var; was formerly a local var in 'main'. 2535 (main): Likewise, for stat_buf[12]. Index these variables with `i'.
|