/third_party/musl/libc-test/src/functional/ |
D | utime.c | 23 …TEST(futimens(-1, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}))==0 || errno… in main() 29 TEST(futimens(fd, (struct timespec[2]){0}) == 0, "\n"); in main() 36 …TEST(futimens(fd, ((struct timespec[2]){{.tv_sec=1,.tv_nsec=UTIME_OMIT},{.tv_sec=1,.tv_nsec=UTIME_… in main() 45 TEST(futimens(fd, ((struct timespec[2]){{.tv_nsec=UTIME_NOW},{.tv_nsec=UTIME_OMIT}})) == 0, "\n"); in main() 51 TEST(futimens(fd, (struct timespec[2]){0}) == 0, "\n"); in main() 52 TEST(futimens(fd, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_NOW}})) == 0, "\n"); in main() 57 TEST(futimens(fd, ((struct timespec[2]){{.tv_nsec=UTIME_NOW},{.tv_nsec=UTIME_OMIT}})) == 0, "\n"); in main() 63 …if (TEST(futimens(fd, ((struct timespec[2]){{.tv_sec=1LL<<32},{.tv_sec=1LL<<32}})) == 0, "%s\n", s… in main()
|
/third_party/musl/src/legacy/ |
D | futimes.c | 8 if (!tv) return futimens(fd, 0); in futimes() 13 return futimens(fd, times); in futimes()
|
/third_party/rust/crates/rustix/tests/fs/ |
D | futimens.rs | 4 use rustix::fs::{cwd, fstat, futimens, openat, Mode, OFlags, Timespec, Timestamps}; in test_futimens() 27 futimens(&foo, ×).unwrap(); in test_futimens()
|
D | y2038.rs | 110 cwd, fstat, futimens, openat, statat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_futimens() 134 match futimens(&file, ×tamps) { in test_y2038_with_futimens()
|
D | main.rs | 15 mod futimens; module
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 118 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/ndk_musl_include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 117 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 118 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 118 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 117 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/porting/linux/user/include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 118 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | stat.h | 91 int futimens(int, const struct timespec [2]); 118 __REDIR(futimens, __futimens_time64);
|
/third_party/musl/src/stat/ |
D | futimens.c | 3 int futimens(int fd, const struct timespec times[2]) in futimens() function
|
/third_party/musl/compat/time32/ |
D | futimens_time32.c | 7 return futimens(fd, !times32 ? 0 : ((struct timespec[2]){ in __futimens_time32()
|
/third_party/rust/crates/rustix/src/fs/ |
D | fd.rs | 219 pub fn futimens<Fd: AsFd>(fd: Fd, times: &Timestamps) -> io::Result<()> { in futimens() function 220 backend::fs::syscalls::futimens(fd.as_fd(), times) in futimens()
|
D | mod.rs | 165 pub use fd::{fstat, fsync, ftruncate, futimens, is_file_read_write, seek, tell, Stat, Timestamps};
|
/third_party/toybox/toys/posix/ |
D | touch.c | 72 if (!futimens(1, ts)) continue; in touch_main()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | touch.c | 65 if (!futimens(1, ts)) continue; in touch_main()
|
/third_party/node/test/wasi/c/ |
D | stat.c | 41 assert(0 == futimens(fd, times)); in main()
|
/third_party/rust/crates/rustix/ci/ |
D | s390x-stat-have-nsec.patch | 9 This can be seen in the `st_mtime_nsec` assert in tests/fs/futimens.rs.
|
/third_party/musl/libc-test/src/common/ |
D | test.h | 50 #define __futimens_time64 futimens
|
/third_party/rust/crates/nix/src/sys/ |
D | stat.rs | 411 pub fn futimens(fd: RawFd, atime: &TimeSpec, mtime: &TimeSpec) -> Result<()> { in futimens() function 413 let res = unsafe { libc::futimens(fd, ×[0]) }; in futimens()
|
/third_party/musl/libc-test/src/api/ |
D | sys_stat.c | 91 {int(*p)(int,const struct timespec[]) = futimens;} in f()
|
/third_party/rust/crates/nix/test/ |
D | test_stat.rs | 43 use nix::sys::stat::{futimens, utimes}; 278 futimens(fd, &TimeSpec::seconds(10), &TimeSpec::seconds(20)).unwrap(); in test_futimens()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
D | syscalls.rs | 1052 pub(crate) fn futimens(fd: BorrowedFd<'_>, times: &Timestamps) -> io::Result<()> { in futimens() function 1085 ret(c::futimens(borrowed_fd(fd), as_ptr(times).cast())) in futimens() 1093 fn futimens(c::c_int, *const c::timespec) -> c::c_int in futimens() 1106 if let Some(have_futimens) = futimens.get() { in futimens() 1150 ret(c::futimens(borrowed_fd(fd), old_times.as_ptr())) in futimens_old()
|