| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/ |
| xaaBitBlt.c | 45 int i, dx, dy, numRects; 187 numRects = RegionNumRects(&rgnDst); 188 if (numRects && width && height) { 189 if(!(pptSrc = (DDXPointPtr)malloc(numRects * 198 for (i = numRects; --i >= 0; pbox++, ppt++) {
|
| xaaSpans.c | 791 int Right, numRects, MaxBoxes; 800 numRects = RegionNumRects(pGC->pCompositeClip); 802 if(numRects == 1) { 827 } else if (numRects) { 832 nbox = numRects;
|
| /xsrc/external/mit/xorg-server/dist/mi/ |
| micopy.c | 146 int numRects; 292 numRects = RegionNumRects(&rgnDst); 293 if (numRects && widthSrc && heightSrc)
|
| mibitblt.c | 93 int numRects; 141 numRects = RegionNumRects(prgnSrcClip); 143 ordering = xallocarray(numRects, sizeof(unsigned int)); 161 for (i = 0; i < numRects; i++) 168 for (i = 0; i < numRects; i++) 171 for (i = 0, j = 1, xMax = 0; i < numRects; j = i + 1, xMax = i) { 174 while ((j < numRects) && (boxes[j].y1 == y)) 184 for (i = numRects - 1, j = i - 1, yMin = i, yMax = 0; 199 for (i = 0, j = numRects - 1; i < numRects; i++, j-- [all...] |
| miexpose.c | 307 int numRects; 312 numRects = RegionNumRects(pRgn); 313 if (!(pEvent = calloc(1, numRects * sizeof(xEvent)))) 316 for (i = numRects, pe = pEvent; --i >= 0; pe++, pBox++) { 351 for (i = 0; i < numRects; i++) { 359 DeliverEvents(pWin, pEvent, numRects, NullWindow); 407 int numRects, regionnumrects; 527 numRects = RegionNumRects(prgn); 529 for (i = numRects; --i >= 0; pbox++, prect++) { 535 prect -= numRects; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/mi/ |
| micopy.c | 169 int numRects; 332 numRects = RegionNumRects(&rgnDst); 333 if (numRects && widthSrc && heightSrc)
|
| mibitblt.c | 98 int numRects; 148 numRects = RegionNumRects(prgnSrcClip); 150 ordering = malloc(numRects * sizeof(unsigned int)); 167 for (i=0; i < numRects; i++) 174 for (i=0; i < numRects; i++) 177 for (i=0, j=1, xMax=0; i < numRects; j=i+1, xMax=i) { 180 while ((j < numRects) && (boxes[j].y1 == y)) 190 for (i=numRects-1, j=i-1, yMin=i, yMax=0; 206 for (i=0, j=numRects-1; i < numRects; i++, j-- [all...] |
| miexpose.c | 353 int numRects; 355 numRects = RegionNumRects(pRgn); 357 if(!(pEvent = malloc(numRects * sizeof(xEvent)))) 361 for (i=1; i<=numRects; i++, pe++, pBox++) 369 pe->u.graphicsExposure.count = numRects - i; 375 TryClientEvents(client, NULL, pEvent, numRects, 396 int numRects; 401 numRects = RegionNumRects(pRgn); 402 if(!(pEvent = calloc(1, numRects * sizeof(xEvent)))) 405 for (i=numRects, pe = pEvent; --i >= 0; pe++, pBox++ [all...] |
| /xsrc/external/mit/libX11/dist/include/X11/ |
| Xregion.h | 77 long numRects; 114 if ((reg)->numRects >= ((reg)->size - 1)){\ 121 (rect) = &(firstrect)[(reg)->numRects];\ 130 (!(((Reg)->numRects > 0)&&\ 145 (reg)->numRects++;\ 160 (reg)->numRects++;\ 165 #define EMPTY_REGION(pReg) pReg->numRects = 0 167 #define REGION_NOT_EMPTY(pReg) pReg->numRects
|
| /xsrc/external/mit/libX11/dist/src/ |
| PolyReg.c | 411 register int numRects; 416 numRects = ((numFullPtBlocks * NUMPTSTOBUFFER) + iCurPtBlock) >> 1; 418 if (!(reg->rects = Xreallocarray(reg->rects, numRects, sizeof(BOX)))) { 423 reg->size = numRects; 426 numRects = 0; 437 if (numRects && pts->x == rects->x1 && pts->y == rects->y2 && 439 (numRects == 1 || rects[-1].y1 != rects->y1) && 444 numRects++; 456 if (numRects) { 465 reg->numRects = numRects [all...] |
| /xsrc/external/mit/xorg-server/dist/dix/ |
| region.c | 175 if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \ 179 if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \ 193 if (!(pReg)->data || ((pReg)->data->numRects == (pReg)->data->size))\ 200 pReg->data->numRects++; \ 201 assert(pReg->data->numRects<=pReg->data->size); \ 204 #define DOWNSIZE(reg,numRects) \ 205 if (((numRects) < ((reg)->data->size >> 1)) && ((reg)->data->size > 50)) \ 207 size_t NewSize = RegionSizeof(numRects); \ 212 NewData->size = (numRects); \ 296 int i, numRects; [all...] |
| dispatch.c | 1727 int numRects; 1729 numRects = RegionNumRects(pRgn); 1731 if (!(pEvent = calloc(numRects, sizeof(xEvent)))) 1735 for (i = 1; i <= numRects; i++, pe++, pBox++) { 1742 pe->u.graphicsExposure.count = numRects - i; 1748 TryClientEvents(client, NULL, pEvent, numRects,
|
| /xsrc/external/mit/xf86-video-mga/dist/src/ |
| mga_storm.c | 2398 int numRects = REGION_NUM_RECTS(pGC->pCompositeClip); 2405 if(!numRects) return; 2407 if(numRects != 1) {
|
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| region.c | 175 if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \ 179 if (!(pReg)->data || (((pReg)->data->numRects + (n)) > (pReg)->data->size)) \ 193 if (!(pReg)->data || ((pReg)->data->numRects == (pReg)->data->size))\ 200 pReg->data->numRects++; \ 201 assert(pReg->data->numRects<=pReg->data->size); \ 205 #define DOWNSIZE(reg,numRects) \ 206 if (((numRects) < ((reg)->data->size >> 1)) && ((reg)->data->size > 50)) \ 208 size_t NewSize = RegionSizeof(numRects); \ 213 NewData->size = (numRects); \ 282 int i, numRects; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/glx/ |
| glxdri.c | 530 int i, numRects; 533 numRects = RegionNumRects (pRegion); 539 for (i = 0; i < numRects; i++)
|
| /xsrc/external/mit/xf86-video-newport/dist/src/ |
| newport_accel.c | 1287 int numRects = REGION_NUM_RECTS(pGC->pCompositeClip); 1300 if (!numRects) 1354 for (rect = 0; rect < numRects; rect++)
|
| /xsrc/external/mit/xwd/dist/ |
| multiVis.c | 55 long numRects; 373 for (int rect = 0; rect < vis_reg->numRects; rect++) {
|
| /xsrc/external/mit/pixman/dist/pixman/ |
| pixman-region.c | 72 #define PIXREGION_NIL(reg) ((reg)->data && !(reg)->data->numRects) 75 #define PIXREGION_NUMRECTS(reg) ((reg)->data ? (reg)->data->numRects : 1) 82 #define PIXREGION_TOP(reg) PIXREGION_BOX (reg, (reg)->data->numRects) 83 #define PIXREGION_END(reg) PIXREGION_BOX (reg, (reg)->data->numRects - 1) 222 (((region)->data->numRects + (n)) > (region)->data->size)) \ 233 (((region)->data->numRects + (n)) > (region)->data->size)) \ 256 ((region)->data->numRects == (region)->data->size)) \ 263 region->data->numRects++; \ 264 critical_if_fail (region->data->numRects <= region->data->size); \ 267 #define DOWNSIZE(reg, numRects) \ [all...] |
| pixman.h | 465 long numRects; 624 long numRects; 768 long numRects;
|
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| sunGX.c | 644 int numRects; 666 numRects = REGION_NUM_RECTS(prgnClip) * nrectFill; 667 if (numRects > NUM_STACK_RECTS) 669 pboxClippedBase = (BoxPtr)ALLOCATE_LOCAL(numRects * sizeof(BoxRec));
|
| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| sunGX.c | 644 int numRects; 666 numRects = REGION_NUM_RECTS(prgnClip) * nrectFill; 667 if (numRects > NUM_STACK_RECTS) 669 pboxClippedBase = (BoxPtr)ALLOCATE_LOCAL(numRects * sizeof(BoxRec));
|