Lines Matching refs:rem

37 	struct timespec rem = {};  in common_errors()  local
48 zassert_equal(select_nanosleep(selection, clock_id, flags, NULL, &rem), -1); in common_errors()
51 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in common_errors()
52 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors()
89 zassert_equal(select_nanosleep(selection, clock_id, flags, &req, &rem), 0); in common_errors()
91 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in common_errors()
92 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors()
114 struct timespec rem = {}; in ZTEST() local
121 zassert_equal(clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &req, &rem), 0); in ZTEST()
122 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in ZTEST()
123 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in ZTEST()
127 zassert_equal(clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &req, &rem), 0); in ZTEST()
128 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in ZTEST()
129 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in ZTEST()
156 struct timespec rem = {0, 0}; in common_lower_bound_check() local
161 r = select_nanosleep(selection, clock_id, flags, &req, &rem); in common_lower_bound_check()
168 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in common_lower_bound_check()
169 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_lower_bound_check()