Lines Matching refs:av
88 tvtouch(const char* path, register const Tv_t* av, register const Tv_t* mv, const Tv_t* cv, int flags)
110 if (!av)
115 else if (av == TV_TOUCH_RETAIN)
122 ts[0].tv_sec = av->tv_sec;
123 ts[0].tv_nsec = NS(av->tv_nsec);
140 if (!cv && av == TV_TOUCH_RETAIN && mv == TV_TOUCH_RETAIN && !stat(path, &st) && !chmod(path, st.st_mode & S_IPERM))
159 if ((av == TV_TOUCH_RETAIN || mv == TV_TOUCH_RETAIN) && stat(path, &st))
162 if (av == TV_TOUCH_RETAIN)
163 av = 0;
167 if (!av || !mv)
170 if (!av)
171 av = (const Tv_t*)&now;
176 if (av == TV_TOUCH_RETAIN)
183 ts[0].tv_sec = av->tv_sec;
184 ts[0].tv_nsec = NS(av->tv_nsec);
198 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utimets(path, NiL))
205 if (av == TV_TOUCH_RETAIN)
212 am[0].tv_sec = av->tv_sec;
213 am[0].tv_usec = NS(av->tv_nsec) / 1000;
227 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utimes(path, NiL))
234 am.actime = (av == TV_TOUCH_RETAIN) ? st.st_atime : av->tv_sec;
239 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utime(path, NiL))
249 if (av != (const Tv_t*)&now || mv != (const Tv_t*)&now)
278 if (av == (const Tv_t*)&now && mv == (const Tv_t*)&now)