/third_party/iowow/src/fs/tests/ |
D | iwfs_test1.c | 83 IWP_FILE_STAT fstat; in iwfs_exfile_test1() local 84 IWRC(iwp_fstat(path, &fstat), rc); in iwfs_exfile_test1() 87 CU_ASSERT_EQUAL(fstat.size, iwp_alloc_unit()); in iwfs_exfile_test1() 143 IWP_FILE_STAT fstat; in iwfs_exfile_test1_2() local 144 rc = iwp_fstat(tpath, &fstat); in iwfs_exfile_test1_2() 150 memset(&fstat, 0, sizeof(fstat)); in iwfs_exfile_test1_2() 151 rc = iwp_fstat(tpath, &fstat); in iwfs_exfile_test1_2() 182 IWP_FILE_STAT fstat; in test_fibo_inc() local 183 IWRC(iwp_fstat(path, &fstat), rc); in test_fibo_inc() 185 CU_ASSERT_EQUAL_FATAL(fstat.size, psize); in test_fibo_inc() [all …]
|
/third_party/libfuse/test/ |
D | test_examples.py | 536 fstat = os.stat(fullname) 537 assert stat.S_ISDIR(fstat.st_mode) 540 assert fstat.st_nlink in (1,2) 561 fstat = os.lstat(fullname) 562 assert stat.S_ISLNK(fstat.st_mode) 564 assert fstat.st_nlink == 1 579 fstat = os.lstat(fullname) 580 assert stat.S_ISREG(fstat.st_mode) 581 assert fstat.st_nlink == 1 582 assert fstat.st_size == 0 [all …]
|
/third_party/ltp/testcases/kernel/syscalls/dup/ |
D | dup07.c | 68 fstat(rdoret, &retbuf); in main() 69 fstat(duprdo, &dupbuf); in main() 90 fstat(wroret, &retbuf); in main() 91 fstat(dupwro, &dupbuf); in main() 113 fstat(rdwret, &retbuf); in main() 114 fstat(duprdwr, &dupbuf); in main()
|
/third_party/musl/libc-test/src/functional/ |
D | utime.c | 30 TEST(fstat(fd, &st) == 0, "\n"); in main() 37 TEST(fstat(fd, &st) == 0, "\n"); in main() 46 TEST(fstat(fd, &st) == 0, "\n"); in main() 53 TEST(fstat(fd, &st) == 0, "\n"); in main() 58 TEST(fstat(fd, &st) == 0, "\n"); in main() 64 TEST(fstat(fd, &st) == 0, "\n"); in main()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_stat.rs | 7 sys::stat::{fstat, FileFlag}, in test_chflags() 16 fstat(f.as_raw_fd()).unwrap().st_flags.into(), in test_chflags() 25 fstat(f.as_raw_fd()).unwrap().st_flags.into(), in test_chflags()
|
/third_party/node/test/wasi/c/ |
D | ftruncate.c | 21 assert(0 == fstat(fd, &st)); in main() 27 assert(0 == fstat(fd, &st)); in main() 33 assert(0 == fstat(fd, &st)); in main()
|
/third_party/mesa3d/src/util/ |
D | u_hash_table.c | 64 fstat(fd, &stat); in hash_fd() 80 fstat(fd1, &stat1); in equal_fd() 81 fstat(fd2, &stat2); in equal_fd()
|
/third_party/rust/crates/rustix/ci/ |
D | s390x-stat-have-nsec.patch | 4 Without this, The `fstat` syscall sets `st_mtime_nsec` and the other `_nsec` 5 fields to 0. Libc `fstat` will sometimes use the `fstatat` or `fstat64` 6 syscalls instead, which aren't affected, but the libc `fstat` on ubuntu-20.04
|
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/ |
D | check.c | 415 sr->fstat = CK_FORK_GETENV; in srunner_create() 421 sr->fstat = CK_NOFORK; in srunner_create() 592 set_fork_status (enum fork_status fstat) in set_fork_status() argument 594 if (fstat == CK_FORK || fstat == CK_NOFORK || fstat == CK_FORK_GETENV) in set_fork_status() 595 _fstat = fstat; in set_fork_status()
|
D | check_run.c | 654 if (sr->fstat == CK_FORK_GETENV) { in srunner_fork_status() 675 return sr->fstat; in srunner_fork_status() 679 srunner_set_fork_status (SRunner * sr, enum fork_status fstat) in srunner_set_fork_status() argument 683 if (fstat != CK_NOFORK) { in srunner_set_fork_status() 686 fstat = CK_NOFORK; in srunner_set_fork_status() 689 sr->fstat = fstat; in srunner_set_fork_status()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | stat.h | 74 int fstat(int, struct stat *); 103 #define fstat64 fstat 115 __REDIR(fstat, __fstat_time64);
|
/third_party/musl/ndk_musl_include/sys/ |
D | stat.h | 74 int fstat(int, struct stat *); 102 #define fstat64 fstat 114 __REDIR(fstat, __fstat_time64);
|
/third_party/musl/include/sys/ |
D | stat.h | 74 int fstat(int, struct stat *); 103 #define fstat64 fstat 115 __REDIR(fstat, __fstat_time64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | stat.h | 74 int fstat(int, struct stat *); 103 #define fstat64 fstat 115 __REDIR(fstat, __fstat_time64);
|
/third_party/musl/porting/linux/user/include/sys/ |
D | stat.h | 74 int fstat(int, struct stat *); 103 #define fstat64 fstat 115 __REDIR(fstat, __fstat_time64);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | stat.h | 74 int fstat(int, struct stat *); 103 #define fstat64 fstat 115 __REDIR(fstat, __fstat_time64);
|
/third_party/musl/src/stat/ |
D | fstat.c | 7 int fstat(int fd, struct stat *st) in fstat() function 14 weak_alias(fstat, fstat64);
|
/third_party/musl/compat/time32/ |
D | fstat_time32.c | 12 int r = fstat(fd, &st); in __fstat_time32() 17 weak_alias(fstat, fstat64);
|
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/ |
D | etnaviv_drm_winsys.c | 46 if(fstat(fd, &stat) == -1) in hash_file_description() 82 fstat(fd1, &stat1); in equal_file_description() 83 fstat(fd2, &stat2); in equal_file_description()
|
/third_party/ffmpeg/libavformat/ |
D | os_support.h | 53 # ifdef fstat 54 # undef fstat 56 # define fstat(f,s) _fstati64((f), (s)) macro
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 26-1.c | 42 if (fstat(fd, &stat_buf) != 0) { in main() 56 if (fstat(fd, &stat_buf) != 0) { in main()
|
/third_party/rust/crates/rustix/tests/fs/ |
D | y2038.rs | 11 cwd, fstat, openat, statat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_utimensat() 74 let stat = fstat(&file).unwrap(); in test_y2038_with_utimensat() 110 cwd, fstat, futimens, openat, statat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_futimens() 170 let stat = fstat(&file).unwrap(); in test_y2038_with_futimens()
|
D | futimens.rs | 4 use rustix::fs::{cwd, fstat, futimens, openat, Mode, OFlags, Timespec, Timestamps}; in test_futimens() 29 let after = fstat(&foo).unwrap(); in test_futimens()
|
/third_party/node/test/parallel/ |
D | test-fs-readfile-zero-byte-liar.js | 33 fs._fstat = fs.fstat; 36 fs.fstat = (fd, cb) => { function in fs
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 8-1.c | 54 if (fstat(fd, &stat_before) != 0) { in main() 92 if (fstat(fd, &stat_after) != 0) { in main()
|