Home
last modified time | relevance | path

Searched refs:tp (Results 1 - 25 of 395) sorted by relevance

12345678910>>...16

/third_party/libinput/src/
H A Devdev-mt-touchpad-gestures.c93 tp_get_touches_delta(struct tp_dispatch *tp, bool average) in tp_get_touches_delta() argument
99 for (i = 0; i < tp->num_slots; i++) { in tp_get_touches_delta()
100 t = &tp->touches[i]; in tp_get_touches_delta()
102 if (!tp_touch_active_for_gesture(tp, t)) in tp_get_touches_delta()
127 tp_gesture_init_scroll(struct tp_dispatch *tp) in tp_gesture_init_scroll() argument
130 tp->scroll.active.h = false; in tp_gesture_init_scroll()
131 tp->scroll.active.v = false; in tp_gesture_init_scroll()
132 tp->scroll.duration.h = 0; in tp_gesture_init_scroll()
133 tp->scroll.duration.v = 0; in tp_gesture_init_scroll()
134 tp in tp_gesture_init_scroll()
139 tp_get_combined_touches_delta(struct tp_dispatch *tp) tp_get_combined_touches_delta() argument
145 tp_get_average_touches_delta(struct tp_dispatch *tp) tp_get_average_touches_delta() argument
151 tp_gesture_start(struct tp_dispatch *tp, uint64_t time) tp_gesture_start() argument
193 tp_get_raw_pointer_motion(struct tp_dispatch *tp) tp_get_raw_pointer_motion() argument
207 tp_has_pending_pointer_motion(struct tp_dispatch *tp, uint64_t time) tp_has_pending_pointer_motion() argument
224 tp_gesture_post_pointer_motion(struct tp_dispatch *tp, uint64_t time) tp_gesture_post_pointer_motion() argument
244 tp_gesture_get_active_touches(const struct tp_dispatch *tp, struct tp_touch **touches, unsigned int count) tp_gesture_get_active_touches() argument
291 tp_gesture_mm_moved(struct tp_dispatch *tp, struct tp_touch *t) tp_gesture_mm_moved() argument
302 tp_gesture_get_direction(struct tp_dispatch *tp, struct tp_touch *touch) tp_gesture_get_direction() argument
314 tp_gesture_get_pinch_info(struct tp_dispatch *tp, double *distance, double *angle, struct device_float_coords *center) tp_gesture_get_pinch_info() argument
333 tp_gesture_init_pinch(struct tp_dispatch *tp) tp_gesture_init_pinch() argument
343 tp_gesture_set_scroll_buildup(struct tp_dispatch *tp) tp_gesture_set_scroll_buildup() argument
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
486 log_gesture_bug(struct tp_dispatch *tp, enum gesture_event event) log_gesture_bug() argument
495 tp_gesture_is_quick_hold(struct tp_dispatch *tp) tp_gesture_is_quick_hold() argument
506 tp_gesture_use_hold_timer(struct tp_dispatch *tp) tp_gesture_use_hold_timer() 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
845 struct tp_dispatch *tp = data; tp_gesture_hold_timeout() local
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
1025 tp_gesture_is_pinch(struct tp_dispatch *tp) tp_gesture_is_pinch() 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
1279 tp_gesture_thumb_moved(struct tp_dispatch *tp) tp_gesture_thumb_moved() 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
1414 struct tp_dispatch *tp = data; tp_gesture_finger_count_switch_timeout() local
1425 tp_gesture_handle_state(struct tp_dispatch *tp, uint64_t time) tp_gesture_handle_state() argument
1466 tp_gesture_are_gestures_enabled(struct tp_dispatch *tp) tp_gesture_are_gestures_enabled() argument
1476 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_gesture_set_hold_enabled() local
1490 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_gesture_is_hold_enabled() local
1500 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_gesture_get_hold_default() local
1508 tp_init_gesture(struct tp_dispatch *tp) tp_init_gesture() argument
1545 tp_remove_gesture(struct tp_dispatch *tp) tp_remove_gesture() argument
[all...]
H A Devdev-mt-touchpad-tap.c112 log_tap_bug(struct tp_dispatch *tp, struct tp_touch *t, enum tap_event event) in log_tap_bug() argument
114 evdev_log_bug_libinput(tp->device, in log_tap_bug()
118 tap_state_to_str(tp->tap.state)); in log_tap_bug()
123 tp_tap_notify(struct tp_dispatch *tp, in tp_tap_notify() argument
134 assert(tp->tap.map < ARRAY_LENGTH(button_map)); in tp_tap_notify()
139 button = button_map[tp->tap.map][nfingers - 1]; in tp_tap_notify()
142 tp->tap.buttons_pressed |= bit(nfingers); in tp_tap_notify()
144 tp->tap.buttons_pressed &= ~bit(nfingers); in tp_tap_notify()
146 evdev_pointer_notify_button(tp->device, in tp_tap_notify()
153 tp_tap_set_timer(struct tp_dispatch *tp, uint64_ argument
159 tp_tap_set_drag_timer(struct tp_dispatch *tp, uint64_t time, int nfingers_tapped) tp_tap_set_drag_timer() argument
169 tp_tap_set_draglock_timer(struct tp_dispatch *tp, uint64_t time) tp_tap_set_draglock_timer() argument
176 tp_tap_clear_timer(struct tp_dispatch *tp) tp_tap_clear_timer() argument
182 tp_tap_move_to_dead(struct tp_dispatch *tp, struct tp_touch *t) tp_tap_move_to_dead() 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
1162 tp_tap_exceeds_motion_threshold(struct tp_dispatch *tp, struct tp_touch *t) tp_tap_exceeds_motion_threshold() argument
1193 tp_tap_enabled(struct tp_dispatch *tp) tp_tap_enabled() argument
1199 tp_tap_handle_state(struct tp_dispatch *tp, uint64_t time) tp_tap_handle_state() argument
1324 tp_tap_update_map(struct tp_dispatch *tp) tp_tap_update_map() argument
1334 tp_tap_post_process_state(struct tp_dispatch *tp) tp_tap_post_process_state() argument
1342 struct tp_dispatch *tp = data; tp_tap_handle_timeout() local
1357 tp_tap_enabled_update(struct tp_dispatch *tp, bool suspended, bool enabled, uint64_t time) tp_tap_enabled_update() argument
1390 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_count() local
1400 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_set_enabled() local
1413 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_is_enabled() local
1454 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_set_map() local
1467 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_get_map() local
1483 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_set_drag_enabled() local
1494 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_get_drag_enabled() local
1518 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_set_draglock_enabled() local
1529 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_tap_config_get_draglock_enabled() local
1549 tp_init_tap(struct tp_dispatch *tp) tp_init_tap() argument
1586 tp_remove_tap(struct tp_dispatch *tp) tp_remove_tap() argument
1592 tp_release_all_taps(struct tp_dispatch *tp, uint64_t now) tp_release_all_taps() 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
1631 tp_tap_dragging(const struct tp_dispatch *tp) tp_tap_dragging() argument
1653 tp_tap_dragging_or_double_tapping(const struct tp_dispatch *tp) tp_tap_dragging_or_double_tapping() argument
[all...]
H A Devdev-mt-touchpad.c62 tp_filter_motion(struct tp_dispatch *tp, in tp_filter_motion() argument
73 raw = tp_scale_to_xaxis(tp, *unaccelerated); in tp_filter_motion()
75 return filter_dispatch(tp->device->pointer.filter, in tp_filter_motion()
76 &raw, tp, time); in tp_filter_motion()
80 tp_filter_motion_unaccelerated(struct tp_dispatch *tp, in tp_filter_motion_unaccelerated() argument
91 raw = tp_scale_to_xaxis(tp, *unaccelerated); in tp_filter_motion_unaccelerated()
93 return filter_dispatch_constant(tp->device->pointer.filter, in tp_filter_motion_unaccelerated()
94 &raw, tp, time); in tp_filter_motion_unaccelerated()
98 tp_filter_scroll(struct tp_dispatch *tp, in tp_filter_scroll() argument
109 raw = tp_scale_to_xaxis(tp, *unaccelerate in tp_filter_scroll()
116 tp_calculate_motion_speed(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_calculate_motion_speed() argument
184 tp_detect_wobbling(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_detect_wobbling() argument
232 tp_motion_hysteresis(struct tp_dispatch *tp, struct tp_touch *t) tp_motion_hysteresis() argument
253 tp_current_touch(struct tp_dispatch *tp) tp_current_touch() argument
259 tp_get_touch(struct tp_dispatch *tp, unsigned int slot) tp_get_touch() argument
266 tp_fake_finger_count(struct tp_dispatch *tp) tp_fake_finger_count() argument
286 tp_fake_finger_is_touching(struct tp_dispatch *tp) tp_fake_finger_is_touching() argument
292 tp_fake_finger_set(struct tp_dispatch *tp, unsigned int code, bool is_press) tp_fake_finger_set() argument
333 tp_new_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_new_touch() argument
369 tp_begin_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_begin_touch() argument
393 tp_maybe_end_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_maybe_end_touch() argument
428 tp_recover_ended_touch(struct tp_dispatch *tp, struct tp_touch *t) tp_recover_ended_touch() argument
441 tp_end_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_end_touch() argument
464 tp_end_sequence(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_end_sequence() argument
471 tp_stop_actions(struct tp_dispatch *tp, uint64_t time) tp_stop_actions() argument
496 rotated(struct tp_dispatch *tp, unsigned int code, int value) rotated() argument
519 tp_process_absolute(struct tp_dispatch *tp, const struct input_event *e, uint64_t time) tp_process_absolute() argument
579 tp_process_absolute_st(struct tp_dispatch *tp, const struct input_event *e, uint64_t time) tp_process_absolute_st() argument
611 tp_restore_synaptics_touches(struct tp_dispatch *tp, uint64_t time) tp_restore_synaptics_touches() argument
646 tp_process_fake_touches(struct tp_dispatch *tp, uint64_t time) tp_process_fake_touches() argument
712 tp_process_trackpoint_button(struct tp_dispatch *tp, const struct input_event *e, uint64_t time) tp_process_trackpoint_button() argument
758 tp_process_key(struct tp_dispatch *tp, const struct input_event *e, uint64_t time) tp_process_key() argument
789 tp_process_msc(struct tp_dispatch *tp, const struct input_event *e, uint64_t time) tp_process_msc() argument
801 tp_unpin_finger(const struct tp_dispatch *tp, struct tp_touch *t) tp_unpin_finger() argument
822 tp_pin_fingers(struct tp_dispatch *tp) tp_pin_fingers() argument
833 tp_touch_active(const struct tp_dispatch *tp, const struct tp_touch *t) tp_touch_active() argument
844 tp_touch_active_for_gesture(const struct tp_dispatch *tp, const struct tp_touch *t) tp_touch_active_for_gesture() argument
855 tp_palm_was_in_side_edge(const struct tp_dispatch *tp, const struct tp_touch *t) tp_palm_was_in_side_edge() argument
862 tp_palm_was_in_top_edge(const struct tp_dispatch *tp, const struct tp_touch *t) tp_palm_was_in_top_edge() argument
868 tp_palm_in_side_edge(const struct tp_dispatch *tp, const struct tp_touch *t) tp_palm_in_side_edge() argument
875 tp_palm_in_top_edge(const struct tp_dispatch *tp, const struct tp_touch *t) tp_palm_in_top_edge() argument
881 tp_palm_in_edge(const struct tp_dispatch *tp, const struct tp_touch *t) tp_palm_in_edge() argument
887 tp_palm_detect_dwt_triggered(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_dwt_triggered() argument
921 tp_palm_detect_trackpoint_triggered(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_trackpoint_triggered() argument
951 tp_palm_detect_tool_triggered(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_tool_triggered() argument
973 tp_palm_detect_move_out_of_edge(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_move_out_of_edge() argument
1000 tp_palm_detect_multifinger(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_multifinger() argument
1029 tp_palm_detect_touch_size_triggered(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_touch_size_triggered() argument
1055 tp_palm_detect_edge(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_edge() argument
1099 tp_palm_detect_pressure_triggered(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_pressure_triggered() argument
1117 tp_palm_detect_arbitration_triggered(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect_arbitration_triggered() argument
1130 tp_palm_detect(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_palm_detect() argument
1206 tp_unhover_pressure(struct tp_dispatch *tp, uint64_t time) tp_unhover_pressure() argument
1295 tp_unhover_size(struct tp_dispatch *tp, uint64_t time) tp_unhover_size() argument
1336 tp_unhover_fake_touches(struct tp_dispatch *tp, uint64_t time) tp_unhover_fake_touches() argument
1393 tp_unhover_touches(struct tp_dispatch *tp, uint64_t time) tp_unhover_touches() argument
1405 tp_position_fake_touches(struct tp_dispatch *tp) tp_position_fake_touches() argument
1449 tp_need_motion_history_reset(struct tp_dispatch *tp) tp_need_motion_history_reset() argument
1483 tp_detect_jumps(const struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_detect_jumps() argument
1576 tp_motion_history_fix_last(struct tp_dispatch *tp, struct tp_touch *t, unsigned int jumping_interval, unsigned int normal_interval, uint64_t time) tp_motion_history_fix_last() argument
1601 tp_process_msc_timestamp(struct tp_dispatch *tp, uint64_t time) tp_process_msc_timestamp() argument
1683 tp_pre_process_state(struct tp_dispatch *tp, uint64_t time) tp_pre_process_state() argument
1706 tp_process_state(struct tp_dispatch *tp, uint64_t time) tp_process_state() argument
1819 tp_post_process_state(struct tp_dispatch *tp, uint64_t time) tp_post_process_state() argument
1852 tp_post_events(struct tp_dispatch *tp, uint64_t time) tp_post_events() argument
1887 struct tp_dispatch *tp = (struct tp_dispatch *)device->dispatch; tp_apply_rotation() local
1903 tp_handle_state(struct tp_dispatch *tp, uint64_t time) tp_handle_state() argument
1917 tp_debug_touch_state(struct tp_dispatch *tp, struct evdev_device *device) tp_debug_touch_state() argument
1945 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_interface_process() local
1970 tp_remove_sendevents(struct tp_dispatch *tp) tp_remove_sendevents() argument
1998 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_interface_remove() local
2018 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_interface_destroy() local
2031 tp_release_fake_touches(struct tp_dispatch *tp) tp_release_fake_touches() argument
2037 tp_clear_state(struct tp_dispatch *tp) tp_clear_state() argument
2069 tp_suspend(struct tp_dispatch *tp, struct evdev_device *device, enum suspend_trigger trigger) tp_suspend() argument
2101 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_interface_suspend() local
2107 tp_sync_touch(struct tp_dispatch *tp, struct evdev_device *device, struct tp_touch *t, int slot) tp_sync_touch() argument
2152 tp_sync_slots(struct tp_dispatch *tp, struct evdev_device *device) tp_sync_slots() argument
2163 tp_resume(struct tp_dispatch *tp, struct evdev_device *device, enum suspend_trigger trigger) tp_resume() argument
2187 struct tp_dispatch *tp = data; tp_trackpoint_timeout() local
2199 struct tp_dispatch *tp = data; tp_trackpoint_event() local
2231 struct tp_dispatch *tp = data; tp_keyboard_timeout() local
2295 struct tp_dispatch *tp = data; tp_keyboard_event() local
2378 struct tp_dispatch *tp = (struct tp_dispatch*)touchpad->dispatch; tp_dwt_pair_keyboard() local
2413 struct tp_dispatch *tp = (struct tp_dispatch*)touchpad->dispatch; tp_pair_trackpoint() local
2438 struct tp_dispatch *tp = data; tp_lid_switch_event() local
2465 struct tp_dispatch *tp = data; tp_tablet_mode_switch_event() local
2492 struct tp_dispatch *tp = (struct tp_dispatch*)touchpad->dispatch; tp_pair_lid_switch() local
2517 struct tp_dispatch *tp = (struct tp_dispatch*)touchpad->dispatch; tp_pair_tablet_mode_switch() local
2552 struct tp_dispatch *tp = (struct tp_dispatch *)device->dispatch; tp_change_rotation() local
2580 struct tp_dispatch *tp = (struct tp_dispatch*)touchpad->dispatch; tp_pair_tablet() local
2610 struct tp_dispatch *tp = (struct tp_dispatch*)device->dispatch; tp_interface_device_added() local
2630 struct tp_dispatch *tp = (struct tp_dispatch*)device->dispatch; tp_interface_device_removed() local
2776 struct tp_dispatch *tp = data; tp_arbitration_timeout() local
2789 struct tp_dispatch *tp = tp_dispatch(dispatch); tp_interface_toggle_touch() local
2821 struct tp_dispatch *tp = tp_dispatch(dispatch); touchpad_left_handed_toggled() local
2856 tp_init_touch(struct tp_dispatch *tp, struct tp_touch *t, unsigned int index) tp_init_touch() argument
2876 tp_init_slots(struct tp_dispatch *tp, struct evdev_device *device) tp_init_slots() argument
2966 tp_init_accel(struct tp_dispatch *tp, enum libinput_config_accel_profile which) tp_init_accel() argument
3035 struct tp_dispatch *tp = tp_dispatch(device->dispatch); tp_accel_config_set_profile() local
3058 tp_scroll_get_methods(struct tp_dispatch *tp) tp_scroll_get_methods() argument
3079 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_scroll_config_scroll_method_get_methods() local
3089 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_scroll_config_scroll_method_set_method() local
3107 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_scroll_config_scroll_method_get_method() local
3113 tp_scroll_get_default_method(struct tp_dispatch *tp) tp_scroll_get_default_method() argument
3136 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_scroll_config_scroll_method_get_default_method() local
3151 tp_init_scroll(struct tp_dispatch *tp, struct evdev_device *device) tp_init_scroll() argument
3183 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_dwt_config_set() local
3202 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_dwt_config_get() local
3210 tp_dwt_default_enabled(struct tp_dispatch *tp) tp_dwt_default_enabled() argument
3219 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_dwt_config_get_default() local
3237 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_dwtp_config_set() local
3256 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_dwtp_config_get() local
3264 tp_dwtp_default_enabled(struct tp_dispatch *tp) tp_dwtp_default_enabled() argument
3273 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_dwtp_config_get_default() local
3311 tp_init_dwt(struct tp_dispatch *tp, struct evdev_device *device) tp_init_dwt() argument
3327 tp_init_dwtp(struct tp_dispatch *tp, struct evdev_device *device) tp_init_dwtp() argument
3343 tp_init_palmdetect_edge(struct tp_dispatch *tp, struct evdev_device *device) tp_init_palmdetect_edge() argument
3383 tp_read_palm_pressure_prop(struct tp_dispatch *tp, const struct evdev_device *device) tp_read_palm_pressure_prop() argument
3403 tp_init_palmdetect_pressure(struct tp_dispatch *tp, struct evdev_device *device) tp_init_palmdetect_pressure() argument
3422 tp_init_palmdetect_size(struct tp_dispatch *tp, struct evdev_device *device) tp_init_palmdetect_size() argument
3444 tp_init_palmdetect_arbitration(struct tp_dispatch *tp, struct evdev_device *device) tp_init_palmdetect_arbitration() argument
3461 tp_init_palmdetect(struct tp_dispatch *tp, struct evdev_device *device) tp_init_palmdetect() argument
3491 tp_init_sendevents(struct tp_dispatch *tp, struct evdev_device *device) tp_init_sendevents() argument
3516 tp_pass_sanity_check(struct tp_dispatch *tp, struct evdev_device *device) tp_pass_sanity_check() argument
3539 tp_init_default_resolution(struct tp_dispatch *tp, struct evdev_device *device) tp_init_default_resolution() argument
3573 tp_init_hysteresis(struct tp_dispatch *tp) tp_init_hysteresis() argument
3600 tp_init_pressure(struct tp_dispatch *tp, struct evdev_device *device) tp_init_pressure() argument
3659 tp_init_touch_size(struct tp_dispatch *tp, struct evdev_device *device) tp_init_touch_size() argument
3711 tp_init_pressurepad(struct tp_dispatch *tp, struct evdev_device *device) tp_init_pressurepad() argument
3732 tp_init(struct tp_dispatch *tp, struct evdev_device *device) tp_init() argument
3807 tp_suspend_conditional(struct tp_dispatch *tp, struct evdev_device *device) tp_suspend_conditional() argument
3826 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_sendevents_set_mode() local
3876 struct tp_dispatch *tp = (struct tp_dispatch *)device->dispatch; tp_change_to_left_handed() local
3892 tp_requires_rotation(struct tp_dispatch *tp, struct evdev_device *device) tp_requires_rotation() argument
3951 tp_init_left_handed(struct tp_dispatch *tp, struct evdev_device *device) tp_init_left_handed() argument
3968 struct tp_dispatch *tp; evdev_mt_touchpad_create() local
[all...]
H A Devdev-mt-touchpad-thumb.c50 tp_thumb_set_state(struct tp_dispatch *tp, in tp_thumb_set_state() argument
56 if (tp->thumb.state == state && tp->thumb.index == index) in tp_thumb_set_state()
59 evdev_log_debug(tp->device, in tp_thumb_set_state()
62 thumb_state_to_str(tp->thumb.state), in tp_thumb_set_state()
65 tp->thumb.state = state; in tp_thumb_set_state()
66 tp->thumb.index = index; in tp_thumb_set_state()
70 tp_thumb_reset(struct tp_dispatch *tp) in tp_thumb_reset() argument
72 tp->thumb.state = THUMB_STATE_FINGER; in tp_thumb_reset()
73 tp in tp_thumb_reset()
78 tp_thumb_lift(struct tp_dispatch *tp) tp_thumb_lift() argument
85 tp_thumb_in_exclusion_area(const struct tp_dispatch *tp, const struct tp_touch *t) tp_thumb_in_exclusion_area() argument
94 tp_thumb_detect_pressure_size(const struct tp_dispatch *tp, const struct tp_touch *t) tp_thumb_detect_pressure_size() argument
115 tp_thumb_needs_jail(const struct tp_dispatch *tp, const struct tp_touch *t) tp_thumb_needs_jail() argument
133 tp_thumb_ignored(const struct tp_dispatch *tp, const struct tp_touch *t) tp_thumb_ignored() argument
145 tp_thumb_ignored_for_tap(const struct tp_dispatch *tp, const struct tp_touch *t) tp_thumb_ignored_for_tap() argument
156 tp_thumb_ignored_for_gesture(const struct tp_dispatch *tp, const struct tp_touch *t) tp_thumb_ignored_for_gesture() argument
168 tp_thumb_suppress(struct tp_dispatch *tp, struct tp_touch *t) tp_thumb_suppress() argument
182 tp_thumb_pinch(struct tp_dispatch *tp, struct tp_touch *t) tp_thumb_pinch() argument
193 tp_thumb_revive(struct tp_dispatch *tp, struct tp_touch *t) tp_thumb_revive() argument
207 tp_thumb_update_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) tp_thumb_update_touch() argument
270 tp_thumb_update_multifinger(struct tp_dispatch *tp) tp_thumb_update_multifinger() argument
384 tp_init_thumb(struct tp_dispatch *tp) tp_init_thumb() argument
452 tp_thumb_get_touch(struct tp_dispatch *tp) tp_thumb_get_touch() argument
[all...]
H A Devdev-mt-touchpad-buttons.c81 is_inside_bottom_button_area(const struct tp_dispatch *tp, in is_inside_bottom_button_area() argument
84 return t->point.y >= tp->buttons.bottom_area.top_edge; in is_inside_bottom_button_area()
88 is_inside_bottom_right_area(const struct tp_dispatch *tp, in is_inside_bottom_right_area() argument
91 return is_inside_bottom_button_area(tp, t) && in is_inside_bottom_right_area()
92 t->point.x > tp->buttons.bottom_area.rightbutton_left_edge; in is_inside_bottom_right_area()
96 is_inside_bottom_middle_area(const struct tp_dispatch *tp, in is_inside_bottom_middle_area() argument
99 return is_inside_bottom_button_area(tp, t) && in is_inside_bottom_middle_area()
100 !is_inside_bottom_right_area(tp, t) && in is_inside_bottom_middle_area()
101 t->point.x > tp->buttons.bottom_area.middlebutton_left_edge; in is_inside_bottom_middle_area()
105 is_inside_top_button_area(const struct tp_dispatch *tp, in is_inside_top_button_area() argument
112 is_inside_top_right_area(const struct tp_dispatch *tp, const struct tp_touch *t) is_inside_top_right_area() argument
120 is_inside_top_middle_area(const struct tp_dispatch *tp, const struct tp_touch *t) is_inside_top_middle_area() argument
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
247 tp_button_release_other_bottom_touches(struct tp_dispatch *tp, uint64_t other_start_time) tp_button_release_other_bottom_touches() 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
496 tp_button_check_for_movement(struct tp_dispatch *tp, struct tp_touch *t) tp_button_check_for_movement() 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
625 tp_init_softbuttons(struct tp_dispatch *tp, struct evdev_device *device) tp_init_softbuttons() argument
685 tp_init_top_softbuttons(struct tp_dispatch *tp, struct evdev_device *device, double topbutton_size_mult) tp_init_top_softbuttons() argument
720 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_button_config_click_get_methods() local
736 tp_switch_click_method(struct tp_dispatch *tp) tp_switch_click_method() argument
765 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_button_config_click_set_method() local
777 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_button_config_click_get_method() local
783 tp_click_get_default_method(struct tp_dispatch *tp) tp_click_get_default_method() argument
808 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; tp_button_config_click_get_default_method() local
816 struct tp_dispatch *tp = (struct tp_dispatch*)device->dispatch; tp_clickpad_middlebutton_apply_config() local
873 tp_init_clickpad_middlebutton_emulation(struct tp_dispatch *tp, struct evdev_device *device) tp_init_clickpad_middlebutton_emulation() argument
888 tp_init_middlebutton_emulation(struct tp_dispatch *tp, struct evdev_device *device) tp_init_middlebutton_emulation() argument
922 tp_guess_clickpad(const struct tp_dispatch *tp, struct evdev_device *device) tp_guess_clickpad() argument
962 tp_init_buttons(struct tp_dispatch *tp, struct evdev_device *device) tp_init_buttons() argument
1013 tp_remove_buttons(struct tp_dispatch *tp) tp_remove_buttons() argument
1024 tp_post_physical_buttons(struct tp_dispatch *tp, uint64_t time) tp_post_physical_buttons() argument
1059 tp_clickfinger_within_distance(struct tp_dispatch *tp, struct tp_touch *t1, struct tp_touch *t2) tp_clickfinger_within_distance() argument
1114 tp_clickfinger_set_button(struct tp_dispatch *tp) tp_clickfinger_set_button() 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
1335 tp_button_touch_active(const struct tp_dispatch *tp, const struct tp_touch *t) tp_button_touch_active() argument
1342 tp_button_is_inside_softbutton_area(const struct tp_dispatch *tp, const struct tp_touch *t) tp_button_is_inside_softbutton_area() argument
[all...]
H A Devdev-mt-touchpad-edge-scroll.c73 tp_touch_get_edge(const struct tp_dispatch *tp, const struct tp_touch *t) in tp_touch_get_edge() argument
77 if (tp->scroll.method != LIBINPUT_CONFIG_SCROLL_EDGE) in tp_touch_get_edge()
80 if (t->point.x > tp->scroll.right_edge) in tp_touch_get_edge()
83 if (t->point.y > tp->scroll.bottom_edge) in tp_touch_get_edge()
90 tp_edge_scroll_set_timer(struct tp_dispatch *tp, in tp_edge_scroll_set_timer() argument
99 if (tp->buttons.click_method == in tp_edge_scroll_set_timer()
108 tp_edge_scroll_set_state(struct tp_dispatch *tp, in tp_edge_scroll_set_state() argument
122 t->scroll.edge = tp_touch_get_edge(tp, t); in tp_edge_scroll_set_state()
124 tp_edge_scroll_set_timer(tp, t, time); in tp_edge_scroll_set_state()
135 tp_edge_scroll_handle_none(struct tp_dispatch *tp, in 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
305 tp_edge_scroll_init(struct tp_dispatch *tp, struct evdev_device *device) tp_edge_scroll_init() argument
353 tp_remove_edge_scroll(struct tp_dispatch *tp) tp_remove_edge_scroll() 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
529 tp_edge_scroll_touch_active(const struct tp_dispatch *tp, const struct tp_touch *t) tp_edge_scroll_touch_active() argument
[all...]
H A Devdev-mt-touchpad.h185 struct tp_dispatch *tp; member
552 tp_libinput_context(const struct tp_dispatch *tp) in tp_libinput_context() argument
554 return evdev_libinput_context(tp->device); in tp_libinput_context()
558 tp_normalize_delta(const struct tp_dispatch *tp, in tp_normalize_delta() argument
563 normalized.x = delta.x * tp->accel.x_scale_coeff; in tp_normalize_delta()
564 normalized.y = delta.y * tp->accel.y_scale_coeff; in tp_normalize_delta()
570 tp_phys_delta(const struct tp_dispatch *tp, in tp_phys_delta() argument
575 mm.x = delta.x / tp->device->abs.absinfo_x->resolution; in tp_phys_delta()
576 mm.y = delta.y / tp->device->abs.absinfo_y->resolution; in tp_phys_delta()
586 tp_scale_to_xaxis(const struct tp_dispatch *tp, in tp_scale_to_xaxis() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \
39 time_zone::absolute_lookup al = tz.lookup(tp); \
58 // and trailing characters. For example: TestFormatSpecifier(tp, "%a", "Thu").
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detai in TEST()
132 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); TEST() local
157 auto tp = chrono::system_clock::from_time_t(0); TEST() local
199 auto tp = chrono::system_clock::from_time_t(0); TEST() local
248 auto tp = chrono::system_clock::from_time_t(0); TEST() local
269 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); TEST() local
331 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); TEST() local
399 time_point<chrono::nanoseconds> tp = chrono::system_clock::from_time_t(0); TEST() local
432 const auto tp = chrono::system_clock::from_time_t(0); TEST() local
513 const auto tp = chrono::system_clock::from_time_t(0); TEST() local
598 auto tp = convert(civil_second(-999, 11, 27, 0, 0, 0), utc); TEST() local
630 time_point<chrono::nanoseconds> tp = TEST() local
677 auto tp = convert(civil_second(1977, 6, 28, 9, 8, 7), tz); TEST() local
685 auto tp = convert(civil_second(2017, 1, 1, 0, 0, 0), utc); TEST() local
759 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
777 time_point<chrono::nanoseconds> tp = TEST() local
796 time_point<chrono::nanoseconds> tp; TEST() local
821 time_point<chrono::nanoseconds> tp; TEST() local
845 auto tp = chrono::system_clock::from_time_t(0); TEST() local
888 auto tp = chrono::system_clock::from_time_t(0); TEST() local
1001 auto tp = chrono::system_clock::from_time_t(0); TEST() local
1141 time_point<chrono::nanoseconds> tp = unix_epoch; TEST() local
1176 time_point<chrono::nanoseconds> tp = unix_epoch; TEST() local
1194 time_point<chrono::nanoseconds> tp; TEST() local
1223 time_point<chrono::nanoseconds> tp = unix_epoch - chrono::seconds(1); TEST() local
1253 time_point<chrono::nanoseconds> tp = unix_epoch; TEST() local
1270 time_point<chrono::nanoseconds> tp; TEST() local
1296 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
1327 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
1375 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
1406 time_point<chrono::nanoseconds> tp; TEST() local
1428 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
1471 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
1493 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
[all...]
H A Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \
645 time_zone::absolute_lookup al = tz.lookup(tp); \
851 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
852 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
853 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
858 const auto tp = in TEST() local
860 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
861 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
867 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
868 ExpectTime(tp, t in TEST()
876 const auto tp = chrono::system_clock::from_time_t(0); TEST() local
884 const auto tp = chrono::system_clock::from_time_t(45); TEST() local
891 const auto tp = chrono::system_clock::from_time_t(1380855729); TEST() local
898 const auto tp = chrono::system_clock::from_time_t(90); TEST() local
935 const auto tp = convert(civil_second(2009, 2, 13, 18, 31, 30), tz); TEST() local
952 time_point<absl::time_internal::cctz::seconds> tp; TEST() local
959 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
961 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
963 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
968 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
970 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
972 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
977 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
979 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
981 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::max(), tp); TEST() local
988 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
990 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
992 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
997 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
999 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
1001 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
1006 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
1008 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
1010 EXPECT_EQ(time_point<absl::time_internal::cctz::seconds>::min(), tp); TEST() local
1121 auto tp = time_point<absl::time_internal::cctz::seconds>::min(); TEST() local
1132 auto tp = time_point<absl::time_internal::cctz::seconds>::max(); TEST() local
1143 auto tp = convert(civil_second(2018, 6, 30, 0, 0, 0), tz); TEST() local
1167 auto tp = convert(civil_second(2018, 6, 30, 0, 0, 0), tz); TEST() local
1184 auto tp = convert(civil_second(2013, 3, 10, 1, 59, 59), tz); TEST() local
1200 auto tp = convert(civil_second(2013, 3, 10, 1, 59, 59), tz); TEST() local
1216 auto tp = convert(civil_second(2013, 3, 10, 1, 59, 59), tz); TEST() local
1235 auto tp = convert(civil_second(1985, 12, 31, 23, 59, 59), tz); TEST() local
1248 auto tp = convert(civil_second(2013, 4, 7, 3, 44, 59), tz); TEST() local
1268 auto tp = convert(civil_second(2013, 4, 7, 1, 59, 59), tz); TEST() local
1292 auto tp = convert(civil_second(2011, 12, 29, 23, 59, 59), tz); TEST() local
1308 auto tp = convert(civil_second(2014, 5, 15, 23, 59, 59), tz); TEST() local
1323 auto tp = convert(civil_second(1972, 1, 6, 23, 59, 59), tz); TEST() local
1344 auto tp = convert(civil_second(1889, 12, 31, 0, 0, 0), tz); TEST() local
1361 auto tp = convert(civil_second(1983, 10, 30, 1, 59, 59), tz); TEST() local
1376 auto tp = convert(civil_second(1977, 1, 1, 0, 0, 0), tz); TEST() local
1404 auto tp = convert(civil_second(1970, 1, 1, 0, 0, 0), gmtm5); TEST() local
1417 auto tp = convert(civil_second(0, 1, 1, 0, 0, 0), tz); TEST() local
1432 auto tp = convert(civil_second(2038, 1, 19, 3, 14, 7), tz); TEST() local
1445 auto tp = convert(civil_second(9999, 12, 31, 23, 59, 59), tz); TEST() local
[all...]
/third_party/libwebsockets/lib/misc/threadpool/
H A Dthreadpool.c47 struct lws_threadpool *tp; member
72 struct lws_threadpool *tp; member
172 lws_threadpool_dump(struct lws_threadpool *tp) in lws_threadpool_dump() argument
180 pthread_mutex_lock(&tp->lock); /* ======================== tpool lock */ in lws_threadpool_dump()
182 lwsl_thread("%s: tp: %s, Queued: %d, Run: %d, Done: %d\n", __func__, in lws_threadpool_dump()
183 tp->name, tp->queue_depth, tp->running_tasks, in lws_threadpool_dump()
184 tp->done_queue_depth); in lws_threadpool_dump()
187 c = &tp in lws_threadpool_dump()
272 struct lws_threadpool *tp = task->tp; __lws_threadpool_reap() local
320 struct lws_threadpool *tp; lws_threadpool_tsi_context() local
495 struct lws_threadpool *tp = pool->tp; lws_threadpool_worker() local
691 struct lws_threadpool *tp; lws_threadpool_create() local
742 lws_threadpool_finish(struct lws_threadpool *tp) lws_threadpool_finish() argument
773 lws_threadpool_destroy(struct lws_threadpool *tp) lws_threadpool_destroy() argument
843 struct lws_threadpool *tp; lws_threadpool_dequeue_task() local
970 lws_threadpool_enqueue(struct lws_threadpool *tp, const struct lws_threadpool_task_args *args, const char *format, ...) lws_threadpool_enqueue() argument
1058 struct lws_threadpool *tp = task->tp; lws_threadpool_task_status() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DnonPrimitiveConstraintOfIndexAccessType.js3 function f<T extends object, P extends keyof T>(s: string, tp: T[P]): void {
4 tp = s;
6 function g<T extends null, P extends keyof T>(s: string, tp: T[P]): void {
7 tp = s;
9 function h<T extends undefined, P extends keyof T>(s: string, tp: T[P]): void {
10 tp = s;
12 function i<T extends void, P extends keyof T>(s: string, tp: T[P]): void {
13 tp = s;
15 function j<T extends never, P extends keyof T>(s: string, tp: T[P]): void {
16 tp
[all...]
/third_party/libuv/src/
H A Dinet.c70 char tmp[UV__INET6_ADDRSTRLEN], *tp; in inet_ntop6() local
111 tp = tmp; in inet_ntop6()
117 *tp++ = ':'; in inet_ntop6()
122 *tp++ = ':'; in inet_ntop6()
127 int err = inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)); in inet_ntop6()
130 tp += strlen(tp); in inet_ntop6()
133 tp += snprintf(tp, sizeo in inet_ntop6()
178 unsigned char tmp[sizeof(struct in_addr)], *tp; inet_pton4() local
217 unsigned char tmp[sizeof(struct in6_addr)], *tp, *endp, *colonp; inet_pton6() local
[all...]
/third_party/node/deps/uv/src/
H A Dinet.c75 char tmp[UV__INET6_ADDRSTRLEN], *tp; in inet_ntop6() local
116 tp = tmp; in inet_ntop6()
122 *tp++ = ':'; in inet_ntop6()
127 *tp++ = ':'; in inet_ntop6()
132 int err = inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)); in inet_ntop6()
135 tp += strlen(tp); in inet_ntop6()
138 tp += sprintf(tp, " in inet_ntop6()
183 unsigned char tmp[sizeof(struct in_addr)], *tp; inet_pton4() local
222 unsigned char tmp[sizeof(struct in6_addr)], *tp, *endp, *colonp; inet_pton6() local
[all...]
/third_party/curl/lib/
H A Dinet_pton.c104 unsigned char tmp[INADDRSZ], *tp; in inet_pton4() local
108 tp = tmp; in inet_pton4()
109 *tp = 0; in inet_pton4()
115 unsigned int val = (unsigned int)(*tp * 10) + in inet_pton4()
118 if(saw_digit && *tp == 0) in inet_pton4()
122 *tp = (unsigned char)val; in inet_pton4()
132 *++tp = 0; in inet_pton4()
162 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
167 memset((tp = tmp), 0, IN6ADDRSZ); in inet_pton6()
168 endp = tp in inet_pton6()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBITestExtended.java59 TestParams tp = new TestParams(); in TestExtended()
160 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended()
165 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended()
170 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended()
175 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended()
180 tp in TestExtended()
[all...]
/third_party/ffmpeg/libavutil/
H A Dtree.c59 void *av_tree_insert(AVTreeNode **tp, void *key, in av_tree_insert() argument
62 AVTreeNode *t = *tp; in av_tree_insert()
77 *tp = NULL; in av_tree_insert()
92 * rotate(tp, i); in av_tree_insert()
95 * static void rotate(AVTreeNode **tp, int i) in av_tree_insert()
97 * AVTreeNode *t= *tp; in av_tree_insert()
99 * *tp = t->child[i]; in av_tree_insert()
101 * (*tp)->child[i ^ 1] = t; in av_tree_insert()
102 * i = 4 * t->state + 2 * (*tp)->state + 12; in av_tree_insert()
104 * (*tp) in av_tree_insert()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DRBBITestExtended.java58 TestParams tp = new TestParams(); in TestExtended()
159 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended()
164 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended()
169 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended()
174 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended()
179 tp in TestExtended()
[all...]
/third_party/mksh/
H A Dexec.c62 struct tbl *tp = NULL; in execute() local
130 tp = findcom(ap[0], FC_BI | FC_FUNC); in execute()
146 if (iosetup(*iowp, tp) < 0) { in execute()
152 if (tp && tp->type == CSHELL && in execute()
153 (tp->flag & SPEC_BI)) in execute()
162 rv = comexec(t, tp, (const char **)ap, flags, xerrok); in execute()
479 comexec(struct op *t, struct tbl * volatile tp, const char **ap, in comexec() argument
525 while (tp && tp in comexec()
871 scriptexec(struct op *tp, const char **ap) scriptexec() argument
1039 struct tbl *tp = NULL; findfunc() local
1064 struct tbl *tp; define() local
1112 struct tbl *tp; builtin() local
1172 struct tbl *tp = NULL, *tbi; findcom() local
1266 struct tbl *tp; flushcom() local
1381 call_builtin(struct tbl *tp, const char **wp, const char *where, bool resetspec) call_builtin() argument
1404 iosetup(struct ioword *iop, struct tbl *tp) iosetup() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_memoryview.py31 def check_getitem_with_type(self, tp):
32 b = tp(self._source)
53 for tp in self._types:
54 self.check_getitem_with_type(tp)
57 for tp in self._types:
58 b = tp(self._source)
79 tp = self.rw_type
84 self._check_contents(tp, b, b"1bcdef")
85 m[0:1] = tp(b"0")
86 self._check_contents(tp,
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
H A Dvis3-mont.pl94 ($t0,$t1,$t2,$t3,$cnt,$tp,$bufsz,$anp)=map("%l$_",(0..7));
98 add %sp, $bias+$frame, $tp
100 add $tp, %g5, $anp
135 mulx $lo0, $n0, $m1 ! "tp[0]"*n0
188 stx $lo1, [$tp] ! tp[j-1]
189 add $tp, 8, $tp ! tp++
201 stx $lo1, [$tp] ! t
[all...]
H A Dppc-mont.pl121 my $tp="r22";
178 addi $tp,$sp,$LOCALS
185 $UMULL $m1,$lo0,$n0 ; "tp[0]"*n0
215 $ST $lo1,0($tp) ; tp[j-1]
218 addi $tp,$tp,$BNSZ ; tp++
228 $ST $lo1,0($tp) ; tp[
[all...]
/third_party/openssl/crypto/bn/asm/
H A Dvis3-mont.pl94 ($t0,$t1,$t2,$t3,$cnt,$tp,$bufsz,$anp)=map("%l$_",(0..7));
98 add %sp, $bias+$frame, $tp
100 add $tp, %g5, $anp
135 mulx $lo0, $n0, $m1 ! "tp[0]"*n0
188 stx $lo1, [$tp] ! tp[j-1]
189 add $tp, 8, $tp ! tp++
201 stx $lo1, [$tp] ! t
[all...]
H A Dppc-mont.pl121 my $tp="r22";
178 addi $tp,$sp,$LOCALS
185 $UMULL $m1,$lo0,$n0 ; "tp[0]"*n0
215 $ST $lo1,0($tp) ; tp[j-1]
218 addi $tp,$tp,$BNSZ ; tp++
228 $ST $lo1,0($tp) ; tp[
[all...]
/third_party/node/deps/openssl/openssl/crypto/idea/
H A Di_skey.c64 register IDEA_INT *fp, *tp, t; in IDEA_set_decrypt_key() local
66 tp = &(dk->data[0][0]); in IDEA_set_decrypt_key()
69 *(tp++) = inverse(fp[0]); in IDEA_set_decrypt_key()
70 *(tp++) = ((int)(0x10000L - fp[2]) & 0xffff); in IDEA_set_decrypt_key()
71 *(tp++) = ((int)(0x10000L - fp[1]) & 0xffff); in IDEA_set_decrypt_key()
72 *(tp++) = inverse(fp[3]); in IDEA_set_decrypt_key()
76 *(tp++) = fp[4]; in IDEA_set_decrypt_key()
77 *(tp++) = fp[5]; in IDEA_set_decrypt_key()
80 tp = &(dk->data[0][0]); in IDEA_set_decrypt_key()
81 t = tp[ in IDEA_set_decrypt_key()
[all...]
/third_party/openssl/crypto/idea/
H A Di_skey.c64 register IDEA_INT *fp, *tp, t; in IDEA_set_decrypt_key() local
66 tp = &(dk->data[0][0]); in IDEA_set_decrypt_key()
69 *(tp++) = inverse(fp[0]); in IDEA_set_decrypt_key()
70 *(tp++) = ((int)(0x10000L - fp[2]) & 0xffff); in IDEA_set_decrypt_key()
71 *(tp++) = ((int)(0x10000L - fp[1]) & 0xffff); in IDEA_set_decrypt_key()
72 *(tp++) = inverse(fp[3]); in IDEA_set_decrypt_key()
76 *(tp++) = fp[4]; in IDEA_set_decrypt_key()
77 *(tp++) = fp[5]; in IDEA_set_decrypt_key()
80 tp = &(dk->data[0][0]); in IDEA_set_decrypt_key()
81 t = tp[ in IDEA_set_decrypt_key()
[all...]

Completed in 18 milliseconds

12345678910>>...16