Lines Matching defs:ntouches
255 return &tp->touches[min(tp->slot, tp->ntouches - 1)];
261 assert(slot < tp->ntouches);
702 for (i = start; i < tp->ntouches; i++) {
1277 for (i = tp->ntouches - 1; i >= 0; i--) {
1376 for (i = tp->ntouches - 1; i >= 0; i--) {
1436 for (i = start; i < tp->ntouches; i++) {
2882 int ntouches;
2937 n_btn_tool_touches = m->ntouches;
2942 tp->ntouches = max(tp->num_slots, n_btn_tool_touches);
2943 tp->touches = zalloc(tp->ntouches * sizeof(struct tp_touch));
2945 for (i = 0; i < tp->ntouches; i++)
3069 if (tp->ntouches >= 2)