Lines Matching refs:ts
39 struct timespec ts[2]; local
44 ts[0].tv_nsec = UTIME_NOW;
50 localtime_r(&(ts->tv_sec), &tm);
62 localtime_r(&(ts->tv_sec), &tm);
65 ts->tv_nsec = 0;
67 sscanf(s, ".%lu%n", &ts->tv_nsec, &len);
83 ts->tv_nsec = 0;
85 sscanf(s += len, "%lu%n", &ts->tv_nsec, &len);
91 if (ts->tv_nsec > 999999999) s = 0;
92 else while (len++ < 10) ts->tv_nsec *= 10;
96 ts->tv_sec = mktime(&tm);
99 ts[1]=ts[0];
107 ts[0] = st.st_atim;
108 ts[1] = st.st_mtim;
113 if (i && i!=(FLAG_a|FLAG_m)) ts[i==FLAG_m].tv_nsec = UTIME_OMIT;
119 if (!utimensat(AT_FDCWD, *ss, ts,