/third_party/musl/libc-test/src/functional/ |
H A D | utime64.c | 24 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 D | utime.c | 21 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 D | utime.h | 13 #ifndef UTIME_OMIT 14 # define UTIME_OMIT ((1l << 30) - 2l) macro
|
/third_party/rust/crates/rustix/tests/time/ |
H A D | timespec.rs | 4 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 D | at.rs | 35 /// `UTIME_OMIT` for use with [`utimensat`]. 39 pub const UTIME_OMIT: Nsecs = backend::fs::types::UTIME_OMIT as Nsecs; consts
|
H A D | mod.rs | 96 UTIME_NOW, UTIME_OMIT,
|
/third_party/ltp/testcases/kernel/syscalls/utimensat/ |
H A D | utimensat01.c | 40 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 D | touch.c | 58 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 D | touch.c | 65 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 D | utimensat.c | 8 #define NS_SPECIAL(ns) ((ns)==UTIME_NOW || (ns)==UTIME_OMIT)
|
/third_party/lzma/CPP/Windows/ |
H A D | FileDir.cpp | 47 #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 D | stat.h | 71 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | stat.h | 71 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | stat.h | 71 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | stat.h | 71 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | stat.h | 71 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_stat.c | 85 C(UTIME_OMIT) in f()
|
/third_party/musl/include/sys/ |
H A D | stat.h | 78 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/rust/crates/linux-raw-sys/gen/modules/ |
H A D | general.h | 161 #define UTIME_OMIT 0x3ffffffe macro
|
/third_party/ltp/lib/ |
H A D | safe_file_ops.c | 332 case UTIME_OMIT: in set_time()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | types.rs | 643 pub use linux_raw_sys::general::{UTIME_NOW, UTIME_OMIT};
|
/third_party/libfuse/example/ |
H A D | passthrough_hp.cc | 272 tv[0].tv_nsec = UTIME_OMIT; in do_setattr() 273 tv[1].tv_nsec = UTIME_OMIT; in do_setattr()
|
H A D | passthrough_ll.c | 261 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 D | 7zMain.c | 396 ts->tv_nsec = UTIME_OMIT; // keep old timesptamp
in FILETIME_To_timespec()
|
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 2792 /* 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()
|