• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/generic/

Lines Matching refs:rects

45         rects = &extents;
56 return i < numRects ? rects + i : NULL;
171 Box *rects;
189 rects = ( BOX * )malloc( (unsigned) sizeof( BOX ));
200 rects = (BOX*)malloc(sizeof(BOX));
207 *rects = extents;
214 rects = (BOX*)malloc(sizeof(BOX));
215 *rects = extents;
224 rects = (Box*)malloc(numRects*sizeof(Box));
225 memcpy(rects, refData.rects, numRects*sizeof(Box));
231 free(rects);
599 temp->rects = ( BOX * )malloc( (unsigned) sizeof( BOX ));
601 if (!temp->rects)
656 pBox = pReg->rects;
691 free( (char *) r->rects );
710 pbox = pRegion->rects;
759 pNextRect = &pReg->rects[pReg->numRects];
777 MEMCHECK(pReg, pNextRect, pReg->rects);
844 if (dstrgn->rects)
846 BOX *prevRects = dstrgn->rects;
848 dstrgn->rects = (BOX *)
849 realloc((char *) dstrgn->rects,
851 if (!dstrgn->rects)
865 memcpy((char *) dstrgn->rects, (char *) rgn->rects,
907 pRegEnd = &pReg->rects[pReg->numRects];
909 pPrevBox = &pReg->rects[prevStart];
917 pCurBox = &pReg->rects[curStart];
939 curStart = pRegEnd - pReg->rects;
940 pRegEnd = pReg->rects + pReg->numRects;
1081 BoxPtr oldRects; /* Old rects for newReg */
1100 r1 = reg1->rects;
1101 r2 = reg2->rects;
1105 oldRects = newReg->rects;
1118 newReg->rects = (BoxPtr)malloc((unsigned) (sizeof(BoxRec) * newReg->size));
1120 if (!newReg->rects)
1310 BoxPtr prev_rects = newReg->rects;
1312 newReg->rects = (BoxPtr) realloc ((char *) newReg->rects,
1314 if (! newReg->rects)
1315 newReg->rects = prev_rects;
1324 free((char *) newReg->rects);
1325 newReg->rects = (BoxPtr) malloc(sizeof(BoxRec));
1363 pNextRect = &pReg->rects[pReg->numRects];
1370 MEMCHECK(pReg, pNextRect, pReg->rects);
1395 * Rectangles are overwritten in pReg->rects and pReg->numRects will
1414 pNextRect = &pReg->rects[pReg->numRects];
1430 MEMCHECK(pReg, pNextRect, pReg->rects); \
1564 pNextRect = &pReg->rects[pReg->numRects];
1571 MEMCHECK(pReg, pNextRect, pReg->rects);
1617 pNextRect = &pReg->rects[pReg->numRects];
1660 MEMCHECK(pReg, pNextRect, pReg->rects);
1695 MEMCHECK(pReg, pNextRect, pReg->rects);
1716 MEMCHECK(pReg, pNextRect, pReg->rects);
1816 if ( r1->rects[i].x1 != r2->rects[i].x1 ) return false;
1817 else if ( r1->rects[i].x2 != r2->rects[i].x2 ) return false;
1818 else if ( r1->rects[i].y1 != r2->rects[i].y1 ) return false;
1819 else if ( r1->rects[i].y2 != r2->rects[i].y2 ) return false;
1834 if (INBOX (pRegion->rects[i], x, y))
1864 for (pbox = region->rects, pboxEnd = pbox + region->numRects;