Lines Matching defs:timenow
1082 static struct timeval timenow; /* Current time */
1108 gettimeofday(&timenow, NULL);
1109 newp->c_time.tv_sec = timenow.tv_sec + secs;
1110 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1164 if (gettimeofday(&timenow, NULL) < 0)
1166 if (!(p->c_time.tv_sec < timenow.tv_sec
1167 || (p->c_time.tv_sec == timenow.tv_sec
1168 && p->c_time.tv_usec <= timenow.tv_usec)))
1189 gettimeofday(&timenow, NULL);
1190 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
1191 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec;