Searched refs:XI2LASTEVENT (Results 1 – 6 of 6) sorted by relevance
59 unsigned char mask[MAXDEVICES][XI2LASTEVENT]; /* intentionally bigger */106 assert(mask->mask_len <= (((XI2LASTEVENT + 8) / 8) + 3) / 4); in reply_XIGetSelectedEvents_data()177 for (i = 0; i < XI2LASTEVENT; i++) { in test_XIGetSelectedEvents()185 for (i = 0; i < XI2LASTEVENT; i++) { in test_XIGetSelectedEvents()199 memset(mask, 0, XI2LASTEVENT); in test_XIGetSelectedEvents()
145 int nmasks = (XI2LASTEVENT + 7) / 8; in request_XISelectEvents_masks()170 for (j = 0; j <= XI2LASTEVENT; j++) { in request_XISelectEvents_masks()185 for (j = 0; j <= XI2LASTEVENT; j++) { in request_XISelectEvents_masks()198 for (j = XI2LASTEVENT + 1; j < mask->mask_len * 4; j++) { in request_XISelectEvents_masks()210 for (j = 0; j <= XI2LASTEVENT; j++) { in request_XISelectEvents_masks()236 for (j = 0; j <= XI2LASTEVENT; j++) in request_XISelectEvents_masks()
218 request->mask_len = bytes_to_int32(XI2LASTEVENT + 1); in test_XIPassiveGrabDevice()220 SetBit(mask, XI2LASTEVENT + 1); in test_XIPassiveGrabDevice()222 XI2LASTEVENT + 1); in test_XIPassiveGrabDevice()224 ClearBit(mask, XI2LASTEVENT + 1); in test_XIPassiveGrabDevice()
99 if (len >= XIMaskLen(XI2LASTEVENT)) { in XICheckInvalidMaskBits()102 for (i = XI2LASTEVENT + 1; i < len * 8; i++) { in XICheckInvalidMaskBits()
78 #define XI2LASTEVENT XI_BarrierLeave macro79 #define XI2MASKSIZE ((XI2LASTEVENT >> 3) + 1) /* no of bytes for masks */
82461 Same bug as inputproto-2.0.1-9-gb1149ab, if the XI2LASTEVENT was a multiple99693 than XI_LASTEVENT events. We already have XI2LASTEVENT for the highest122758 Bits above XI2LASTEVENT are invalid and cause in BadValues. These checks127336 This patch defines an XI2LASTEVENT for use in the server and removes the127337 XI2proto.h require. XI2LASTEVENT is the current value of XI_LASTEVENT.