Searched refs:tv_sec_lo (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/util/
H A Dtimespec.h188 * \param tv_sec_lo[out] the low bytes of the seconds part
196 uint32_t *tv_sec_lo, uint32_t *tv_nsec)
204 *tv_sec_lo = sec64 & 0xffffffff;
250 * \param tv_sec_lo the low bytes of seconds part
255 uint32_t tv_sec_lo, uint32_t tv_nsec)
257 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo;
195 timespec_to_proto(const struct timespec * a,uint32_t * tv_sec_hi,uint32_t * tv_sec_lo,uint32_t * tv_nsec) argument
254 timespec_from_proto(struct timespec * a,uint32_t tv_sec_hi,uint32_t tv_sec_lo,uint32_t tv_nsec) argument
/xsrc/external/mit/MesaLib/dist/src/util/tests/timespec/
H A Dtimespec_test.cpp87 uint32_t tv_sec_lo; local in function:TEST
92 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec);
94 EXPECT_EQ(0, tv_sec_lo);
99 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec);
101 EXPECT_EQ(1234, tv_sec_lo);
106 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec);
108 EXPECT_EQ(0x70005678, tv_sec_lo);

Completed in 2 milliseconds