Searched refs:tv_sec_hi (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | timespec.h | 187 * \param tv_sec_hi[out] the high bytes of the seconds part 195 timespec_to_proto(const struct timespec *a, uint32_t *tv_sec_hi, argument 203 *tv_sec_hi = sec64 >> 32; 249 * \param tv_sec_hi the high bytes of seconds part 254 timespec_from_proto(struct timespec *a, uint32_t tv_sec_hi, argument 257 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo;
|
| /xsrc/external/mit/MesaLib/dist/src/util/tests/timespec/ |
| H A D | timespec_test.cpp | 86 uint32_t tv_sec_hi; local in function:TEST 92 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); 93 EXPECT_EQ(0, tv_sec_hi); 99 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); 100 EXPECT_EQ(0, tv_sec_hi); 106 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); 107 EXPECT_EQ((uint64_t)a.tv_sec >> 32, tv_sec_hi);
|
Completed in 4 milliseconds