Home
last modified time | relevance | path

Searched refs:futimens (Results 1 – 25 of 58) sorted by relevance

123

/third_party/musl/libc-test/src/functional/
Dutime.c23 …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/
Dfutimes.c8 if (!tv) return futimens(fd, 0); in futimes()
13 return futimens(fd, times); in futimes()
/third_party/rust/crates/rustix/tests/fs/
Dfutimens.rs4 use rustix::fs::{cwd, fstat, futimens, openat, Mode, OFlags, Timespec, Timestamps}; in test_futimens()
27 futimens(&foo, &times).unwrap(); in test_futimens()
Dy2038.rs110 cwd, fstat, futimens, openat, statat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_futimens()
134 match futimens(&file, &timestamps) { in test_y2038_with_futimens()
Dmain.rs15 mod futimens; module
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
118 __REDIR(futimens, __futimens_time64);
/third_party/musl/ndk_musl_include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
117 __REDIR(futimens, __futimens_time64);
/third_party/musl/include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
118 __REDIR(futimens, __futimens_time64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
118 __REDIR(futimens, __futimens_time64);
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
117 __REDIR(futimens, __futimens_time64);
/third_party/musl/porting/linux/user/include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
118 __REDIR(futimens, __futimens_time64);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h91 int futimens(int, const struct timespec [2]);
118 __REDIR(futimens, __futimens_time64);
/third_party/musl/src/stat/
Dfutimens.c3 int futimens(int fd, const struct timespec times[2]) in futimens() function
/third_party/musl/compat/time32/
Dfutimens_time32.c7 return futimens(fd, !times32 ? 0 : ((struct timespec[2]){ in __futimens_time32()
/third_party/rust/crates/rustix/src/fs/
Dfd.rs219 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()
Dmod.rs165 pub use fd::{fstat, fsync, ftruncate, futimens, is_file_read_write, seek, tell, Stat, Timestamps};
/third_party/toybox/toys/posix/
Dtouch.c72 if (!futimens(1, ts)) continue; in touch_main()
/third_party/toybox/porting/liteos_a/toys/posix/
Dtouch.c65 if (!futimens(1, ts)) continue; in touch_main()
/third_party/node/test/wasi/c/
Dstat.c41 assert(0 == futimens(fd, times)); in main()
/third_party/rust/crates/rustix/ci/
Ds390x-stat-have-nsec.patch9 This can be seen in the `st_mtime_nsec` assert in tests/fs/futimens.rs.
/third_party/musl/libc-test/src/common/
Dtest.h50 #define __futimens_time64 futimens
/third_party/rust/crates/nix/src/sys/
Dstat.rs411 pub fn futimens(fd: RawFd, atime: &TimeSpec, mtime: &TimeSpec) -> Result<()> { in futimens() function
413 let res = unsafe { libc::futimens(fd, &times[0]) }; in futimens()
/third_party/musl/libc-test/src/api/
Dsys_stat.c91 {int(*p)(int,const struct timespec[]) = futimens;} in f()
/third_party/rust/crates/nix/test/
Dtest_stat.rs43 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/
Dsyscalls.rs1052 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()

123