Home
last modified time | relevance | path

Searched refs:time_usec (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setitimer/
Dsetitimer01.c29 static long time_usec; variable
80 set_setitimer_value(time_sec, time_usec); in verify_setitimer()
83 set_setitimer_value(5 * time_sec, 7 * time_usec); in verify_setitimer()
87 TST_EXP_EQ_LI(ovalue->it_interval.tv_usec, time_usec); in verify_setitimer()
101 ovalue->it_value.tv_usec > time_usec + margin) in verify_setitimer()
113 set_setitimer_value(0, time_usec); in verify_setitimer()
159 time_usec = 3 * time_step; in setup()
/third_party/musl/src/linux/
Dclock_adjtime.c15 long long time_sec, time_usec; member
29 long time_sec, time_usec; member
52 .time_usec = utx->time.tv_usec, in clock_adjtime()
76 utx->time.tv_usec = ktx.time_usec; in clock_adjtime()
105 .time_usec = utx->time.tv_usec, in clock_adjtime()
133 utx->time.tv_usec = ktx.time_usec; in clock_adjtime()
/third_party/curl/tests/unit/
Dunit1399.c55 static bool usec_matches_seconds(timediff_t time_usec, int expected_seconds) in usec_matches_seconds() argument
57 int time_sec = (int)(time_usec / usec_magnitude); in usec_matches_seconds()
60 (int)time_usec, expected_seconds, in usec_matches_seconds()
/third_party/libinput/test/
Dtest-keyboard.c308 uint64_t time_usec; in START_TEST() local
323 time_usec = libinput_event_keyboard_get_time_usec(kev); in START_TEST()
325 (uint32_t) (time_usec / 1000)); in START_TEST()
Dtest-pad.c68 uint64_t time, time_usec, oldtime; in START_TEST() local
95 time_usec = libinput_event_tablet_pad_get_time_usec(pev); in START_TEST()
98 ck_assert(time == time_usec/1000); in START_TEST()
116 time_usec = libinput_event_tablet_pad_get_time_usec(pev); in START_TEST()
120 ck_assert(time == time_usec/1000); in START_TEST()
Dtest-touch.c891 uint64_t time_usec; in START_TEST() local
900 time_usec = libinput_event_touch_get_time_usec(tev); in START_TEST()
902 (uint32_t) (time_usec / 1000)); in START_TEST()
Dtest-gestures.c1252 uint64_t time_usec; in START_TEST() local
1271 time_usec = libinput_event_gesture_get_time_usec(gevent); in START_TEST()
1273 (uint32_t) (time_usec / 1000)); in START_TEST()
Dtest-pointer.c2851 uint64_t time_usec; in START_TEST() local
2864 time_usec = libinput_event_pointer_get_time_usec(ptrev); in START_TEST()
2866 (uint32_t) (time_usec / 1000)); in START_TEST()
Dtest-tablet.c3563 uint64_t time_usec; in START_TEST() local
3573 time_usec = libinput_event_tablet_tool_get_time_usec(tev); in START_TEST()
3575 (uint32_t) (time_usec / 1000)); in START_TEST()