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

/freebsd-current/tools/build/
H A Dfutimens.c36 #define UTIME_OMIT -2 macro
49 else if (times[0].tv_nsec == UTIME_OMIT &&
50 times[1].tv_nsec == UTIME_OMIT)
55 times[0].tv_nsec != UTIME_OMIT) {
61 times[1].tv_nsec != UTIME_OMIT) {
70 if (times[0].tv_nsec == UTIME_OMIT ||
71 times[1].tv_nsec == UTIME_OMIT) {
74 if (times[0].tv_nsec == UTIME_OMIT) {
78 if (times[1].tv_nsec == UTIME_OMIT) {
H A Dutimensat.c36 #define UTIME_OMIT -2 macro
53 else if (times[0].tv_nsec == UTIME_OMIT &&
54 times[1].tv_nsec == UTIME_OMIT)
59 times[0].tv_nsec != UTIME_OMIT) {
65 times[1].tv_nsec != UTIME_OMIT) {
74 if (times[0].tv_nsec == UTIME_OMIT ||
75 times[1].tv_nsec == UTIME_OMIT) {
78 if (times[0].tv_nsec == UTIME_OMIT) {
82 if (times[1].tv_nsec == UTIME_OMIT) {
H A Dstat.h34 #define UTIME_OMIT -2 macro
/freebsd-current/contrib/pjdfstest/tests/utimensat/
H A D07.t29 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_OMIT $DATE2 0 0
30 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 0 UTIME_OMIT 0
35 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_OMIT $DATE2 0 0
36 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 0 UTIME_OMIT 0
H A D02.t5 desc="utimensat with UTIME_OMIT will leave the time unchanged"
25 expect 0 open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 0 UTIME_OMIT 0
29 expect 0 open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_OMIT $DATE2 0 0
H A D06.t35 expect 0 -u $UID_ROOT open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_OMIT 0 UTIME_OMIT 0
/freebsd-current/usr.bin/touch/
H A Dtouch.c144 ts[0].tv_nsec = UTIME_OMIT;
146 ts[1].tv_nsec = UTIME_OMIT;
/freebsd-current/sys/sys/
H A Dstat.h356 #define UTIME_OMIT -2 macro
/freebsd-current/usr.bin/mail/
H A Dutil.c324 ts[1].tv_nsec = UTIME_OMIT;
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Dtime_utils.h35 // We can use the presence of UTIME_OMIT to detect platforms that provide utimensat.
36 #if defined(UTIME_OMIT)
H A Doperations.cpp606 tbuf[0].tv_nsec = UTIME_OMIT;
/freebsd-current/contrib/pjdfstest/
H A Dpjdfstest.c1155 else if (strcmp(STR(3), "UTIME_OMIT") == 0)
1156 times[0].tv_nsec = UTIME_OMIT;
1162 else if (strcmp(STR(5), "UTIME_OMIT") == 0)
1163 times[1].tv_nsec = UTIME_OMIT;
/freebsd-current/sys/compat/linux/
H A Dlinux_misc.c563 times->tv_nsec = UTIME_OMIT;
590 if (timesp[0].tv_nsec == UTIME_OMIT &&
591 timesp[1].tv_nsec == UTIME_OMIT)
653 times->tv_nsec = UTIME_OMIT;
/freebsd-current/tests/sys/fs/fusefs/
H A Ddefault_permissions.cc696 /* Anybody can set both timestamps to UTIME_OMIT */
706 {.tv_sec = 0, .tv_nsec = UTIME_OMIT},
707 {.tv_sec = 0, .tv_nsec = UTIME_OMIT},
H A Dsetattr.cc657 {.tv_sec = 5, .tv_nsec = UTIME_OMIT},
/freebsd-current/sys/kern/
H A Dvfs_syscalls.c3186 if (tsp[0].tv_nsec == UTIME_OMIT && tsp[1].tv_nsec == UTIME_OMIT)
3190 if (tsp[0].tv_nsec == UTIME_OMIT)
3196 if (tsp[1].tv_nsec == UTIME_OMIT)
3448 * "If both tv_nsec fields are UTIME_OMIT... EACCESS may be detected."
/freebsd-current/usr.bin/truss/
H A Dsyscalls.c1846 case UTIME_OMIT:
1847 fprintf(fp, "UTIME_OMIT");

Completed in 300 milliseconds