Lines Matching refs:tv
44 struct timeval now, tv[2], *tvp;
71 tv[0].tv_sec = times[0].tv_sec;
72 tv[0].tv_usec = times[0].tv_nsec / 1000;
73 tv[1].tv_sec = times[1].tv_sec;
74 tv[1].tv_usec = times[1].tv_nsec / 1000;
75 tvp = tv;
81 tv[0].tv_sec = sb.st_atim.tv_sec;
82 tv[0].tv_usec = sb.st_atim.tv_nsec / 1000;
85 tv[1].tv_sec = sb.st_mtim.tv_sec;
86 tv[1].tv_usec = sb.st_mtim.tv_nsec / 1000;
94 tv[0] = now;
96 tv[1] = now;