Home
last modified time | relevance | path

Searched refs:fstat (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/third_party/iowow/src/fs/tests/
Diwfs_test1.c83 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/
Dtest_examples.py536 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/
Ddup07.c68 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/
Dutime.c30 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/
Dtest_stat.rs7 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/
Dftruncate.c21 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/
Du_hash_table.c64 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/
Ds390x-stat-have-nsec.patch4 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/
Dcheck.c415 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()
Dcheck_run.c654 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/
Dstat.h74 int fstat(int, struct stat *);
103 #define fstat64 fstat
115 __REDIR(fstat, __fstat_time64);
/third_party/musl/ndk_musl_include/sys/
Dstat.h74 int fstat(int, struct stat *);
102 #define fstat64 fstat
114 __REDIR(fstat, __fstat_time64);
/third_party/musl/include/sys/
Dstat.h74 int fstat(int, struct stat *);
103 #define fstat64 fstat
115 __REDIR(fstat, __fstat_time64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dstat.h74 int fstat(int, struct stat *);
103 #define fstat64 fstat
115 __REDIR(fstat, __fstat_time64);
/third_party/musl/porting/linux/user/include/sys/
Dstat.h74 int fstat(int, struct stat *);
103 #define fstat64 fstat
115 __REDIR(fstat, __fstat_time64);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h74 int fstat(int, struct stat *);
103 #define fstat64 fstat
115 __REDIR(fstat, __fstat_time64);
/third_party/musl/src/stat/
Dfstat.c7 int fstat(int fd, struct stat *st) in fstat() function
14 weak_alias(fstat, fstat64);
/third_party/musl/compat/time32/
Dfstat_time32.c12 int r = fstat(fd, &st); in __fstat_time32()
17 weak_alias(fstat, fstat64);
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c46 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/
Dos_support.h53 # 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/
D26-1.c42 if (fstat(fd, &stat_buf) != 0) { in main()
56 if (fstat(fd, &stat_buf) != 0) { in main()
/third_party/rust/crates/rustix/tests/fs/
Dy2038.rs11 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()
Dfutimens.rs4 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/
Dtest-fs-readfile-zero-byte-liar.js33 fs._fstat = fs.fstat;
36 fs.fstat = (fd, cb) => { function in fs
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D8-1.c54 if (fstat(fd, &stat_before) != 0) { in main()
92 if (fstat(fd, &stat_after) != 0) { in main()

12345678910>>...17