Lines Matching defs:now
40 struct timeval now;
42 now.tv_sec = (long)milliseconds / 1000;
43 now.tv_usec = (long)(milliseconds % 1000) * 1000;
44 return now;
58 struct timeval now;
61 now.tv_sec = tsnow.tv_sec;
62 now.tv_usec = (int)(tsnow.tv_nsec / 1000);
71 (void)gettimeofday(&now, NULL); /* LCOV_EXCL_LINE */
74 now.tv_sec = (long)time(NULL);
75 now.tv_usec = 0;
78 return now;
90 struct timeval now;
91 (void)gettimeofday(&now, NULL);
92 return now;
102 struct timeval now;
103 now.tv_sec = (long)time(NULL);
104 now.tv_usec = 0;
105 return now;