Searched refs:tv_sec_hi (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/util/tests/timespec/ |
D | timespec_test.cpp | 86 uint32_t tv_sec_hi; in TEST() local 92 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 93 EXPECT_EQ(0, tv_sec_hi); in TEST() 99 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 100 EXPECT_EQ(0, tv_sec_hi); in TEST() 106 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 107 EXPECT_EQ((uint64_t)a.tv_sec >> 32, tv_sec_hi); in TEST()
|
/external/mesa3d/src/util/ |
D | timespec.h | 195 timespec_to_proto(const struct timespec *a, uint32_t *tv_sec_hi, in timespec_to_proto() argument 203 *tv_sec_hi = sec64 >> 32; in timespec_to_proto() 254 timespec_from_proto(struct timespec *a, uint32_t tv_sec_hi, in timespec_from_proto() argument 257 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo; in timespec_from_proto()
|