Lines Matching refs:stuff

246     rc = dixLookupWindow(&pWin, stuff->dest, client, DixSetAttrAccess);  in ProcShapeRectangles()
249 switch (stuff->destKind) { in ProcShapeRectangles()
260 client->errorValue = stuff->destKind; in ProcShapeRectangles()
263 if ((stuff->ordering != Unsorted) && (stuff->ordering != YSorted) && in ProcShapeRectangles()
264 (stuff->ordering != YXSorted) && (stuff->ordering != YXBanded)) { in ProcShapeRectangles()
265 client->errorValue = stuff->ordering; in ProcShapeRectangles()
268 nrects = ((stuff->length << 2) - sizeof(xShapeRectanglesReq)); in ProcShapeRectangles()
272 prects = (xRectangle *) &stuff[1]; in ProcShapeRectangles()
273 ctype = VerifyRectOrder(nrects, prects, (int) stuff->ordering); in ProcShapeRectangles()
280 switch (stuff->destKind) { in ProcShapeRectangles()
294 return RegionOperate(client, pWin, (int) stuff->destKind, in ProcShapeRectangles()
295 destRgn, srcRgn, (int) stuff->op, in ProcShapeRectangles()
296 stuff->xOff, stuff->yOff, createDefault); in ProcShapeRectangles()
309 result = dixLookupResourceByType((void **) &win, stuff->dest, XRT_WINDOW, in ProcPanoramiXShapeRectangles()
315 stuff->dest = win->info[j].id; in ProcPanoramiXShapeRectangles()
343 rc = dixLookupWindow(&pWin, stuff->dest, client, DixSetAttrAccess); in ProcShapeMask()
346 switch (stuff->destKind) { in ProcShapeMask()
357 client->errorValue = stuff->destKind; in ProcShapeMask()
361 if (stuff->src == None) in ProcShapeMask()
364 rc = dixLookupResourceByType((void **) &pPixmap, stuff->src, in ProcShapeMask()
378 switch (stuff->destKind) { in ProcShapeMask()
392 return RegionOperate(client, pWin, (int) stuff->destKind, in ProcShapeMask()
393 destRgn, srcRgn, (int) stuff->op, in ProcShapeMask()
394 stuff->xOff, stuff->yOff, createDefault); in ProcShapeMask()
407 result = dixLookupResourceByType((void **) &win, stuff->dest, XRT_WINDOW, in ProcPanoramiXShapeMask()
412 if (stuff->src != None) { in ProcPanoramiXShapeMask()
413 result = dixLookupResourceByType((void **) &pmap, stuff->src, in ProcPanoramiXShapeMask()
422 stuff->dest = win->info[j].id; in ProcPanoramiXShapeMask()
424 stuff->src = pmap->info[j].id; in ProcPanoramiXShapeMask()
452 rc = dixLookupWindow(&pDestWin, stuff->dest, client, DixSetAttrAccess); in ProcShapeCombine()
457 switch (stuff->destKind) { in ProcShapeCombine()
468 client->errorValue = stuff->destKind; in ProcShapeCombine()
472 rc = dixLookupWindow(&pSrcWin, stuff->src, client, DixGetAttrAccess); in ProcShapeCombine()
475 switch (stuff->srcKind) { in ProcShapeCombine()
489 client->errorValue = stuff->srcKind; in ProcShapeCombine()
506 switch (stuff->destKind) { in ProcShapeCombine()
520 return RegionOperate(client, pDestWin, (int) stuff->destKind, in ProcShapeCombine()
521 destRgn, srcRgn, (int) stuff->op, in ProcShapeCombine()
522 stuff->xOff, stuff->yOff, createDefault); in ProcShapeCombine()
535 result = dixLookupResourceByType((void **) &win, stuff->dest, XRT_WINDOW, in ProcPanoramiXShapeCombine()
540 result = dixLookupResourceByType((void **) &win2, stuff->src, XRT_WINDOW, in ProcPanoramiXShapeCombine()
546 stuff->dest = win->info[j].id; in ProcPanoramiXShapeCombine()
547 stuff->src = win2->info[j].id; in ProcPanoramiXShapeCombine()
571 rc = dixLookupWindow(&pWin, stuff->dest, client, DixSetAttrAccess); in ProcShapeOffset()
574 switch (stuff->destKind) { in ProcShapeOffset()
585 client->errorValue = stuff->destKind; in ProcShapeOffset()
589 RegionTranslate(srcRgn, stuff->xOff, stuff->yOff); in ProcShapeOffset()
590 (*pWin->drawable.pScreen->SetShape) (pWin, stuff->destKind); in ProcShapeOffset()
592 SendShapeNotify(pWin, (int) stuff->destKind); in ProcShapeOffset()
606 result = dixLookupResourceByType((void **) &win, stuff->dest, XRT_WINDOW, in ProcPanoramiXShapeOffset()
612 stuff->dest = win->info[j].id; in ProcPanoramiXShapeOffset()
632 rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess); in ProcShapeQueryExtents()
740 rc = dixLookupWindow(&pWin, stuff->window, client, DixReceiveAccess); in ProcShapeSelectInput()
748 switch (stuff->enable) { in ProcShapeSelectInput()
815 client->errorValue = stuff->enable; in ProcShapeSelectInput()
911 rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess); in ProcShapeInputSelected()
952 rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess); in ProcShapeGetRectangles()
955 switch (stuff->kind) { in ProcShapeGetRectangles()
966 client->errorValue = stuff->kind; in ProcShapeGetRectangles()
974 switch (stuff->kind) { in ProcShapeGetRectangles()
1033 switch (stuff->data) { in ProcShapeDispatch()
1097 swaps(&stuff->length); in SProcShapeQueryVersion()
1106 swaps(&stuff->length); in SProcShapeRectangles()
1108 swapl(&stuff->dest); in SProcShapeRectangles()
1109 swaps(&stuff->xOff); in SProcShapeRectangles()
1110 swaps(&stuff->yOff); in SProcShapeRectangles()
1111 SwapRestS(stuff); in SProcShapeRectangles()
1120 swaps(&stuff->length); in SProcShapeMask()
1122 swapl(&stuff->dest); in SProcShapeMask()
1123 swaps(&stuff->xOff); in SProcShapeMask()
1124 swaps(&stuff->yOff); in SProcShapeMask()
1125 swapl(&stuff->src); in SProcShapeMask()
1134 swaps(&stuff->length); in SProcShapeCombine()
1136 swapl(&stuff->dest); in SProcShapeCombine()
1137 swaps(&stuff->xOff); in SProcShapeCombine()
1138 swaps(&stuff->yOff); in SProcShapeCombine()
1139 swapl(&stuff->src); in SProcShapeCombine()
1148 swaps(&stuff->length); in SProcShapeOffset()
1150 swapl(&stuff->dest); in SProcShapeOffset()
1151 swaps(&stuff->xOff); in SProcShapeOffset()
1152 swaps(&stuff->yOff); in SProcShapeOffset()
1161 swaps(&stuff->length); in SProcShapeQueryExtents()
1163 swapl(&stuff->window); in SProcShapeQueryExtents()
1172 swaps(&stuff->length); in SProcShapeSelectInput()
1174 swapl(&stuff->window); in SProcShapeSelectInput()
1183 swaps(&stuff->length); in SProcShapeInputSelected()
1185 swapl(&stuff->window); in SProcShapeInputSelected()
1193 swaps(&stuff->length); in SProcShapeGetRectangles()
1195 swapl(&stuff->window); in SProcShapeGetRectangles()
1203 switch (stuff->data) { in SProcShapeDispatch()