Lines Matching refs:rects
209 for (pr = xr, pb = r->rects, i = r->numRects; --i >= 0; pr++, pb++) {
239 XRectangle *rects,
265 Data16 (dpy, (short *) rects, nbytes);
445 XRectangle *rects;
464 rects = NULL;
468 rects = Xmallocarray (rep.nrects, sizeof (XRectangle));
471 rects = NULL;
473 if (!xrects || !rects) {
475 Xfree (rects);
477 rects = NULL;
482 rects[i].x = (short) cvtINT16toInt (xrects[i].x);
483 rects[i].y = (short) cvtINT16toInt (xrects[i].y);
484 rects[i].width = xrects[i].width;
485 rects[i].height = xrects[i].height;
492 return rects;