Lines Matching defs:then

260 	struct timespec then, now, delta;
266 RL(clock_gettime(CLOCK_MONOTONIC, &then));
267 timespecadd(&then, &its.it_value, &its.it_value);
282 timespecsub(&now, &then, &delta);
284 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
285 (intmax_t)then.tv_sec, then.tv_nsec,
301 struct timespec then, now, delta;
313 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
325 timespecsub(&now, &then, &delta);
327 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
328 (intmax_t)then.tv_sec, then.tv_nsec,
344 struct timespec then, now, delta;
356 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
364 timespecsub(&now, &then, &delta);
366 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
367 (intmax_t)then.tv_sec, then.tv_nsec,
383 struct timespec then, now, delta;
394 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
396 timespecadd(&then, &delta, &its.it_value);
410 timespecsub(&now, &then, &delta);
412 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
413 (intmax_t)then.tv_sec, then.tv_nsec,
560 * then check again.
627 struct timespec then, now;
660 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
665 ATF_REQUIRE(now.tv_sec - then.tv_sec >= 1);
671 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
676 ATF_REQUIRE(now.tv_sec - then.tv_sec >= 1);
680 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
704 * block), and then close the descriptor.
720 struct timespec then, now, delta;
737 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
742 * Wait for the helper to be ready, and then immediately block
750 timespecsub(&now, &then, &delta);