Home
last modified time | relevance | path

Searched refs:UTIME_OMIT (Results 1 - 25 of 53) sorted by relevance

123

/third_party/musl/libc-test/src/functional/
H A Dutime64.c24 TEST(utimensat(AT_FDCWD, "/dev/null/invalid", ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}), 0)==0 || errno==ENOTDIR, in main()
26 TEST(__futimens_time64(-1, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}))==0 || errno==EBADF, in main()
39 TEST(__futimens_time64(fd, ((struct timespec[2]){{.tv_sec=1,.tv_nsec=UTIME_OMIT},{.tv_sec=1,.tv_nsec=UTIME_OMIT}})) == 0, "\n"); in main()
48 TEST(__futimens_time64(fd, ((struct timespec[2]){{.tv_nsec=UTIME_NOW},{.tv_nsec=UTIME_OMIT}})) == 0, "\n"); in main()
55 TEST(__futimens_time64(fd, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_NOW}})) == 0, "\n"); in main()
60 TEST(__futimens_time64(fd, ((struct timespec[2]){{.tv_nsec=UTIME_NOW},{.tv_nsec=UTIME_OMIT}})) == 0, "\n"); in main()
H A Dutime.c21 TEST(utimensat(AT_FDCWD, "/dev/null/invalid", ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}), 0)==0 || errno==ENOTDIR, in main()
23 TEST(futimens(-1, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}))==0 || errno==EBADF, in main()
36 TEST(futimens(fd, ((struct timespec[2]){{.tv_sec=1,.tv_nsec=UTIME_OMIT},{.tv_sec=1,.tv_nsec=UTIME_OMIT}})) == 0, "\n"); in main()
45 TEST(futimens(fd, ((struct timespec[2]){{.tv_nsec=UTIME_NOW},{.tv_nsec=UTIME_OMIT}})) == 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()
/third_party/ltp/include/lapi/
H A Dutime.h13 #ifndef UTIME_OMIT
14 # define UTIME_OMIT ((1l << 30) - 2l) macro
/third_party/rust/crates/rustix/tests/time/
H A Dtimespec.rs4 use rustix::fs::{UTIME_NOW, UTIME_OMIT}; in test_timespec_layout()
24 tv_nsec: UTIME_OMIT, in test_timespec_layout()
/third_party/rust/crates/rustix/src/fs/
H A Dat.rs35 /// `UTIME_OMIT` for use with [`utimensat`].
39 pub const UTIME_OMIT: Nsecs = backend::fs::types::UTIME_OMIT as Nsecs; consts
H A Dmod.rs96 UTIME_NOW, UTIME_OMIT,
/third_party/ltp/testcases/kernel/syscalls/utimensat/
H A Dutimensat01.c40 static struct mytime too = {0, UTIME_OMIT, 0, UTIME_OMIT, 0, 0};
41 static struct mytime tno = {0, UTIME_NOW, 0, UTIME_OMIT, 1, 0};
42 static struct mytime ton = {0, UTIME_OMIT, 0, UTIME_NOW, 0, 1};
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dtouch.c58 if (i && i!=(FLAG_a|FLAG_m)) ts[i!=FLAG_m].tv_nsec = UTIME_OMIT; in touch_main()
/third_party/toybox/toys/posix/
H A Dtouch.c65 if (i && i!=(FLAG_a|FLAG_m)) ts[i!=FLAG_m].tv_nsec = UTIME_OMIT; in touch_main()
/third_party/musl/src/stat/
H A Dutimensat.c8 #define NS_SPECIAL(ns) ((ns)==UTIME_NOW || (ns)==UTIME_OMIT)
/third_party/lzma/CPP/Windows/
H A DFileDir.cpp47 #ifdef UTIME_OMIT in FiTime_To_timespec()
48 UTIME_OMIT; // -2 keep old timesptamp in FiTime_To_timespec()
1033 // #undef UTIME_OMIT // to debug
1035 #ifndef UTIME_OMIT
1036 /* we can define UTIME_OMIT for debian and another systems.
1037 Is it OK to define UTIME_OMIT to -2 here, if UTIME_OMIT is not defined? */
1038 // #define UTIME_OMIT -2
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h71 #define UTIME_OMIT 0x3ffffffe macro
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h71 #define UTIME_OMIT 0x3ffffffe macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h71 #define UTIME_OMIT 0x3ffffffe macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h71 #define UTIME_OMIT 0x3ffffffe macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h71 #define UTIME_OMIT 0x3ffffffe macro
/third_party/musl/libc-test/src/api/
H A Dsys_stat.c85 C(UTIME_OMIT) in f()
/third_party/musl/include/sys/
H A Dstat.h78 #define UTIME_OMIT 0x3ffffffe macro
/third_party/rust/crates/linux-raw-sys/gen/modules/
H A Dgeneral.h161 #define UTIME_OMIT 0x3ffffffe macro
/third_party/ltp/lib/
H A Dsafe_file_ops.c332 case UTIME_OMIT: in set_time()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs643 pub use linux_raw_sys::general::{UTIME_NOW, UTIME_OMIT};
/third_party/libfuse/example/
H A Dpassthrough_hp.cc272 tv[0].tv_nsec = UTIME_OMIT; in do_setattr()
273 tv[1].tv_nsec = UTIME_OMIT; in do_setattr()
H A Dpassthrough_ll.c261 tv[0].tv_nsec = UTIME_OMIT; in lo_setattr()
262 tv[1].tv_nsec = UTIME_OMIT; in lo_setattr()
/third_party/lzma/C/Util/7z/
H A D7zMain.c396 ts->tv_nsec = UTIME_OMIT; // keep old timesptamp in FILETIME_To_timespec()
/third_party/ntfs-3g/src/
H A Dntfs-3g.c2792 /* no check or update if both UTIME_OMIT */ in ntfs_fuse_utimens()
2793 if ((tv[0].tv_nsec != UTIME_OMIT) || (tv[1].tv_nsec != UTIME_OMIT)) { in ntfs_fuse_utimens()
2805 if (tv[0].tv_nsec != UTIME_OMIT) in ntfs_fuse_utimens()
2811 if (tv[1].tv_nsec != UTIME_OMIT) in ntfs_fuse_utimens()

Completed in 21 milliseconds

123