Lines Matching refs:tv_nsec
52 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors()
56 req = (struct timespec){.tv_sec = -1, .tv_nsec = 0}; in common_errors()
61 req = (struct timespec){.tv_sec = 0, .tv_nsec = -1}; in common_errors()
66 req = (struct timespec){.tv_sec = -1, .tv_nsec = -1}; in common_errors()
72 req = (struct timespec){.tv_sec = 0, .tv_nsec = 1000000000}; in common_errors()
82 req = (struct timespec){.tv_sec = 1, .tv_nsec = 1}; in common_errors()
86 zassert_equal(req.tv_nsec, 1); in common_errors()
92 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors()
100 req = (struct timespec){.tv_sec = 0, .tv_nsec = 1}; in common_errors()
104 zassert_equal(req.tv_nsec, 0, "actual: %d expected: %d", req.tv_nsec, 0); in common_errors()
123 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in ZTEST()
129 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in ZTEST()
167 zassert_equal(req.tv_nsec, ns, "actual: %d expected: %d", req.tv_nsec, ns); 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()