Home
last modified time | relevance | path

Searched refs:tvp (Results 1 – 12 of 12) sorted by relevance

/sysdeps/unix/sysv/linux/
A Dutimes.c23 __utimes64 (const char *file, const struct __timeval64 tvp[2]) in __utimes64()
27 if (tvp != NULL) in __utimes64()
29 ts64[0] = timeval64_to_timespec64 (tvp[0]); in __utimes64()
30 ts64[1] = timeval64_to_timespec64 (tvp[1]); in __utimes64()
33 return __utimensat64_helper (AT_FDCWD, file, tvp ? ts64 : NULL, 0); in __utimes64()
40 __utimes (const char *file, const struct timeval tvp[2]) in libc_hidden_def()
44 if (tvp != NULL) in libc_hidden_def()
46 tv64[0] = valid_timeval_to_timeval64 (tvp[0]); in libc_hidden_def()
47 tv64[1] = valid_timeval_to_timeval64 (tvp[1]); in libc_hidden_def()
50 return __utimes64 (file, tvp ? tv64 : NULL); in libc_hidden_def()
A Dfutimes.c42 __futimes (int fd, const struct timeval tvp[2]) in libc_hidden_def()
46 if (tvp != NULL) in libc_hidden_def()
48 tv64[0] = valid_timeval_to_timeval64 (tvp[0]); in libc_hidden_def()
49 tv64[1] = valid_timeval_to_timeval64 (tvp[1]); in libc_hidden_def()
52 return __futimes64 (fd, tvp ? &tv64[0] : NULL); in libc_hidden_def()
A Dlutimes.c42 __lutimes (const char *file, const struct timeval tvp[2]) in libc_hidden_def()
46 if (tvp != NULL) in libc_hidden_def()
48 tv64[0] = valid_timeval_to_timeval64 (tvp[0]); in libc_hidden_def()
49 tv64[1] = valid_timeval_to_timeval64 (tvp[1]); in libc_hidden_def()
52 return __lutimes64 (file, tvp ? &tv64[0] : NULL); in libc_hidden_def()
A Dfutimesat.c41 __futimesat (int fd, const char *file, const struct timeval tvp[2]) in libc_hidden_def()
45 if (tvp != NULL) in libc_hidden_def()
47 tv64[0] = valid_timeval_to_timeval64 (tvp[0]); in libc_hidden_def()
48 tv64[1] = valid_timeval_to_timeval64 (tvp[1]); in libc_hidden_def()
51 return __futimesat64 (fd, file, tvp ? &tv64[0] : NULL); in libc_hidden_def()
/sysdeps/posix/
A Dutimes.c27 __utimes (const char *file, const struct timeval tvp[2]) in __utimes()
31 if (tvp) in __utimes()
34 buf.actime = tvp[0].tv_sec + tvp[0].tv_usec / 1000000; in __utimes()
35 buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000; in __utimes()
A Dutime.c33 struct timeval *tvp; in utime() local
41 tvp = timevals; in utime()
44 tvp = NULL; in utime()
46 return __utimes (file, tvp); in utime()
A Dsprofil.c281 __sprofil (struct prof *profp, int profcnt, struct timeval *tvp, in __sprofil() argument
289 if (tvp != NULL) in __sprofil()
293 tvp->tv_sec = t / 1000000; in __sprofil()
294 tvp->tv_usec = t % 1000000; in __sprofil()
/sysdeps/mach/hurd/
A Dutime-helper.c26 utime_ts_from_tval (const struct timeval tvp[2], in utime_ts_from_tval()
29 if (tvp == NULL) in utime_ts_from_tval()
40 TIMEVAL_TO_TIMESPEC (&tvp[0], atime); in utime_ts_from_tval()
41 TIMEVAL_TO_TIMESPEC (&tvp[1], mtime); in utime_ts_from_tval()
50 if (tvp == NULL) in utime_tvalue_from_tval()
56 atime->seconds = tvp[0].tv_sec; in utime_tvalue_from_tval()
57 atime->microseconds = tvp[0].tv_usec; in utime_tvalue_from_tval()
58 mtime->seconds = tvp[1].tv_sec; in utime_tvalue_from_tval()
59 mtime->microseconds = tvp[1].tv_usec; in utime_tvalue_from_tval()
70 utime_ts_from_tval (tvp, &atime, &mtime); in hurd_futimes()
[all …]
A Dfutimes.c30 __futimes (int fd, const struct timeval tvp[2]) in __futimes()
35 utime_ts_from_tval (tvp, &atime, &mtime); in __futimes()
43 utime_tvalue_from_tval (tvp, &atim, &mtim); in __futimes()
A Dfutimesat.c30 futimesat (int fd, const char *file, const struct timeval tvp[2]) in futimesat()
39 err = hurd_futimes (port, tvp); in futimesat()
A Dutimes.c29 __utimes (const char *file, const struct timeval tvp[2]) in __utimes()
38 err = hurd_futimes (port, tvp); in __utimes()
A Dlutimes.c30 __lutimes (const char *file, const struct timeval tvp[2]) in __lutimes()
39 err = hurd_futimes (port, tvp); in __lutimes()

Completed in 12 milliseconds