Home
last modified time | relevance | path

Searched refs:utimensat (Results 1 - 25 of 58) sorted by relevance

123

/third_party/rust/crates/rustix/tests/fs/
H A Dutimensat.rs4 use rustix::fs::{cwd, openat, statat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat()
33 utimensat(&dir, "foo", &times, 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", &times, 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", &times, AtFlags::empty()).unwrap_err(), in test_utimensat_notdir()
H A Dmain.rs50 mod utimensat; modules
H A Dy2038.rs2 /// `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", &timestamps, AtFlags::empty()) { in test_y2038_with_utimensat()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dutimensat.c38 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 Dutimensat01.c116 { .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 Dstat.h92 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 Dstat.h92 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 Dstat.h92 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 Dstat.h92 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 Dstat.h92 int utimensat(int, const char *, const struct timespec [2], int);
119 __REDIR(utimensat, __utimensat_time64);
/third_party/musl/include/sys/
H A Dstat.h99 int utimensat(int, const char *, const struct timespec [2], int);
176 __REDIR(utimensat, __utimensat_time64);
/third_party/musl/src/stat/
H A Dfutimens.c5 return utimensat(fd, 0, times, 0); in futimens()
H A Dfutimesat.c19 return utimensat(dirfd, pathname, times ? ts : 0, 0); in __futimesat()
H A Dutimensat.c10 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 Dutime.c10 return utimensat(AT_FDCWD, path, times ? ((struct timespec [2]){ in utime()
/third_party/musl/src/time/
H A Dutime.c10 return utimensat(AT_FDCWD, path, times ? ((struct timespec [2]){ in utime()
/third_party/musl/src/legacy/
H A Dlutimes.c15 return utimensat(AT_FDCWD, filename, tv ? times : 0, AT_SYMLINK_NOFOLLOW); in lutimes()
/third_party/musl/compat/time32/
H A Dutimensat_time32.c7 return utimensat(fd, path, !times32 ? 0 : ((struct timespec[2]){ in __utimensat_time32()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dtouch.c68 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; in touch_main()
/third_party/toybox/toys/posix/
H A Dtouch.c75 if (!utimensat(AT_FDCWD, s, ts, FLAG(h)*AT_SYMLINK_NOFOLLOW)) continue; in touch_main()
/third_party/ltp/include/
H A Dtime64_variants.h61 int (*utimensat)(int dirfd, const char *pathname, void *times, member
/third_party/eudev/src/udev/
H A Dudev-node.c81 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 Dlibc_fcntl.cpp276 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 Dtest_stat.rs31 use nix::sys::stat::utimensat;
295 utimensat( in test_utimensat()
307 utimensat( in test_utimensat()
/third_party/musl/libc-test/src/api/
H A Dsys_stat.c103 {int(*p)(int,const char*,const struct timespec[],int) = utimensat;} in f()

Completed in 8 milliseconds

123