HomeSort by: relevance | last modified time | path
    Searched defs:nrects (Results 1 - 20 of 20) sorted by relevancy

  /xsrc/external/mit/libXfixes/dist/src/
Region.c 321 int nrects; local
345 nrects = rep.length >> 1;
346 rects = Xmalloc ((size_t) nrects * sizeof (XRectangle));
349 nrects = 0;
360 nread = nrects << 3;
369 *nrectanglesRet = nrects;
  /xsrc/external/mit/ctwm/dist/
win_iconify.c 224 int i, j, nrects; local
241 nrects = ((width * height) / (srect * srect)) / 10;
242 rectangles = calloc(nrects, sizeof(XRectangle));
243 for(j = 0; j < nrects; j++) {
248 for(j = 0; j < nrects; j++) {
252 XFillRectangles(dpy, mask, gc, rectangles, nrects);
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/
dristruct.h 50 int nrects; member in struct:_DRIDrawablePrivRec
dri.c 1297 pDRIDrawablePriv->nrects = RegionNumRects(&pWin->clipList);
1304 if (pDRIDrawablePriv->nrects)
1354 if (pDRIDrawablePriv->nrects)
2100 int nrects = RegionNumRects(&pWin->clipList); local
2107 if (nrects && !pDRIDrawablePriv->nrects)
2109 else if (!nrects && pDRIDrawablePriv->nrects)
2114 pDRIDrawablePriv->nrects = nrects;
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/
xprFrame.c 93 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects,
407 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects,
410 xp_mark_window(x_cvt_vptr_to_uint(wid), nrects, rects, shift_x, shift_y); local
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/dri/
dristruct.h 52 int nrects; member in struct:_DRIDrawablePrivRec
dri.c 1273 pDRIDrawablePriv->nrects = RegionNumRects(&pWin->clipList);
1280 if (pDRIDrawablePriv->nrects)
1329 if (pDRIDrawablePriv->nrects)
2126 int nrects = RegionNumRects(&pWin->clipList); local
2133 if (nrects && !pDRIDrawablePriv->nrects)
2135 else if (!nrects && pDRIDrawablePriv->nrects)
2140 pDRIDrawablePriv->nrects = nrects;
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/
xprFrame.c 82 static void xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects,
404 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects,
409 xp_mark_window(x_cvt_vptr_to_uint(wid), nrects, rects, shift_x, shift_y); local
  /xsrc/external/mit/xorg-server/dist/Xext/
shape.c 239 int nrects, ctype, rc; local
268 nrects = ((stuff->length << 2) - sizeof(xShapeRectanglesReq));
269 if (nrects & 4)
271 nrects >>= 3;
273 ctype = VerifyRectOrder(nrects, prects, (int) stuff->ordering);
276 srcRgn = RegionFromRects(nrects, prects, ctype);
948 int nrects, i, rc; local
970 nrects = 1;
998 nrects = RegionNumRects(region);
1000 rects = xallocarray(nrects, sizeof(xRectangle))
    [all...]
panoramiXprocs.c 1571 int result, nrects, i, j; local
1595 nrects = (client->req_len << 2) - sizeof(xPolyRectangleReq);
1596 if (nrects & 4)
1598 nrects >>= 3;
1599 if (nrects > 0) {
1600 origRecs = xallocarray(nrects, sizeof(xRectangle));
1602 nrects * sizeof(xRectangle));
1606 memcpy(&stuff[1], origRecs, nrects * sizeof(xRectangle));
1615 for (i = nrects; i--; rects++) {
  /xsrc/external/mit/xorg-server.old/dist/Xext/
shape.c 247 int nrects, ctype, rc; local
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; local
982 nrects = 1;
1008 nrects = RegionNumRects(region);
1010 rects = malloc(nrects * sizeof (xRectangle))
    [all...]
panoramiXprocs.c 1439 int result, nrects, i, j; local
1462 nrects = (client->req_len << 2) - sizeof(xPolyRectangleReq);
1463 if(nrects & 4) return BadLength;
1464 nrects >>= 3;
1465 if (nrects > 0){
1466 origRecs = malloc(nrects * sizeof(xRectangle));
1467 memcpy((char *)origRecs,(char *)&stuff[1],nrects * sizeof(xRectangle));
1470 if(j) memcpy(&stuff[1], origRecs, nrects * sizeof(xRectangle));
1480 for (i = nrects; i--; rects++) {
  /xsrc/external/mit/xf86-video-apm/dist/src/
apm_video.c 520 int nrects, CurrY, tile; local
544 nrects = REGION_NUM_RECTS(&Union);
561 } while ((X2 <= X1 || y2 < -1) && --nrects > 0);
566 while (nrects-- > 0) {
593 if (nrects <= 0)
604 } while (X2 <= X1 && --nrects > 0);
611 if (!nrects || tile == 0x2B0 || y1 < Y1) {
  /xsrc/external/mit/xorgproto/dist/include/X11/extensions/
shapeproto.h 225 CARD32 nrects; /* number of rectangles */ member in struct:__anon11814
  /xsrc/external/mit/xf86-video-ati/dist/src/
radeon_dri.c 371 int nrects = pDamageReg ? REGION_NUM_RECTS(pDamageReg) : 0; local
373 if (nrects) {
  /xsrc/external/mit/xf86-video-amdgpu/dist/src/
amdgpu_kms.c 489 int nrects = 0; local
507 rects[nrects].x = box.x1;
508 rects[nrects].y = box.y1;
509 rects[nrects].width = box.x2 - box.x1;
510 rects[nrects].height = box.y2 - box.y1;
511 nrects++;
514 transformed = RegionFromRects(nrects, rects, CT_UNSORTED);
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
radeon_kms.c 436 int nrects = 0; local
454 rects[nrects].x = box.x1;
455 rects[nrects].y = box.y1;
456 rects[nrects].width = box.x2 - box.x1;
457 rects[nrects].height = box.y2 - box.y1;
458 nrects++;
461 transformed = RegionFromRects(nrects, rects, CT_UNSORTED);
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
driver.c 1398 int nrects; local
1406 nrects = (tx2 - tx1) * (ty2 - ty1);
1407 if (!(prect = calloc(nrects, sizeof(xRectangle))))
1410 nrects = 0;
1421 if (msUpdateIntersect(ms, pBuf, &box, prect + nrects)) {
1422 nrects++;
1428 tiles = RegionFromRects(nrects, prect, CT_NONE);
  /xsrc/external/mit/xorg-server.old/dist/dix/
dispatch.c 1774 int nrects; local
1781 nrects = (client->req_len << 2) - sizeof(xPolyRectangleReq);
1782 if (nrects & 4)
1784 nrects >>= 3;
1785 if (nrects)
1787 nrects, (xRectangle *) &stuff[1]);
  /xsrc/external/mit/xorg-server/dist/dix/
dispatch.c 1917 int nrects; local
1925 nrects = (client->req_len << 2) - sizeof(xPolyRectangleReq);
1926 if (nrects & 4)
1928 nrects >>= 3;
1929 if (nrects)
1931 nrects, (xRectangle *) &stuff[1]);

Completed in 48 milliseconds