Searched refs:xi2mask (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/xorg-server/dist/test/xi2/
H A Dxi2.c43 XI2Mask *xi2mask = NULL, *mergemask = NULL; local in function:xi2mask_test
55 xi2mask = xi2mask_new_with_size(MAXDEVICES + 2, (MAXDEVICES + 2) * 2);
56 assert(xi2mask);
57 assert(xi2mask->nmasks > 0);
58 assert(xi2mask->mask_size > 0);
60 assert(xi2mask_mask_size(xi2mask) == xi2mask->mask_size);
61 assert(xi2mask_num_masks(xi2mask) == xi2mask->nmasks);
63 mask = calloc(1, xi2mask_mask_size(xi2mask));
[all...]
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dxigrabdev.c104 mask.xi2mask = xi2mask_new();
105 if (!mask.xi2mask)
108 mask_len = min(xi2mask_mask_size(mask.xi2mask), stuff->mask_len * 4);
110 xi2mask_set_one_mask(mask.xi2mask, dev->id, (unsigned char *) &stuff[1],
121 xi2mask_free(&mask.xi2mask);
H A Dxiselectev.c72 if (xi2mask_isset_for_device(A->xi2mask, inputInfo.all_devices, evtype)) {
78 if (xi2mask_isset_for_device(A->xi2mask, inputInfo.all_master_devices, evtype)) {
84 if (xi2mask_isset_for_device(A->xi2mask, tmp, evtype))
392 const unsigned char *devmask = xi2mask_get_one_mask(others->xi2mask, i);
400 for (j = xi2mask_mask_size(others->xi2mask) - 1; j >= 0; j--) {
H A Dxipassivegrab.c151 mask.xi2mask = xi2mask_new();
152 if (!mask.xi2mask)
155 mask_len = min(xi2mask_mask_size(mask.xi2mask), stuff->mask_len * 4);
156 xi2mask_set_one_mask(mask.xi2mask, stuff->deviceid,
259 xi2mask_free(&mask.xi2mask);
H A Dexevents.c1047 return xi2mask_isset(iclient->xi2mask, dev, XI_TouchOwnership);
1202 !xi2mask_isset(listener->grab->xi2mask, dev, XI_TouchBegin))) {
1370 *mask = (*grab)->xi2mask;
1390 if (xi2mask_isset(iclients->xi2mask, dev, evtype))
1395 *mask = iclients->xi2mask;
1435 XI2Mask *xi2mask)
1447 xi2mask = grab->xi2mask;
1630 !xi2mask_isset(dev->deviceGrab.grab->xi2mask, dev, XI_TouchBegin)))
2027 XI2Mask *xi2mask)
1432 DeliverTouchEmulatedEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
2024 DeliverTouchBeginEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
2075 DeliverTouchEndEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
2141 DeliverTouchEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dxigrabdev.c91 mask_len = min(sizeof(mask.xi2mask[stuff->deviceid]), stuff->mask_len * 4);
92 memset(mask.xi2mask, 0, sizeof(mask.xi2mask));
93 memcpy(mask.xi2mask, (char*)&stuff[1], mask_len);
H A Dxipassivegrab.c135 mask_len = min(sizeof(mask.xi2mask[stuff->deviceid]), stuff->mask_len * 4);
136 memset(mask.xi2mask, 0, sizeof(mask.xi2mask));
137 memcpy(mask.xi2mask[stuff->deviceid], &stuff[1], mask_len * 4);
H A Dxiselectev.c265 unsigned char *devmask = others->xi2mask[i];
H A Dexevents.c1671 memset(inputMasks->xi2mask[i], 0, sizeof(inputMasks->xi2mask[i]));
1678 inputMasks->xi2mask[i][j] |= others->xi2mask[i][j];
2156 memset(others->xi2mask[dev->id], 0,
2157 sizeof(others->xi2mask[dev->id]));
2163 len = min(len, sizeof(others->xi2mask[dev->id]));
2173 memset(others->xi2mask[dev->id], 0, sizeof(others->xi2mask[dev->id]));
2176 memcpy(others->xi2mask[de
[all...]
/xsrc/external/mit/xorg-server/dist/include/
H A Dinpututils.h72 void xi2mask_set_one_mask(XI2Mask *xi2mask, int deviceid,
74 const unsigned char *xi2mask_get_one_mask(const XI2Mask *xi2mask, int deviceid);
H A Dinputstr.h125 struct _XI2Mask *xi2mask; member in struct:_InputClients
155 struct _XI2Mask *xi2mask; member in struct:_OtherInputMasks
177 struct _XI2Mask *xi2mask; member in union:_GrabMask
211 struct _XI2Mask *xi2mask; member in struct:_GrabRec
/xsrc/external/mit/xorg-server/dist/dix/
H A Dgrabs.c134 for (i = 0; i < xi2mask_num_masks(grab->xi2mask); i++) {
140 mask = xi2mask_get_one_mask(grab->xi2mask, i);
149 for (j = 0; j < xi2mask_mask_size(grab->xi2mask); j++)
197 grab->xi2mask = xi2mask_new();
198 if (!grab->xi2mask) {
203 free(grab->xi2mask);
247 xi2mask_merge(grab->xi2mask, mask->xi2mask);
263 xi2mask_free(&pGrab->xi2mask);
272 XI2Mask *xi2mask; local in function:CopyGrab
[all...]
H A Dgestures.c184 if (xi2mask_isset(grab->xi2mask, dev, XI_GesturePinchBegin) ||
185 xi2mask_isset(grab->xi2mask, dev, XI_GestureSwipeBegin)) {
236 if (!xi2mask_isset(iclients->xi2mask, dev, evtype))
H A Dtouch.c703 if (!xi2mask_isset(grab->xi2mask, dev, XI_TouchOwnership))
705 if (!xi2mask_isset(grab->xi2mask, dev, XI_TouchBegin))
764 if (!xi2mask_isset(iclients->xi2mask, dev, evtype))
767 if (!xi2mask_isset(iclients->xi2mask, dev, XI_TouchOwnership))
833 !xi2mask_isset(grab->xi2mask, dev, XI_TouchBegin))
H A Dinpututils.c1181 * Zero out the xi2mask, for the deviceid given. If the deviceid is < 0, all
1236 xi2mask_set_one_mask(XI2Mask *xi2mask, int deviceid, const unsigned char *mask, argument
1240 BUG_WARN(deviceid >= xi2mask->nmasks);
1242 memcpy(xi2mask->masks[deviceid], mask, min(xi2mask->mask_size, mask_size));
H A Devents.c467 return xi2mask_isset(inputMasks->xi2mask, dev, evtype);
491 return GetXI2MaskByte(other->xi2mask, dev, evtype);
1531 !xi2mask_isset(grab->xi2mask, mouse, XI_TouchBegin)) {
1573 !xi2mask_isset(grab->xi2mask, mouse, GetXI2Type(gi->type))) {
1679 !xi2mask_isset(grab->xi2mask, mouse, XI_TouchBegin)) {
2190 xi2mask_merge(tempGrab->xi2mask, inputMasks->xi2mask);
2780 if (inputMasks && xi2mask_isset(inputMasks->xi2mask, dev, type))
4364 mask = GetXI2MaskByte(grab->xi2mask, dev, evtype);
4869 mask = xi2mask_isset(grab->xi2mask, mous
[all...]
H A Dwindow.c336 for (i = 0; i < xi2mask_num_masks(pGrab->xi2mask); i++) {
342 mask = xi2mask_get_one_mask(pGrab->xi2mask, i);
351 for (j = 0; j < xi2mask_mask_size(pGrab->xi2mask); j++)
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dinputstr.h111 unsigned char xi2mask[EMASKSIZE][XI2MASKSIZE]; member in struct:_InputClients
141 unsigned char xi2mask[EMASKSIZE][XI2MASKSIZE]; member in struct:_OtherInputMasks
169 char xi2mask[EMASKSIZE][XI2MASKSIZE]; member in union:_GrabMask
203 unsigned char xi2mask[EMASKSIZE][XI2MASKSIZE]; member in struct:_GrabRec
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dgrabs.c110 memcpy(grab->xi2mask, mask->xi2mask, sizeof(mask->xi2mask));
H A Devents.c433 return ((inputMasks->xi2mask[dev->id][evtype/8] & filter) ||
434 inputMasks->xi2mask[XIAllDevices][evtype/8] ||
435 (inputMasks->xi2mask[XIAllMasterDevices][evtype/8] && IsMaster(dev)));
445 return (other->xi2mask[dev->id][byte] |
446 other->xi2mask[XIAllDevices][byte] |
447 (IsMaster(dev)? other->xi2mask[XIAllMasterDevices][byte] : 0));
2080 memcpy(tempGrab.xi2mask, inputMasks->xi2mask,
2081 sizeof(tempGrab.xi2mask));
2309 ((inputMasks->xi2mask[XIAllDevice
[all...]

Completed in 41 milliseconds