Lines Matching defs:then

254 	struct timespec then, now, delta;
260 RL(clock_gettime(CLOCK_MONOTONIC, &then));
261 timespecadd(&then, &its.it_value, &its.it_value);
276 timespecsub(&now, &then, &delta);
278 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
279 (intmax_t)then.tv_sec, then.tv_nsec,
295 struct timespec then, now, delta;
307 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
319 timespecsub(&now, &then, &delta);
321 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
322 (intmax_t)then.tv_sec, then.tv_nsec,
338 struct timespec then, now, delta;
350 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
358 timespecsub(&now, &then, &delta);
360 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
361 (intmax_t)then.tv_sec, then.tv_nsec,
377 struct timespec then, now, delta;
388 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
390 timespecadd(&then, &delta, &its.it_value);
404 timespecsub(&now, &then, &delta);
406 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu",
407 (intmax_t)then.tv_sec, then.tv_nsec,
554 * then check again.
621 struct timespec then, now;
654 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
659 ATF_REQUIRE(now.tv_sec - then.tv_sec >= 1);
665 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
670 ATF_REQUIRE(now.tv_sec - then.tv_sec >= 1);
674 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
698 * block), and then close the descriptor.
714 struct timespec then, now, delta;
731 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
736 * Wait for the helper to be ready, and then immediately block
744 timespecsub(&now, &then, &delta);