Lines Matching refs:USEC_INFINITY
37 assert_se(u == USEC_INFINITY); in TEST()
39 assert_se(u == USEC_INFINITY); in TEST()
79 assert_se(u == USEC_INFINITY); in TEST()
81 assert_se(u == USEC_INFINITY); in TEST()
83 assert_se(u == USEC_INFINITY); in TEST()
92 assert_se(u == USEC_INFINITY); in TEST()
94 assert_se(u == USEC_INFINITY); in TEST()
234 test_format_timespan_one(USEC_INFINITY, accuracy); in test_format_timespan_accuracy()
275 assert_se(usec_add(USEC_INFINITY, 5) == USEC_INFINITY); in TEST()
276 assert_se(usec_add(5, USEC_INFINITY) == USEC_INFINITY); in TEST()
277 assert_se(usec_add(USEC_INFINITY-5, 2) == USEC_INFINITY-3); in TEST()
278 assert_se(usec_add(USEC_INFINITY-2, 2) == USEC_INFINITY); in TEST()
279 assert_se(usec_add(USEC_INFINITY-1, 2) == USEC_INFINITY); in TEST()
280 assert_se(usec_add(USEC_INFINITY, 2) == USEC_INFINITY); in TEST()
286 assert_se(usec_sub_unsigned(0, USEC_INFINITY) == 0); in TEST()
291 assert_se(usec_sub_unsigned(1, USEC_INFINITY) == 0); in TEST()
292 assert_se(usec_sub_unsigned(USEC_INFINITY-1, 0) == USEC_INFINITY-1); in TEST()
293 assert_se(usec_sub_unsigned(USEC_INFINITY-1, 1) == USEC_INFINITY-2); in TEST()
294 assert_se(usec_sub_unsigned(USEC_INFINITY-1, 2) == USEC_INFINITY-3); in TEST()
295 assert_se(usec_sub_unsigned(USEC_INFINITY-1, USEC_INFINITY-2) == 1); in TEST()
296 assert_se(usec_sub_unsigned(USEC_INFINITY-1, USEC_INFINITY-1) == 0); in TEST()
297 assert_se(usec_sub_unsigned(USEC_INFINITY-1, USEC_INFINITY) == 0); in TEST()
298 assert_se(usec_sub_unsigned(USEC_INFINITY, 0) == USEC_INFINITY); in TEST()
299 assert_se(usec_sub_unsigned(USEC_INFINITY, 1) == USEC_INFINITY); in TEST()
300 assert_se(usec_sub_unsigned(USEC_INFINITY, 2) == USEC_INFINITY); in TEST()
301 assert_se(usec_sub_unsigned(USEC_INFINITY, USEC_INFINITY) == USEC_INFINITY); in TEST()
309 assert_se(usec_sub_signed(USEC_INFINITY-3, -3) == USEC_INFINITY); in TEST()
310 assert_se(usec_sub_signed(USEC_INFINITY-3, -4) == USEC_INFINITY); in TEST()
311 assert_se(usec_sub_signed(USEC_INFINITY-3, -5) == USEC_INFINITY); in TEST()
312 assert_se(usec_sub_signed(USEC_INFINITY, 5) == USEC_INFINITY); in TEST()
469 test_format_timestamp_utc_one(USEC_INFINITY, NULL); in TEST()
505 assert_se(t.realtime == USEC_INFINITY); in TEST()
527 … assert_se(usec_shift_clock(USEC_INFINITY, CLOCK_REALTIME, CLOCK_MONOTONIC) == USEC_INFINITY); in TEST()
576 assert_se(nowr < USEC_INFINITY - USEC_PER_DAY*7); /* overflow check */ in TEST()
579 assert_se(y > 0 && y < USEC_INFINITY); in TEST()
581 assert_se(z > 0 && z < USEC_INFINITY); in TEST()
588 assert_se(y < USEC_INFINITY); in TEST()
590 assert_se(z > 0 && z < USEC_INFINITY); in TEST()