Home
last modified time | relevance | path

Searched refs:time (Results 1 - 25 of 3425) sorted by relevance

12345678910>>...137

/third_party/protobuf/src/google/protobuf/stubs/
H A Dtime_test.cc30 #include <google/protobuf/stubs/time.h>
44 DateTime time; in CreateTimestamp() local
45 time.year = year; in CreateTimestamp()
46 time.month = month; in CreateTimestamp()
47 time.day = day; in CreateTimestamp()
48 time.hour = time.minute = time.second = 0; in CreateTimestamp()
50 GOOGLE_CHECK(DateTimeToSeconds(time, &result)); in CreateTimestamp()
52 GOOGLE_CHECK(SecondsToDateTime(result, &time)); in CreateTimestamp()
60 DateTime time; TEST() local
154 DateTime time; TEST() local
[all...]
H A Dtime.cc1 #include <google/protobuf/stubs/time.h>
73 bool ValidateDateTime(const DateTime& time) { in ValidateDateTime() argument
74 if (time.year < 1 || time.year > 9999 || in ValidateDateTime()
75 time.month < 1 || time.month > 12 || in ValidateDateTime()
76 time.day < 1 || time.day > 31 || in ValidateDateTime()
77 time.hour < 0 || time in ValidateDateTime()
91 SecondsSinceCommonEra(const DateTime& time) SecondsSinceCommonEra() argument
211 SecondsToDateTime(int64 seconds, DateTime* time) SecondsToDateTime() argument
256 DateTimeToSeconds(const DateTime& time, int64* seconds) DateTimeToSeconds() argument
272 DateTime time; FormatTime() local
286 DateTime time; ParseTime() local
[all...]
/third_party/python/Lib/test/
H A Dtest_time.py10 import time namespace
58 self.t = time.time()
61 time.altzone
62 time.daylight
63 time.timezone
64 time.tzname
67 time.time()
68 info = time
[all...]
H A Dtest_sched.py4 import time namespace
19 def time(self): member in Timer
23 # increase the time but not beyond the established limit
33 # advance time limit for user code
46 scheduler = sched.scheduler(time.time, time.sleep)
55 scheduler = sched.scheduler(time.time, time
[all...]
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
H A Dtest-cmpxchg-nolock.c48 cycles_t time1, time2, time; in do_testbaseline() local
60 time = time2 - time1; in do_testbaseline()
62 printk(KERN_ALERT "test results: time for baseline\n"); in do_testbaseline()
64 printk(KERN_ALERT "total time: %llu\n", time); in do_testbaseline()
65 time = div_u64_rem(time, NR_LOOPS, &rem); in do_testbaseline()
66 printk(KERN_ALERT "-> baseline takes %llu cycles\n", time); in do_testbaseline()
75 cycles_t time1, time2, time; in do_test_sync_cmpxchg() local
91 time in do_test_sync_cmpxchg()
106 cycles_t time1, time2, time; do_test_cmpxchg() local
133 cycles_t time1, time2, time; do_test_sync_inc() local
161 cycles_t time1, time2, time; do_test_inc() local
191 cycles_t time1, time2, time; do_test_enable_int() local
218 cycles_t time1, time2, time; do_test_disable_int() local
246 cycles_t time1, time2, time; do_test_int() local
[all...]
/third_party/node/deps/uvwasi/src/
H A Dclocks.c3 # include <sys/time.h>
5 # include <time.h>
14 #define UVWASI__WIN_TIME_AND_RETURN(handle, get_times, time) \
27 (time) = (((uvwasi_timestamp_t) \
35 #define UVWASI__CLOCK_GETTIME_AND_RETURN(clk, time) \
40 (time) = ((uvwasi_timestamp_t)(ts.tv_sec) * NANOS_PER_SEC) + ts.tv_nsec; \
45 #define UVWASI__GETRUSAGE_AND_RETURN(who, time) \
50 (time) = ((uvwasi_timestamp_t)(ru.ru_utime.tv_sec) * NANOS_PER_SEC) + \
58 #define UVWASI__OSX_THREADTIME_AND_RETURN(time) \
71 (time)
110 uvwasi__clock_gettime_realtime(uvwasi_timestamp_t* time) uvwasi__clock_gettime_realtime() argument
123 uvwasi__clock_gettime_process_cputime(uvwasi_timestamp_t* time) uvwasi__clock_gettime_process_cputime() argument
125 UVWASI__WIN_TIME_AND_RETURN(GetCurrentProcess(), GetProcessTimes, *time); uvwasi__clock_gettime_process_cputime() local
136 uvwasi__clock_gettime_thread_cputime(uvwasi_timestamp_t* time) uvwasi__clock_gettime_thread_cputime() argument
138 UVWASI__WIN_TIME_AND_RETURN(GetCurrentThread(), GetThreadTimes, *time); uvwasi__clock_gettime_thread_cputime() local
155 uvwasi__clock_getres_process_cputime(uvwasi_timestamp_t* time) uvwasi__clock_getres_process_cputime() argument
168 uvwasi__clock_getres_thread_cputime(uvwasi_timestamp_t* time) uvwasi__clock_getres_thread_cputime() argument
[all...]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-helpers-date.c47 * Helper function to get day number from time value.
52 * @return time value for day number
55 ecma_date_day (ecma_number_t time) /**< time value */ in ecma_date_day() argument
57 JERRY_ASSERT (!ecma_number_is_nan (time)); in ecma_date_day()
59 return (ecma_number_t) floor (time / ECMA_DATE_MS_PER_DAY); in ecma_date_day()
63 * Helper function to get time within day from time value.
68 * @return time value within the day
71 ecma_date_time_within_day (ecma_number_t time) /**< tim argument
128 ecma_date_year_from_time(ecma_number_t time) ecma_date_year_from_time() argument
212 ecma_date_month_from_time(ecma_number_t time) ecma_date_month_from_time() argument
256 ecma_date_date_from_time(ecma_number_t time) ecma_date_date_from_time() argument
311 ecma_date_week_day(ecma_number_t time) ecma_date_week_day() argument
330 ecma_date_local_time_zone_adjustment(ecma_number_t time) ecma_date_local_time_zone_adjustment() argument
344 ecma_date_utc(ecma_number_t time) ecma_date_utc() argument
358 ecma_date_hour_from_time(ecma_number_t time) ecma_date_hour_from_time() argument
376 ecma_date_min_from_time(ecma_number_t time) ecma_date_min_from_time() argument
394 ecma_date_sec_from_time(ecma_number_t time) ecma_date_sec_from_time() argument
412 ecma_date_ms_from_time(ecma_number_t time) ecma_date_ms_from_time() argument
493 ecma_number_t time = ecma_date_time_from_year (ym); ecma_date_make_day() local
530 ecma_date_make_date(ecma_number_t day, ecma_number_t time) ecma_date_make_date() argument
558 ecma_date_time_clip(ecma_number_t time) ecma_date_time_clip() argument
579 ecma_date_timezone_offset(ecma_number_t time) ecma_date_timezone_offset() argument
[all...]
H A Decma-builtin-helpers.h146 ECMA_DATE_LOCAL /**< date vaule is in local time */
153 ecma_number_t ecma_date_day (ecma_number_t time);
154 ecma_number_t ecma_date_time_within_day (ecma_number_t time);
155 ecma_number_t ecma_date_year_from_time (ecma_number_t time);
156 ecma_number_t ecma_date_month_from_time (ecma_number_t time);
157 ecma_number_t ecma_date_date_from_time (ecma_number_t time);
158 ecma_number_t ecma_date_week_day (ecma_number_t time);
159 ecma_number_t ecma_date_local_time_zone_adjustment (ecma_number_t time);
160 ecma_number_t ecma_date_utc (ecma_number_t time);
161 ecma_number_t ecma_date_hour_from_time (ecma_number_t time);
[all...]
/third_party/libinput/src/
H A Devdev-middle-button.c143 uint64_t time, in evdev_middlebutton_idle_handle_event()
148 middlebutton_set_state(device, MIDDLEBUTTON_LEFT_DOWN, time); in evdev_middlebutton_idle_handle_event()
151 middlebutton_set_state(device, MIDDLEBUTTON_RIGHT_DOWN, time); in evdev_middlebutton_idle_handle_event()
169 uint64_t time, in evdev_middlebutton_ldown_handle_event()
177 middlebutton_post_event(device, time, in evdev_middlebutton_ldown_handle_event()
180 middlebutton_set_state(device, MIDDLEBUTTON_MIDDLE, time); in evdev_middlebutton_ldown_handle_event()
183 middlebutton_post_event(device, time, in evdev_middlebutton_ldown_handle_event()
188 time); in evdev_middlebutton_ldown_handle_event()
198 middlebutton_post_event(device, time, in evdev_middlebutton_ldown_handle_event()
201 middlebutton_set_state(device, MIDDLEBUTTON_IDLE, time); in evdev_middlebutton_ldown_handle_event()
142 evdev_middlebutton_idle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_idle_handle_event() argument
168 evdev_middlebutton_ldown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ldown_handle_event() argument
221 evdev_middlebutton_rdown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rdown_handle_event() argument
275 evdev_middlebutton_middle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_middle_handle_event() argument
318 evdev_middlebutton_lup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_lup_pending_handle_event() argument
353 evdev_middlebutton_rup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rup_pending_handle_event() argument
388 evdev_middlebutton_passthrough_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_passthrough_handle_event() argument
411 evdev_middlebutton_ignore_lr_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_lr_handle_event() argument
440 evdev_middlebutton_ignore_l_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_l_handle_event() argument
467 evdev_middlebutton_ignore_r_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_r_handle_event() argument
495 evdev_middlebutton_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_handle_event() argument
578 evdev_middlebutton_filter_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_middlebutton_filter_button() argument
[all...]
H A Devdev-mt-touchpad-gestures.c151 tp_gesture_start(struct tp_dispatch *tp, uint64_t time) in tp_gesture_start() argument
167 gesture_notify_hold(&tp->device->base, time, in tp_gesture_start()
174 gesture_notify_pinch(&tp->device->base, time, in tp_gesture_start()
180 gesture_notify_swipe(&tp->device->base, time, in tp_gesture_start()
207 tp_has_pending_pointer_motion(struct tp_dispatch *tp, uint64_t time) in tp_has_pending_pointer_motion() argument
224 tp_gesture_post_pointer_motion(struct tp_dispatch *tp, uint64_t time) in tp_gesture_post_pointer_motion() argument
230 delta = tp_filter_motion(tp, &raw, time); in tp_gesture_post_pointer_motion()
237 time, in tp_gesture_post_pointer_motion()
361 uint64_t time) in tp_gesture_apply_scroll_constraints()
375 /* Determine time delt in tp_gesture_apply_scroll_constraints()
358 tp_gesture_apply_scroll_constraints(struct tp_dispatch *tp, struct device_float_coords *raw, struct normalized_coords *delta, uint64_t time) tp_gesture_apply_scroll_constraints() argument
541 tp_gesture_set_hold_timer(struct tp_dispatch *tp, uint64_t time) tp_gesture_set_hold_timer() argument
558 tp_gesture_handle_event_on_state_none(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_none() argument
587 tp_gesture_handle_event_on_state_unknown(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_unknown() argument
627 tp_gesture_handle_event_on_state_hold(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_hold() argument
665 tp_gesture_handle_event_on_state_hold_and_motion(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_hold_and_motion() argument
690 tp_gesture_handle_event_on_state_pointer_motion(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_pointer_motion() argument
728 tp_gesture_handle_event_on_state_scroll(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_scroll() argument
754 tp_gesture_handle_event_on_state_pinch(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_pinch() argument
776 tp_gesture_handle_event_on_state_swipe(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event_on_state_swipe() argument
798 tp_gesture_handle_event(struct tp_dispatch *tp, enum gesture_event event, uint64_t time) tp_gesture_handle_event() argument
854 tp_gesture_tap_timeout(struct tp_dispatch *tp, uint64_t time) tp_gesture_tap_timeout() argument
864 tp_gesture_detect_motion_gestures(struct tp_dispatch *tp, uint64_t time) tp_gesture_detect_motion_gestures() argument
1052 tp_gesture_handle_state_none(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state_none() argument
1126 tp_gesture_handle_state_unknown(struct tp_dispatch *tp, uint64_t time, bool ignore_motion) tp_gesture_handle_state_unknown() argument
1134 tp_gesture_handle_state_hold(struct tp_dispatch *tp, uint64_t time, bool ignore_motion) tp_gesture_handle_state_hold() argument
1144 tp_gesture_handle_state_hold_and_pointer_motion(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state_hold_and_pointer_motion() argument
1153 tp_gesture_handle_state_pointer_motion(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state_pointer_motion() argument
1160 tp_gesture_handle_state_scroll(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state_scroll() argument
1194 tp_gesture_handle_state_swipe(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state_swipe() argument
1213 tp_gesture_handle_state_pinch(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state_pinch() argument
1250 tp_gesture_post_gesture(struct tp_dispatch *tp, uint64_t time, bool ignore_motion) tp_gesture_post_gesture() argument
1298 tp_gesture_post_events(struct tp_dispatch *tp, uint64_t time, bool ignore_motion) tp_gesture_post_events() argument
1337 tp_gesture_stop_twofinger_scroll(struct tp_dispatch *tp, uint64_t time) tp_gesture_stop_twofinger_scroll() argument
1348 tp_gesture_end(struct tp_dispatch *tp, uint64_t time, bool cancelled) tp_gesture_end() argument
1393 tp_gesture_cancel(struct tp_dispatch *tp, uint64_t time) tp_gesture_cancel() argument
1399 tp_gesture_cancel_motion_gestures(struct tp_dispatch *tp, uint64_t time) tp_gesture_cancel_motion_gestures() argument
1406 tp_gesture_stop(struct tp_dispatch *tp, uint64_t time) tp_gesture_stop() argument
1425 tp_gesture_handle_state(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state() argument
[all...]
H A Devdev-mt-touchpad-tap.c124 uint64_t time, in tp_tap_notify()
147 time, in tp_tap_notify()
153 tp_tap_set_timer(struct tp_dispatch *tp, uint64_t time) in tp_tap_set_timer() argument
155 libinput_timer_set(&tp->tap.timer, time + DEFAULT_TAP_TIMEOUT_PERIOD); in tp_tap_set_timer()
159 tp_tap_set_drag_timer(struct tp_dispatch *tp, uint64_t time, in tp_tap_set_drag_timer() argument
163 time + DEFAULT_DRAG_TIMEOUT_PERIOD_BASE + in tp_tap_set_drag_timer()
169 tp_tap_set_draglock_timer(struct tp_dispatch *tp, uint64_t time) in tp_tap_set_draglock_timer() argument
172 time + DEFAULT_DRAGLOCK_TIMEOUT_PERIOD); in tp_tap_set_draglock_timer()
192 enum tap_event event, uint64_t time) in tp_tap_idle_handle_event()
197 tp->tap.saved_press_time = time; in tp_tap_idle_handle_event()
123 tp_tap_notify(struct tp_dispatch *tp, uint64_t time, int nfingers, enum libinput_button_state state) tp_tap_notify() argument
190 tp_tap_idle_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_idle_handle_event() argument
222 tp_tap_touch_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch_handle_event() argument
278 tp_tap_hold_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_hold_handle_event() argument
315 tp_tap_tapped_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time, int nfingers_tapped) tp_tap_tapped_handle_event() argument
363 tp_tap_touch2_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch2_handle_event() argument
400 tp_tap_touch2_hold_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch2_hold_handle_event() argument
434 tp_tap_touch2_release_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch2_release_handle_event() argument
502 tp_tap_touch3_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch3_handle_event() argument
539 tp_tap_touch3_hold_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch3_hold_handle_event() argument
571 tp_tap_touch3_release_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch3_release_handle_event() argument
638 tp_tap_touch3_release2_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_touch3_release2_handle_event() argument
735 tp_tap_dragging_or_doubletap_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time, int nfingers_tapped) tp_tap_dragging_or_doubletap_handle_event() argument
800 tp_tap_dragging_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time, int nfingers_tapped) tp_tap_dragging_handle_event() argument
861 tp_tap_dragging_wait_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time, int nfingers_tapped) tp_tap_dragging_wait_handle_event() argument
907 tp_tap_dragging_tap_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time, int nfingers_tapped) tp_tap_dragging_tap_handle_event() argument
966 tp_tap_dragging2_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time, int nfingers_tapped) tp_tap_dragging2_handle_event() argument
1019 tp_tap_dead_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_dead_handle_event() argument
1046 tp_tap_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event, uint64_t time) tp_tap_handle_event() argument
1199 tp_tap_handle_state(struct tp_dispatch *tp, uint64_t time) tp_tap_handle_state() argument
1340 tp_tap_handle_timeout(uint64_t time, void *data) tp_tap_handle_timeout() argument
1357 tp_tap_enabled_update(struct tp_dispatch *tp, bool suspended, bool enabled, uint64_t time) tp_tap_enabled_update() argument
1619 tp_tap_suspend(struct tp_dispatch *tp, uint64_t time) tp_tap_suspend() argument
1625 tp_tap_resume(struct tp_dispatch *tp, uint64_t time) tp_tap_resume() argument
[all...]
H A Dfilter.c43 void *data, uint64_t time) in filter_dispatch()
45 return filter->interface->filter(filter, unaccelerated, data, time); in filter_dispatch()
51 void *data, uint64_t time) in filter_dispatch_constant()
53 return filter->interface->filter_constant(filter, unaccelerated, data, time); in filter_dispatch_constant()
59 void *data, uint64_t time) in filter_dispatch_scroll()
61 return filter->interface->filter_scroll(filter, unaccelerated, data, time); in filter_dispatch_scroll()
66 void *data, uint64_t time) in filter_restart()
69 filter->interface->restart(filter, data, time); in filter_restart()
131 uint64_t time) in trackers_reset()
138 tracker->time in trackers_reset()
41 filter_dispatch(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) filter_dispatch() argument
49 filter_dispatch_constant(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) filter_dispatch_constant() argument
57 filter_dispatch_scroll(struct motion_filter *filter, const struct device_float_coords *unaccelerated, void *data, uint64_t time) filter_dispatch_scroll() argument
65 filter_restart(struct motion_filter *filter, void *data, uint64_t time) filter_restart() argument
130 trackers_reset(struct pointer_trackers *trackers, uint64_t time) trackers_reset() argument
150 trackers_feed(struct pointer_trackers *trackers, const struct device_float_coords *delta, uint64_t time) trackers_feed() argument
183 calculate_trackers_velocity(const struct pointer_tracker *tracker, uint64_t time, struct pointer_delta_smoothener *smoothener) calculate_trackers_velocity() argument
224 trackers_velocity(struct pointer_trackers *trackers, uint64_t time) trackers_velocity() argument
296 calculate_acceleration_simpsons(struct motion_filter *filter, accel_profile_func_t profile, void *data, double velocity, double last_velocity, uint64_t time) calculate_acceleration_simpsons() argument
[all...]
H A Devdev-debounce.c127 uint64_t time) in debounce_set_timer()
132 time + DEBOUNCE_TIMEOUT_BOUNCE); in debounce_set_timer()
137 uint64_t time) in debounce_set_timer_short()
142 time + DEBOUNCE_TIMEOUT_SPURIOUS); in debounce_set_timer_short()
177 uint64_t time = fallback->debounce.button_time; in debounce_notify_button() local
181 fallback_notify_physical_button(fallback, device, time, code, state); in debounce_notify_button()
185 debounce_is_up_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) in debounce_is_up_handle_event() argument
189 fallback->debounce.button_time = time; in debounce_is_up_handle_event()
190 debounce_set_timer(fallback, time); in debounce_is_up_handle_event()
206 debounce_is_down_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) in debounce_is_down_handle_event() argument
126 debounce_set_timer(struct fallback_dispatch *fallback, uint64_t time) debounce_set_timer() argument
136 debounce_set_timer_short(struct fallback_dispatch *fallback, uint64_t time) debounce_set_timer_short() argument
234 debounce_is_down_waiting_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_down_waiting_handle_event() argument
260 debounce_is_up_delaying_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_up_delaying_handle_event() argument
281 debounce_is_up_delaying_spurious_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_up_delaying_spurious_handle_event() argument
307 debounce_is_up_detecting_spurious_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_up_detecting_spurious_handle_event() argument
334 debounce_is_down_detecting_spurious_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_down_detecting_spurious_handle_event() argument
362 debounce_is_up_waiting_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_up_waiting_handle_event() argument
384 debounce_is_down_delaying_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_is_down_delaying_handle_event() argument
407 debounce_disabled_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_disabled_handle_event() argument
432 debounce_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time) debounce_handle_event() argument
484 fallback_debounce_handle_state(struct fallback_dispatch *dispatch, uint64_t time) fallback_debounce_handle_state() argument
[all...]
H A Devdev-fallback.c37 uint64_t time, in fallback_keyboard_notify_key()
47 keyboard_notify_key(&device->base, time, key, state); in fallback_keyboard_notify_key()
53 uint64_t time) in fallback_lid_notify_toggle()
57 time, in fallback_lid_notify_toggle()
67 uint64_t time, in fallback_notify_physical_button()
71 evdev_pointer_notify_physical_button(device, time, button, state); in fallback_notify_physical_button()
96 uint64_t time) in post_button_scroll()
119 time); in post_button_scroll()
120 evdev_post_scroll(device, time, in post_button_scroll()
171 uint64_t time) in fallback_flush_relative_motion()
35 fallback_keyboard_notify_key(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int key, enum libinput_key_state state) fallback_keyboard_notify_key() argument
51 fallback_lid_notify_toggle(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_lid_notify_toggle() argument
65 fallback_notify_physical_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) fallback_notify_physical_button() argument
94 post_button_scroll(struct evdev_device *device, struct device_float_coords raw, uint64_t time) post_button_scroll() argument
169 fallback_flush_relative_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_relative_motion() argument
207 fallback_flush_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_absolute_motion() argument
224 fallback_flush_mt_down(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_down() argument
263 fallback_flush_mt_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_motion() argument
294 fallback_flush_mt_up(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_up() argument
322 fallback_flush_mt_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_cancel() argument
350 fallback_flush_st_down(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_down() argument
385 fallback_flush_st_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_motion() argument
407 fallback_flush_st_up(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_up() argument
432 fallback_flush_st_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_cancel() argument
457 fallback_process_touch_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int value) fallback_process_touch_button() argument
467 fallback_process_key(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_key() argument
524 fallback_process_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_touch() argument
626 fallback_lid_keyboard_event(uint64_t time, struct libinput_event *event, void *data) fallback_lid_keyboard_event() argument
702 fallback_process_switch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_switch() argument
742 fallback_reject_relative(struct evdev_device *device, const struct input_event *e, uint64_t time) fallback_reject_relative() argument
758 fallback_process_relative(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_relative() argument
780 fallback_process_absolute(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_absolute() argument
824 fallback_flush_mt_events(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_mt_events() argument
899 fallback_handle_state(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_handle_state() argument
965 fallback_interface_process(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, struct input_event *event, uint64_t time) fallback_interface_process() argument
1003 cancel_touches(struct fallback_dispatch *dispatch, struct evdev_device *device, const struct device_coord_rect *rect, uint64_t time) cancel_touches() argument
1037 release_pressed_keys(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) release_pressed_keys() argument
1096 uint64_t time; fallback_return_to_neutral_state() local
1141 uint64_t time = libinput_now(evdev_libinput_context(device)); fallback_interface_sync_initial_state() local
1173 fallback_interface_update_rect(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_update_rect() argument
1191 fallback_interface_toggle_touch(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, enum evdev_arbitration_state which, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_toggle_touch() argument
1312 fallback_tablet_mode_switch_event(uint64_t time, struct libinput_event *event, void *data) fallback_tablet_mode_switch_event() argument
[all...]
H A Devdev-wheel.c76 wheel_set_scroll_timer(struct fallback_dispatch *dispatch, uint64_t time) in wheel_set_scroll_timer() argument
79 time + WHEEL_SCROLL_TIMEOUT); in wheel_set_scroll_timer()
91 uint64_t time) in wheel_handle_event_on_state_none()
109 uint64_t time) in wheel_handle_event_on_state_accumulating_scroll()
114 wheel_set_scroll_timer(dispatch, time); in wheel_handle_event_on_state_accumulating_scroll()
131 uint64_t time) in wheel_handle_event_on_state_scrolling()
136 wheel_set_scroll_timer(dispatch, time); in wheel_handle_event_on_state_scrolling()
154 uint64_t time) in wheel_handle_event()
160 wheel_handle_event_on_state_none(dispatch, event, time); in wheel_handle_event()
165 time); in wheel_handle_event()
89 wheel_handle_event_on_state_none(struct fallback_dispatch *dispatch, enum wheel_event event, uint64_t time) wheel_handle_event_on_state_none() argument
107 wheel_handle_event_on_state_accumulating_scroll(struct fallback_dispatch *dispatch, enum wheel_event event, uint64_t time) wheel_handle_event_on_state_accumulating_scroll() argument
129 wheel_handle_event_on_state_scrolling(struct fallback_dispatch *dispatch, enum wheel_event event, uint64_t time) wheel_handle_event_on_state_scrolling() argument
152 wheel_handle_event(struct fallback_dispatch *dispatch, enum wheel_event event, uint64_t time) wheel_handle_event() argument
182 wheel_flush_scroll(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_flush_scroll() argument
273 wheel_handle_state_none(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_handle_state_none() argument
281 wheel_handle_state_accumulating_scroll(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_handle_state_accumulating_scroll() argument
295 wheel_handle_state_scrolling(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) wheel_handle_state_scrolling() argument
303 wheel_handle_direction_change(struct fallback_dispatch *dispatch, struct input_event *e, uint64_t time) wheel_handle_direction_change() argument
342 fallback_wheel_process_relative(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_wheel_process_relative() argument
383 fallback_wheel_handle_state(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_wheel_handle_state() argument
[all...]
H A Dfilter.h50 * @param time The time of the delta
62 void *data, uint64_t time);
76 * @param time The time of the delta
83 void *data, uint64_t time);
98 * @param time The time of the delta
105 void *data, uint64_t time);
109 void *data, uint64_t time);
[all...]
H A Devdev-mt-touchpad-edge-scroll.c92 uint64_t time) in tp_edge_scroll_set_timer()
104 time + DEFAULT_SCROLL_LOCK_TIMEOUT); in tp_edge_scroll_set_timer()
111 uint64_t time) in tp_edge_scroll_set_state()
124 tp_edge_scroll_set_timer(tp, t, time); in tp_edge_scroll_set_state()
138 uint64_t time) in tp_edge_scroll_handle_none()
146 time); in tp_edge_scroll_handle_none()
151 time); in tp_edge_scroll_handle_none()
170 uint64_t time) in tp_edge_scroll_handle_edge_new()
185 time); in tp_edge_scroll_handle_edge_new()
191 time); in tp_edge_scroll_handle_edge_new()
90 tp_edge_scroll_set_timer(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_edge_scroll_set_timer() argument
108 tp_edge_scroll_set_state(struct tp_dispatch *tp, struct tp_touch *t, enum tp_edge_scroll_touch_state state, uint64_t time) tp_edge_scroll_set_state() argument
135 tp_edge_scroll_handle_none(struct tp_dispatch *tp, struct tp_touch *t, enum scroll_event event, uint64_t time) tp_edge_scroll_handle_none() argument
167 tp_edge_scroll_handle_edge_new(struct tp_dispatch *tp, struct tp_touch *t, enum scroll_event event, uint64_t time) tp_edge_scroll_handle_edge_new() argument
204 tp_edge_scroll_handle_edge(struct tp_dispatch *tp, struct tp_touch *t, enum scroll_event event, uint64_t time) tp_edge_scroll_handle_edge() argument
240 tp_edge_scroll_handle_area(struct tp_dispatch *tp, struct tp_touch *t, enum scroll_event event, uint64_t time) tp_edge_scroll_handle_area() argument
265 tp_edge_scroll_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum scroll_event event, uint64_t time) tp_edge_scroll_handle_event() argument
364 tp_edge_scroll_handle_state(struct tp_dispatch *tp, uint64_t time) tp_edge_scroll_handle_state() argument
419 tp_edge_scroll_post_events(struct tp_dispatch *tp, uint64_t time) tp_edge_scroll_post_events() argument
507 tp_edge_scroll_stop_events(struct tp_dispatch *tp, uint64_t time) tp_edge_scroll_stop_events() argument
[all...]
H A Devdev-mt-touchpad-buttons.c131 uint64_t time) in tp_button_set_enter_timer()
134 time + DEFAULT_BUTTON_ENTER_TIMEOUT); in tp_button_set_enter_timer()
140 uint64_t time) in tp_button_set_leave_timer()
143 time + DEFAULT_BUTTON_LEAVE_TIMEOUT); in tp_button_set_leave_timer()
155 uint64_t time) in tp_button_set_state()
175 tp_button_set_enter_timer(tp, t, time); in tp_button_set_state()
178 tp_button_set_leave_timer(tp, t, time); in tp_button_set_state()
190 uint64_t time) in tp_button_none_handle_event()
196 tp_button_set_state(tp, t, BUTTON_STATE_BOTTOM, event, time); in tp_button_none_handle_event()
201 tp_button_set_state(tp, t, BUTTON_STATE_TOP_NEW, event, time); in tp_button_none_handle_event()
129 tp_button_set_enter_timer(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_button_set_enter_timer() argument
138 tp_button_set_leave_timer(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_button_set_leave_timer() argument
151 tp_button_set_state(struct tp_dispatch *tp, struct tp_touch *t, enum button_state new_state, enum button_event event, uint64_t time) tp_button_set_state() argument
187 tp_button_none_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_none_handle_event() argument
217 tp_button_area_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_area_handle_event() argument
272 tp_button_bottom_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_bottom_handle_event() argument
313 tp_button_top_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_top_handle_event() argument
348 tp_button_top_new_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_top_new_handle_event() argument
387 tp_button_top_to_ignore_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_top_to_ignore_handle_event() argument
427 tp_button_ignore_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_ignore_handle_event() argument
455 tp_button_handle_event(struct tp_dispatch *tp, struct tp_touch *t, enum button_event event, uint64_t time) tp_button_handle_event() argument
532 tp_button_handle_state(struct tp_dispatch *tp, uint64_t time) tp_button_handle_state() argument
591 tp_process_button(struct tp_dispatch *tp, const struct input_event *e, uint64_t time) tp_process_button() argument
615 tp_release_all_buttons(struct tp_dispatch *tp, uint64_t time) tp_release_all_buttons() argument
1024 tp_post_physical_buttons(struct tp_dispatch *tp, uint64_t time) tp_post_physical_buttons() argument
1165 tp_notify_clickpadbutton(struct tp_dispatch *tp, uint64_t time, uint32_t button, uint32_t is_topbutton, enum libinput_button_state state) tp_notify_clickpadbutton() argument
1218 tp_post_clickpadbutton_buttons(struct tp_dispatch *tp, uint64_t time) tp_post_clickpadbutton_buttons() argument
1326 tp_post_button_events(struct tp_dispatch *tp, uint64_t time) tp_post_button_events() argument
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtime_test.cpp16 * @tc.desc: Assess the accuracy of the clock function by comparing the CPU time measurements before and after a known
31 * @tc.desc: Verify the correctness and behavior of the time function by comparing the retrieved system time values,
33 * time(nullptr) in obtaining the current system time.
39 time_t p1 = time(&time1); in HWTEST_F()
46 time_t p2 = time(&time2); in HWTEST_F()
54 EXPECT_LE(time(nullptr), p2); in HWTEST_F()
55 EXPECT_GE(1, static_cast<int>(time(nullptr) - time2)); in HWTEST_F()
62 * date and time input
67 struct tm time; HWTEST_F() local
96 struct tm time; HWTEST_F() local
128 struct tm time; HWTEST_F() local
211 struct tm* time = gmtime(&tim); HWTEST_F() local
250 struct tm time; HWTEST_F() local
322 struct tm* time = gmtime_r(&tim, &tm); HWTEST_F() local
[all...]
/third_party/python/Modules/_decimal/tests/
H A Dbench.py9 import time namespace
79 start = time.time()
87 print("time: %fs\n" % (time.time()-start))
106 start_calc = time.time()
108 end_calc = time.time()
[all...]
/third_party/skia/third_party/externals/oboe/src/common/
H A DAudioClock.h30 struct timespec time; in getNanoseconds() local
31 int result = clock_gettime(clockId, &time); in getNanoseconds()
35 return (time.tv_sec * kNanosPerSecond) + time.tv_nsec; in getNanoseconds()
39 * Sleep until the specified time.
41 * @param nanoTime time to wake up
47 struct timespec time; in sleepUntilNanoTime() local
48 time.tv_sec = nanoTime / kNanosPerSecond; in sleepUntilNanoTime()
49 time.tv_nsec = nanoTime - (time in sleepUntilNanoTime()
64 struct timespec time; sleepForNanos() local
[all...]
/third_party/lame/ACM/ADbg/
H A DADbg.cpp72 SYSTEMTIME time; in _OutPut() local
73 GetSystemTime(&time); in _OutPut()
76 time.wYear, in _OutPut()
77 time.wMonth, in _OutPut()
78 time.wDay, in _OutPut()
79 time.wHour, in _OutPut()
80 time.wMinute, in _OutPut()
81 time.wSecond, in _OutPut()
82 time.wMilliseconds, in _OutPut()
86 time in _OutPut()
[all...]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
H A DEnvelopeADSR.java51 public void setAttackTime(float time) { in setAttackTime() argument
52 if (time < MIN_TIME) in setAttackTime()
53 time = MIN_TIME; in setAttackTime()
54 mAttackRate = 1.0f / (mSamplerate * time); in setAttackTime()
57 public void setDecayTime(float time) { in setDecayTime() argument
58 if (time < MIN_TIME) in setDecayTime()
59 time = MIN_TIME; in setDecayTime()
60 mDecayRate = 1.0f / (mSamplerate * time); in setDecayTime()
69 public void setReleaseTime(float time) { in setReleaseTime() argument
70 if (time < MIN_TIM in setReleaseTime()
[all...]
/third_party/node/test/parallel/
H A Dtest-console.js51 ['Label \'default\' already exists for console.time()'],
52 ['Label \'test\' already exists for console.time()'],
60 console.time('label');
64 // on console.time(), console.countReset(), console.timeLog(), console.timeEnd()
69 console.time();
70 console.time();
76 assert.throws(() => console.time(Symbol('test')),
148 // Test console.time() and console.timeEnd() output
149 console.time('label');
153 console.time('__proto_
[all...]
/third_party/ltp/testcases/network/nfsv4/acl/
H A Dtest_acl.py10 import time namespace
48 ''' Measuring time to add an ACE to a list regarding the number of ACE already in the list'''
55 t0=time.time()
60 t1=time.time()
73 t0=time.time()
78 t1=time.time()
[all...]

Completed in 16 milliseconds

12345678910>>...137