Searched refs:tv_sec_hi (Results 1 - 2 of 2) sorted by relevance
/third_party/mesa3d/src/util/tests/ |
H A D | timespec_test.cpp | 89 uint32_t tv_sec_hi; in TEST() local 95 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 96 EXPECT_EQ(0, tv_sec_hi); in TEST() 102 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 103 EXPECT_EQ(0, tv_sec_hi); in TEST() 109 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 110 EXPECT_EQ((uint64_t)a.tv_sec >> 32, tv_sec_hi); in TEST()
|
/third_party/mesa3d/src/util/ |
H A D | timespec.h | 205 * \param tv_sec_hi[out] the high bytes of the seconds part 213 timespec_to_proto(const struct timespec *a, uint32_t *tv_sec_hi, in timespec_to_proto() argument 221 *tv_sec_hi = sec64 >> 32; in timespec_to_proto() 267 * \param tv_sec_hi the high bytes of seconds part 272 timespec_from_proto(struct timespec *a, uint32_t tv_sec_hi, in timespec_from_proto() argument 275 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo; in timespec_from_proto()
|
Completed in 1 milliseconds