Searched refs:tv_sec_lo (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/util/tests/timespec/ |
D | timespec_test.cpp | 87 uint32_t tv_sec_lo; in TEST() local 92 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 94 EXPECT_EQ(0, tv_sec_lo); in TEST() 99 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 101 EXPECT_EQ(1234, tv_sec_lo); in TEST() 106 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in TEST() 108 EXPECT_EQ(0x70005678, tv_sec_lo); in TEST()
|
/external/mesa3d/src/util/ |
D | timespec.h | 196 uint32_t *tv_sec_lo, uint32_t *tv_nsec) in timespec_to_proto() argument 204 *tv_sec_lo = sec64 & 0xffffffff; in timespec_to_proto() 255 uint32_t tv_sec_lo, uint32_t tv_nsec) in timespec_from_proto() argument 257 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo; in timespec_from_proto()
|