Lines Matching defs:now
102 struct timespec now;
105 prog_clock_gettime(CLOCK_MONOTONIC, &now);
106 timespecadd(&now, tm, &timer->tm);
125 struct timespec now;
128 prog_clock_gettime(CLOCK_MONOTONIC, &now);
134 if (timespeccmp(&tm->tm, &now, <=)) {
139 timespecadd(&tm->tm, &now, &tm->tm);
147 if (timespeccmp(&tm_max, &now, <)) {
151 timespecsub(&tm_max, &now, &returnval);
159 struct timespec now;
161 prog_clock_gettime(CLOCK_MONOTONIC, &now);
162 if (timespeccmp(&timer->tm, &now, <=)) {
171 timespecsub(&timer->tm, &now, &returnval);