Searched refs:tv_sec_lo (Results 1 - 2 of 2) sorted by relevance
/third_party/mesa3d/src/util/tests/ |
H A D | timespec_test.cpp | 90 uint32_t tv_sec_lo; in TEST() local 95 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 97 EXPECT_EQ(0, tv_sec_lo); in TEST() 102 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 104 EXPECT_EQ(1234, tv_sec_lo); in TEST() 109 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 111 EXPECT_EQ(0x70005678, tv_sec_lo); in TEST()
|
/third_party/mesa3d/src/util/ |
H A D | timespec.h | 206 * \param tv_sec_lo[out] the low bytes of the seconds part 214 uint32_t *tv_sec_lo, uint32_t *tv_nsec) in timespec_to_proto() 222 *tv_sec_lo = sec64 & 0xffffffff; in timespec_to_proto() 268 * \param tv_sec_lo the low bytes of seconds part 273 uint32_t tv_sec_lo, uint32_t tv_nsec) in timespec_from_proto() 275 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo; in timespec_from_proto() 213 timespec_to_proto(const struct timespec *a, uint32_t *tv_sec_hi, uint32_t *tv_sec_lo, uint32_t *tv_nsec) timespec_to_proto() argument 272 timespec_from_proto(struct timespec *a, uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec) timespec_from_proto() argument
|
Completed in 2 milliseconds