/third_party/ltp/testcases/kernel/syscalls/fstatat/ |
H A D | fstatat01.c | 63 int fstatat(int dirfd, const char *filename, struct stat64 *statbuf, int flags) in fstatat() function 68 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat() function 73 int fstatat(int dirfd, const char *filename, struct stat *statbuf, int flags) in fstatat() function 97 TEST(fstatat(fds[i], filenames[i], &statbuf, flags[i])); in main() 101 "fstatat failed as expected"); in main() 103 tst_resm(TFAIL | TTERRNO, "fstatat failed"); in main()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_stat.cpp | 31 fd = fstatat(AT_FDCWD, "/dev/zero", &st, 0); in Bm_function_Fstatat_relativepath() 33 perror("fstatat relativepath"); in Bm_function_Fstatat_relativepath() 46 fd = fstatat(AT_FDCWD, DATA_ROOT"/data/local/tmp/passwd_link", &st, AT_SYMLINK_NOFOLLOW); in Bm_function_Fstatat_symbollink() 48 perror("fstatat symbollink"); in Bm_function_Fstatat_symbollink() 61 ret = fstatat(0, "/dev/zero", &st, 0); in Bm_function_Fstatat_absolutepath() 63 perror("fstatat absolutepath"); in Bm_function_Fstatat_absolutepath()
|
/third_party/musl/compat/time32/ |
H A D | fstatat_time32.c | 12 int r = fstatat(fd, path, &st, flag); in __fstatat_time32() 17 weak_alias(fstatat, fstatat64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | stat.h | 76 int fstatat(int, const char *__restrict, struct stat *__restrict, int); 105 #define fstatat64 fstatat 117 __REDIR(fstatat, __fstatat_time64);
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | stat.h | 76 int fstatat(int, const char *__restrict, struct stat *__restrict, int); 105 #define fstatat64 fstatat 117 __REDIR(fstatat, __fstatat_time64);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | stat.h | 76 int fstatat(int, const char *__restrict, struct stat *__restrict, int); 105 #define fstatat64 fstatat 117 __REDIR(fstatat, __fstatat_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | stat.h | 76 int fstatat(int, const char *__restrict, struct stat *__restrict, int); 105 #define fstatat64 fstatat 116 __REDIR(fstatat, __fstatat_time64);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | stat.h | 76 int fstatat(int, const char *__restrict, struct stat *__restrict, int); 105 #define fstatat64 fstatat 117 __REDIR(fstatat, __fstatat_time64);
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | fstatat.c | 39 int ret = fstatat(AT_FDCWD, ptr, &st, 0); in fstatat_0100() 66 int ret = fstatat(AT_FDCWD, softptr, &st, AT_SYMLINK_NOFOLLOW); in fstatat_0200() 95 int ret = fstatat(0, ptr, &st, 0); in fstatat_0300()
|
H A D | futimesat.c | 62 if (fstatat(dir_fd, "test.txt", &st2, 0) != 0) { in futimesat_0100() 63 t_error("%s fstatat failed\n", __func__); in futimesat_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/ |
H A D | stat_fstatat_test.cpp | 14 * @tc.desc: Verify that the fstatat function successfully retrieves file status information, including file mode 27 EXPECT_EQ(0, fstatat(AT_FDCWD, linkname, &st, AT_NO_AUTOMOUNT)); in HWTEST_F() 36 * @tc.desc: Test whether the return value of the fstatat() function is 0, and check if the obtained file or 49 EXPECT_EQ(0, fstatat(AT_FDCWD, linkname, &st, AT_SYMLINK_NOFOLLOW)); in HWTEST_F()
|
/third_party/musl/include/sys/ |
H A D | stat.h | 83 int fstatat(int, const char *__restrict, struct stat *__restrict, int); 162 #define fstatat64 fstatat 174 __REDIR(fstatat, __fstatat_time64);
|
/third_party/rust/crates/rustix/benches/ |
H A D | mod.rs | 61 libc::fstatat( 80 libc::fstatat(
|
/third_party/musl/src/stat/ |
H A D | lstat.c | 6 return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW); in lstat()
|
H A D | stat.c | 6 return fstatat(AT_FDCWD, path, buf, 0); in stat()
|
H A D | fstatat.c | 154 weak_alias(__fstatat, fstatat); 157 weak_alias(fstatat, fstatat64);
|
H A D | __xstat.c | 12 return fstatat(fd, path, buf, flag); in __fxstatat()
|
H A D | fchmodat.c | 22 if (fstatat(fd, path, &st, flag)) in fchmodat()
|
/third_party/musl/porting/linux/user/src/stat/ |
H A D | fstat.c | 27 return fstatat(fd, "", st, AT_EMPTY_PATH); in __fstat()
|
/third_party/musl/src/linux/ |
H A D | statx.c | 20 ret = fstatat(dirfd, path, &st, flags); in statx()
|
/third_party/eudev/src/shared/ |
H A D | path-util.c | 478 if (fstatat(fd, "", &a, AT_EMPTY_PATH) < 0) in fd_is_mount_point() 481 if (fstatat(fd, "..", &b, 0) < 0) in fd_is_mount_point()
|
/third_party/rust/crates/nix/test/ |
H A D | test_stat.rs | 120 stat::fstatat(dirfd.unwrap(), &filename, fcntl::AtFlags::empty()); in test_fstatat() 398 use stat::{fstatat, mknodat, SFlag}; in test_mknodat() 412 let mode = fstatat( in test_mknodat()
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_stat.c | 90 {int(*p)(int,const char*restrict,struct stat*restrict,int) = fstatat;} in f()
|
/third_party/musl/libc-test/src/common/ |
H A D | test.h | 58 #define __fstatat_time64 fstatat
|
/third_party/toybox/lib/ |
H A D | dirtree.c | 38 if (fstatat(fd, name, &st,AT_SYMLINK_NOFOLLOW*!(flags&DIRTREE_SYMFOLLOW))) { in dirtree_add_node()
|