Lines Matching full:times
197 struct timeval times[2]; in set_attr() local
235 * times according to the changes to perform, and then call futimes() in set_attr()
244 times[0].tv_sec = st.atime.tv_sec; in set_attr()
245 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr()
246 times[1].tv_sec = st.mtime.tv_sec; in set_attr()
247 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr()
250 times[0].tv_sec = attrs->ia_atime.tv_sec; in set_attr()
251 times[0].tv_usec = attrs->ia_atime.tv_nsec / 1000; in set_attr()
254 times[1].tv_sec = attrs->ia_mtime.tv_sec; in set_attr()
255 times[1].tv_usec = attrs->ia_mtime.tv_nsec / 1000; in set_attr()
259 if (futimes(fd, times) != 0) in set_attr()
261 } else if (utimes(file, times) != 0) { in set_attr()