/third_party/weston/tests/ |
D | timespec-test.c | 86 uint32_t tv_sec_lo; in ZUC_TEST() local 91 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in ZUC_TEST() 93 ZUC_ASSERT_EQ(0, tv_sec_lo); in ZUC_TEST() 98 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in ZUC_TEST() 100 ZUC_ASSERT_EQ(1234, tv_sec_lo); in ZUC_TEST() 105 timespec_to_proto(&a, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in ZUC_TEST() 107 ZUC_ASSERT_EQ(0x70005678, tv_sec_lo); in ZUC_TEST()
|
D | pointer-test.c | 55 uint32_t tv_sec_hi, tv_sec_lo, tv_nsec; in send_motion() local 57 timespec_to_proto(time, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in send_motion() 58 weston_test_move_pointer(client->test->weston_test, tv_sec_hi, tv_sec_lo, in send_motion() 67 uint32_t tv_sec_hi, tv_sec_lo, tv_nsec; in send_button() local 69 timespec_to_proto(time, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in send_button() 70 weston_test_send_button(client->test->weston_test, tv_sec_hi, tv_sec_lo, in send_button() 79 uint32_t tv_sec_hi, tv_sec_lo, tv_nsec; in send_axis() local 81 timespec_to_proto(time, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in send_axis() 82 weston_test_send_axis(client->test->weston_test, tv_sec_hi, tv_sec_lo, in send_axis()
|
D | touch-test.c | 64 uint32_t tv_sec_hi, tv_sec_lo, tv_nsec; in send_touch() local 66 timespec_to_proto(time, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in send_touch() 67 weston_test_send_touch(client->test->weston_test, tv_sec_hi, tv_sec_lo, in send_touch()
|
D | weston-test.c | 206 uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, in move_pointer() argument 221 timespec_from_proto(&time, tv_sec_hi, tv_sec_lo, tv_nsec); in move_pointer() 230 uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, in send_button() argument 238 timespec_from_proto(&time, tv_sec_hi, tv_sec_lo, tv_nsec); in send_button() 245 uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, in send_axis() argument 253 timespec_from_proto(&time, tv_sec_hi, tv_sec_lo, tv_nsec); in send_axis() 287 uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, in send_key() argument 294 timespec_from_proto(&time, tv_sec_hi, tv_sec_lo, tv_nsec); in send_key() 587 uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, in send_touch() argument 596 timespec_from_proto(&time, tv_sec_hi, tv_sec_lo, tv_nsec); in send_touch()
|
D | keyboard-test.c | 67 uint32_t tv_sec_hi, tv_sec_lo, tv_nsec; in send_key() local 69 timespec_to_proto(time, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in send_key() 70 weston_test_send_key(client->test->weston_test, tv_sec_hi, tv_sec_lo, in send_key()
|
D | input-timestamps-helper.c | 74 uint32_t tv_sec_lo, in input_timestamp() argument 79 timespec_from_proto(timestamp, tv_sec_hi, tv_sec_lo, in input_timestamp()
|
D | presentation-test.c | 115 uint32_t tv_sec_lo, in feedback_presented() argument 127 timespec_from_proto(&fb->time, tv_sec_hi, tv_sec_lo, tv_nsec); in feedback_presented()
|
/third_party/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()
|
/third_party/weston/shared/ |
D | timespec-util.h | 162 uint32_t *tv_sec_lo, uint32_t *tv_nsec) in timespec_to_proto() argument 170 *tv_sec_lo = sec64 & 0xffffffff; in timespec_to_proto() 217 uint32_t tv_sec_lo, uint32_t tv_nsec) in timespec_from_proto() argument 219 a->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo; in timespec_from_proto()
|
/third_party/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()
|
/third_party/weston/clients/ |
D | presentation-shm.c | 439 uint32_t tv_sec_lo, in feedback_presented() argument 456 timespec_from_proto(&feedback->present, tv_sec_hi, tv_sec_lo, tv_nsec); in feedback_presented() 619 uint32_t tv_sec_lo, in feedkick_presented() argument
|
/third_party/weston/libweston/ |
D | input.c | 101 uint32_t tv_sec_hi, tv_sec_lo, tv_nsec; in send_timestamp() local 103 timespec_to_proto(time, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in send_timestamp() 104 zwp_input_timestamps_v1_send_timestamp(resource, tv_sec_hi, tv_sec_lo, in send_timestamp()
|
D | compositor.c | 409 uint32_t tv_sec_lo; in weston_presentation_feedback_present() local 429 timespec_to_proto(ts, &tv_sec_hi, &tv_sec_lo, &tv_nsec); in weston_presentation_feedback_present() 431 tv_sec_hi, tv_sec_lo, tv_nsec, in weston_presentation_feedback_present()
|