Lines Matching refs:stuff
87 swaps(&stuff->length, n);
89 swapl(&stuff->destination, n);
90 swaps(&stuff->count, n);
92 if (stuff->length != bytes_to_int32(sizeof(xSendExtensionEventReq)) + stuff->count +
93 bytes_to_int32(stuff->num_events * sizeof(xEvent)))
96 eventP = (xEvent *) & stuff[1];
97 for (i = 0; i < stuff->num_events; i++, eventP++) {
113 p = (CARD32 *)(((xEvent *) & stuff[1]) + stuff->num_events);
114 SwapLongs(p, stuff->count);
137 if (stuff->length != bytes_to_int32(sizeof(xSendExtensionEventReq)) + stuff->count +
138 (stuff->num_events * bytes_to_int32(sizeof(xEvent))))
141 ret = dixLookupDevice(&dev, stuff->deviceid, client, DixWriteAccess);
145 if (stuff->num_events == 0)
150 first = ((xEvent *) & stuff[1]);
151 for (i = 0; i < stuff->num_events; i++) {
159 list = (XEventClass *) (first + stuff->num_events);
160 if ((ret = CreateMaskFromList(client, list, stuff->count, tmp, dev,
164 ret = (SendEvent(client, dev, stuff->destination,
165 stuff->propagate, (xEvent *) & stuff[1],
166 tmp[stuff->deviceid].mask, stuff->num_events));