Lines Matching defs:bit
46 * BadValue if HierarchyChanged bit is set for devices other than
122 _set_bit(unsigned char *bits, int bit)
124 SetBit(bits, bit);
125 if (bit >= XI_TouchBegin && bit <= XI_TouchOwnership) {
130 if (bit >= XI_GesturePinchBegin && bit <= XI_GesturePinchEnd) {
135 if (bit >= XI_GestureSwipeBegin && bit <= XI_GestureSwipeEnd) {
143 _clear_bit(unsigned char *bits, int bit)
145 ClearBit(bits, bit);
146 if (bit >= XI_TouchBegin && bit <= XI_TouchOwnership) {
151 if (bit >= XI_GesturePinchBegin && bit <= XI_GesturePinchEnd) {
156 if (bit >= XI_GestureSwipeBegin && bit <= XI_GestureSwipeEnd) {
187 * Test setting each valid mask bit, while leaving unneeded bits 0.
214 * mask is larger than needed for XI2LASTEVENT. If any unneeded bit
240 * That bit should be ignored -> Success
250 * HierarchyChanged bit is BadValue for devices other than
265 * All bits set minus hierarchy changed bit -> Success