Lines Matching refs:nrects
247 int nrects, ctype, rc;
277 nrects = ((stuff->length << 2) - sizeof(xShapeRectanglesReq));
278 if (nrects & 4)
280 nrects >>= 3;
282 ctype = VerifyRectOrder(nrects, prects, (int)stuff->ordering);
285 srcRgn = RegionFromRects(nrects, prects, ctype);
959 int nrects, i, rc;
982 nrects = 1;
1008 nrects = RegionNumRects(region);
1010 rects = malloc(nrects * sizeof (xRectangle));
1011 if (!rects && nrects)
1013 for (i = 0; i < nrects; i++, box++) {
1022 rep.length = bytes_to_int32(nrects * sizeof (xRectangle));
1024 rep.nrects = nrects;
1028 swapl (&rep.nrects, n);
1029 SwapShorts ((short *)rects, (unsigned long)nrects * 4);
1032 WriteToClient (client, nrects * sizeof (xRectangle), (char *) rects);