Lines Matching defs:stuff
550 xXFixesCreatePointerBarrierReq * stuff,
563 size = sizeof(*ret) + sizeof(DeviceIntPtr) * stuff->num_devices;
572 err = dixLookupWindow(&pWin, stuff->window, client, DixReadAccess);
574 client->errorValue = stuff->window;
582 ret->window = stuff->window;
583 ret->num_devices = stuff->num_devices;
589 in_devices = (CARD16 *) &stuff[1];
590 for (i = 0; i < stuff->num_devices; i++) {
629 ret->id = stuff->barrier;
630 ret->barrier.x1 = stuff->x1;
631 ret->barrier.x2 = stuff->x2;
632 ret->barrier.y1 = stuff->y1;
633 ret->barrier.y2 = stuff->y2;
636 ret->barrier.directions = stuff->directions & 0x0f;
796 xXFixesCreatePointerBarrierReq * stuff)
802 b.x1 = stuff->x1;
803 b.x2 = stuff->x2;
804 b.y1 = stuff->y1;
805 b.y2 = stuff->y2;
821 if ((err = CreatePointerBarrierClient(client, stuff, &barrier)))
824 if (!AddResource(stuff->barrier, PointerBarrierType, &barrier->barrier))
832 xXFixesDestroyPointerBarrierReq * stuff)
837 err = dixLookupResourceByType((void **) &barrier, stuff->barrier,
840 client->errorValue = stuff->barrier;
844 if (CLIENT_ID(stuff->barrier) != client->index)
847 FreeResource(stuff->barrier, RT_NONE);
858 swaps(&stuff->length);
861 swapl(&stuff->num_barriers);
862 if (stuff->num_barriers > UINT32_MAX / sizeof(xXIBarrierReleasePointerInfo))
864 REQUEST_FIXED_SIZE(xXIBarrierReleasePointerReq, stuff->num_barriers * sizeof(xXIBarrierReleasePointerInfo));
866 info = (xXIBarrierReleasePointerInfo*) &stuff[1];
867 for (i = 0; i < stuff->num_barriers; i++, info++) {
887 if (stuff->num_barriers > UINT32_MAX / sizeof(xXIBarrierReleasePointerInfo))
889 REQUEST_FIXED_SIZE(xXIBarrierReleasePointerReq, stuff->num_barriers * sizeof(xXIBarrierReleasePointerInfo));
891 info = (xXIBarrierReleasePointerInfo*) &stuff[1];
892 for (i = 0; i < stuff->num_barriers; i++, info++) {