/third_party/rust/crates/rustix/tests/fs/ |
H A D | utimensat.rs | 4 use rustix::fs::{cwd, openat, statat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat() 33 utimensat(&dir, "foo", ×, AtFlags::empty()).unwrap(); in test_utimensat() 64 use rustix::fs::{cwd, openat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat_noent() 86 utimensat(&dir, "foo", ×, AtFlags::empty()).unwrap_err(), in test_utimensat_noent() 94 use rustix::fs::{cwd, openat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat_notdir() 124 utimensat(&foo, "bar", ×, AtFlags::empty()).unwrap_err(), in test_utimensat_notdir()
|
H A D | main.rs | 50 mod utimensat; modules
|
H A D | y2038.rs | 2 /// `utimensat` and read it back again. 11 cwd, fstat, openat, statat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_utimensat() 35 match utimensat(&dir, "foo", ×tamps, AtFlags::empty()) { in test_y2038_with_utimensat()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | utimensat.c | 38 int result = utimensat(fd, path, times, 0); in utimensat_0100() 66 int result = utimensat(-1, NULL, NULL, 0); in utimensat_0200()
|
/third_party/ltp/testcases/kernel/syscalls/utimensat/ |
H A D | utimensat01.c | 116 { .utimensat = sys_utimensat, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"}, 120 { .utimensat = sys_utimensat_time64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"}, 207 TEST(tv->utimensat(dfd, pathname, &ts, flags)); in reset_time() 209 tst_res(TINFO | TTERRNO, "%2d: utimensat(%d, %s, {0, 0}, %d) failed", in reset_time() 252 TEST(tv->utimensat(dfd, pathname, tsp, tc->flags)); in run() 258 tst_res(TFAIL | TTERRNO, "%2d: utimensat() failed", i); in run() 260 tst_res(TPASS | TTERRNO, "%2d: utimensat() failed expectedly", i); in run() 262 tst_res(TFAIL | TTERRNO, "%2d: utimensat() failed with incorrect error, expected %s", in run() 266 tst_res(TFAIL, "%2d: utimensat() passed unexpectedly", i); in run() 286 tst_res(TPASS, "%2d: utimensat() passe in run() [all...] |
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | stat.h | 92 int utimensat(int, const char *, const struct timespec [2], int); 119 __REDIR(utimensat, __utimensat_time64);
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | stat.h | 92 int utimensat(int, const char *, const struct timespec [2], int); 119 __REDIR(utimensat, __utimensat_time64);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | stat.h | 92 int utimensat(int, const char *, const struct timespec [2], int); 119 __REDIR(utimensat, __utimensat_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | stat.h | 92 int utimensat(int, const char *, const struct timespec [2], int); 118 __REDIR(utimensat, __utimensat_time64);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | stat.h | 92 int utimensat(int, const char *, const struct timespec [2], int); 119 __REDIR(utimensat, __utimensat_time64);
|
/third_party/musl/include/sys/ |
H A D | stat.h | 99 int utimensat(int, const char *, const struct timespec [2], int); 176 __REDIR(utimensat, __utimensat_time64);
|
/third_party/musl/src/stat/ |
H A D | futimens.c | 5 return utimensat(fd, 0, times, 0); in futimens()
|
H A D | futimesat.c | 19 return utimensat(dirfd, pathname, times ? ts : 0, 0); in __futimesat()
|
H A D | utimensat.c | 10 int utimensat(int fd, const char *path, const struct timespec times[2], int flags) in utimensat() function
|
/third_party/musl/porting/liteos_a/user/src/time/ |
H A D | utime.c | 10 return utimensat(AT_FDCWD, path, times ? ((struct timespec [2]){ in utime()
|
/third_party/musl/src/time/ |
H A D | utime.c | 10 return utimensat(AT_FDCWD, path, times ? ((struct timespec [2]){ in utime()
|
/third_party/musl/src/legacy/ |
H A D | lutimes.c | 15 return utimensat(AT_FDCWD, filename, tv ? times : 0, AT_SYMLINK_NOFOLLOW); in lutimes()
|
/third_party/musl/compat/time32/ |
H A D | utimensat_time32.c | 7 return utimensat(fd, path, !times32 ? 0 : ((struct timespec[2]){ in __utimensat_time32()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | touch.c | 68 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; in touch_main()
|
/third_party/toybox/toys/posix/ |
H A D | touch.c | 75 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; in touch_main()
|
/third_party/ltp/include/ |
H A D | time64_variants.h | 61 int (*utimensat)(int dirfd, const char *pathname, void *times, member
|
/third_party/eudev/src/udev/ |
H A D | udev-node.c | 81 utimensat(AT_FDCWD, slink, NULL, AT_SYMLINK_NOFOLLOW); in node_symlink() 333 utimensat(AT_FDCWD, devnode, NULL, 0); in node_permissions_apply()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_fcntl.cpp | 276 benchmark::DoNotOptimize(utimensat(dirfd, path, times, AT_EACCESS)); in Bm_function_Utimensat_Normal() 290 benchmark::DoNotOptimize(utimensat(dirfd, path, times, AT_SYMLINK_NOFOLLOW)); in Bm_function_Utimensat_Nofollow()
|
/third_party/rust/crates/nix/test/ |
H A D | test_stat.rs | 31 use nix::sys::stat::utimensat; 295 utimensat( in test_utimensat() 307 utimensat( in test_utimensat()
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_stat.c | 103 {int(*p)(int,const char*,const struct timespec[],int) = utimensat;} in f()
|