Home
last modified time | relevance | path

Searched refs:mi_xmalloc (Results 1 – 20 of 20) sorted by relevance

/dports/graphics/plotutils/plotutils-2.6/libxmi/
H A Dmi_canvas.c58 new_pCanvas = (miCanvas *)mi_xmalloc (sizeof (miCanvas)); in miNewCanvas()
79 new_pCanvas = (miCanvas *)mi_xmalloc (sizeof (miCanvas)); in miCopyCanvas()
112 new_pPixmap = (miPixmap *)mi_xmalloc (sizeof(miPixmap)); in miNewPixmap()
115 pixmap = (miPixel **)mi_xmalloc (height * sizeof(miPixel *)); in miNewPixmap()
118 pixmap[j] = (miPixel *)mi_xmalloc (width * sizeof(miPixel)); in miNewPixmap()
142 new_pPixmap = (miPixmap *)mi_xmalloc (sizeof(miPixmap)); in miCopyPixmap()
188 new_pBitmap = (miBitmap *)mi_xmalloc (sizeof(miBitmap));
191 bitmap = (int **)mi_xmalloc (height * sizeof(int *));
194 bitmap[j] = (int *)mi_xmalloc (width * sizeof(int));
219 new_pBitmap = (miBitmap *)mi_xmalloc (sizeof(miBitmap)); in miCopyBitmap()
[all …]
H A Dmi_gc.c41 new_gc = (miGC *)mi_xmalloc (sizeof (miGC)); in miNewGC()
51 new_gc->dash = (unsigned int *)mi_xmalloc (2 * sizeof(unsigned int)); in miNewGC()
55 new_gc->pixels = (miPixel *)mi_xmalloc (npixels * sizeof (miPixel)); in miNewGC()
86 new_gc = (miGC *)mi_xmalloc (sizeof (miGC)); in miCopyGC()
101 (unsigned int *)mi_xmalloc (pGC->numInDashList * sizeof(unsigned int)); in miCopyGC()
106 (miPixel *)mi_xmalloc (pGC->numPixels * sizeof(miPixel)); in miCopyGC()
218 pGC->dash = (unsigned int *)mi_xmalloc (ndashes * sizeof(unsigned int)); in miSetGCDashes()
234 pGC->pixels = (miPixel *)mi_xmalloc (npixels * sizeof (miPixel)); in miSetGCPixels()
H A Dmi_zerolin.c74 point = (miPoint *)mi_xmalloc(sizeof(miPoint));\
75 width = (unsigned int *)mi_xmalloc(sizeof(unsigned int));\
410 pptInit = (miPoint *)mi_xmalloc(len * sizeof(miPoint)); in cfbBresS()
411 pwidthInit = (unsigned int *)mi_xmalloc(len * sizeof(unsigned int)); in cfbBresS()
514 pptInit_fg = (miPoint *)mi_xmalloc(len * sizeof(miPoint)); in cfbBresD()
515 pwidthInit_fg = (unsigned int *)mi_xmalloc(len * sizeof(unsigned int)); in cfbBresD()
520 pptInit_bg = (miPoint *)mi_xmalloc(len * sizeof(miPoint)); in cfbBresD()
521 pwidthInit_bg = (unsigned int *)mi_xmalloc(len * sizeof(unsigned int)); in cfbBresD()
711 ppt = (miPoint *)mi_xmalloc(sizeof(miPoint)); in cfbHorzS()
712 pwidth = (unsigned int *)mi_xmalloc(sizeof(unsigned int)); in cfbHorzS()
[all …]
H A Dmi_fllarc.c557 points_upper = (miPoint *)mi_xmalloc (sizeof(miPoint) * arc->height); in miFillEllipseI()
561 points_lower = (miPoint *)mi_xmalloc (sizeof(miPoint) * arc->height); in miFillEllipseI()
596 points_upper = (miPoint *)mi_xmalloc (sizeof(miPoint) * arc->height); in miFillEllipseD()
600 points_lower = (miPoint *)mi_xmalloc (sizeof(miPoint) * arc->height); in miFillEllipseD()
670 points_upper = (miPoint *)mi_xmalloc (sizeof(miPoint) * slw); in miFillArcSliceI()
671 widths_upper = (unsigned int *)mi_xmalloc (sizeof(unsigned int) * slw); in miFillArcSliceI()
674 points_lower = (miPoint *)mi_xmalloc (sizeof(miPoint) * slw); in miFillArcSliceI()
675 widths_lower = (unsigned int *)mi_xmalloc (sizeof(unsigned int) * slw); in miFillArcSliceI()
735 points_upper = (miPoint *)mi_xmalloc (sizeof(miPoint) * slw); in miFillArcSliceD()
736 widths_upper = (unsigned int *)mi_xmalloc (sizeof(unsigned int) * slw); in miFillArcSliceD()
[all …]
H A Dmi_alloc.c32 mi_xmalloc (size_t size) in mi_xmalloc() function
73 return mi_xmalloc (size); in mi_xrealloc()
H A Dmi_fllrct.c63 pptFirst = (miPoint *)mi_xmalloc (height * sizeof(miPoint)); in miFillRectangles_internal()
64 pwFirst = (unsigned int *)mi_xmalloc (height * sizeof(unsigned int)); in miFillRectangles_internal()
H A Dmi_plypnt.c47 ppt = (miPoint *)mi_xmalloc (npt * sizeof(miPoint)); in miDrawPoints_internal()
65 pwidthInit = (unsigned int *)mi_xmalloc (npt * sizeof(unsigned int)); in miDrawPoints_internal()
H A Dmi_spans.h100 ppt = pptInit = (miPoint *) mi_xmalloc ((nPts) * sizeof (miPoint));\
101 pwidth = pwidthInit = (unsigned int *) mi_xmalloc ((nPts) * sizeof (unsigned int));\
H A Dmi_fplycon.c85 ptsOut = FirstPoint = (miPoint *)mi_xmalloc(sizeof(miPoint) * y); in miFillSppPoly()
86 width = FirstWidth = (unsigned int *)mi_xmalloc(sizeof(unsigned int) * y); in miFillSppPoly()
87 Marked = (int *) mi_xmalloc(sizeof(int) * count); in miFillSppPoly()
H A Dmi_spans.c86 paintedSet = (miPaintedSet *)mi_xmalloc (sizeof(miPaintedSet)); in miNewPaintedSet()
127 mi_xmalloc(new_size * sizeof(SpanGroup *)); in miAddSpansToPaintedSet()
218 spanGroup = (SpanGroup *)mi_xmalloc (sizeof(SpanGroup)); in miNewSpanGroup()
498 yspans = (Spans *)mi_xmalloc (ylength * sizeof(Spans)); in miUniquifySpanGroup()
499 ysizes = (int *)mi_xmalloc (ylength * sizeof(int)); in miUniquifySpanGroup()
545 points = (miPoint *)mi_xmalloc (count * sizeof(miPoint)); in miUniquifySpanGroup()
546 widths = (unsigned int *)mi_xmalloc (count * sizeof(unsigned int)); in miUniquifySpanGroup()
H A Dmi_plycon.c83 ptsOut = FirstPoint = (miPoint *)mi_xmalloc(sizeof(miPoint) * dy); in miFillConvexPoly()
84 width = FirstWidth = (unsigned int *)mi_xmalloc(sizeof(unsigned int) * dy); in miFillConvexPoly()
H A Dextern.h29 #define mi_xmalloc _mi_xmalloc macro
H A Dmi_ply.c54 ppt = (miPoint *)mi_xmalloc (count * sizeof(miPoint)); in miFillPolygon_internal()
H A Dmi_zerarc.c153 (miPoint **)mi_xmalloc(numPixels * sizeof(miPoint *)); in miZeroPolyArc_r()
155 (miPoint **)mi_xmalloc(numPixels * sizeof(miPoint *)); in miZeroPolyArc_r()
161 ptsInit[i] = (miPoint *)mi_xmalloc(numPts * sizeof(miPoint)); in miZeroPolyArc_r()
174 ptsInit[i] = (miPoint *)mi_xmalloc(numPts * sizeof(miPoint)); in miZeroPolyArc_r()
202 widths = (unsigned int *)mi_xmalloc(n * sizeof(unsigned int)); in miZeroPolyArc_r()
370 points = (miPoint *)mi_xmalloc(sizeof(miPoint) * 4 * maxPts); in miZeroArcDashPts()
H A Dmi_api.h49 extern void * mi_xmalloc (size_t size);
H A Dmi_plygen.c70 pETEs = (EdgeTableEntry *) mi_xmalloc(sizeof(EdgeTableEntry) * count); in miFillGeneralPoly()
H A Dmi_arc.c399 cap = (int *) mi_xmalloc (pGC->numPixels * sizeof(int)); in miPolyArc_r()
400 join = (int *) mi_xmalloc (pGC->numPixels * sizeof(int)); in miPolyArc_r()
518 ellipseCache = (miEllipseCache *)mi_xmalloc (sizeof(miEllipseCache)); in miNewEllipseCache()
705 pptInit = (miPoint *)mi_xmalloc (numSpans * sizeof(miPoint)); in miFillWideEllipse()
706 pwidthInit = (unsigned int *)mi_xmalloc (numSpans * sizeof(unsigned int)); in miFillWideEllipse()
907 spdata = (miArcSpanData *)mi_xmalloc (sizeof(miArcSpanData)); in miComputeWideEllipse()
908 spdata->spans = (miArcSpan *)mi_xmalloc ((k + 2) * sizeof (miArcSpan)); in miComputeWideEllipse()
1344 arcs = (miPolyArcs *) mi_xmalloc (numPixels * sizeof(miPolyArcs)); in miComputeArcs()
1365 data = (miArcData *) mi_xmalloc (narcs * sizeof (miArcData)); in miComputeArcs()
1978 pArcPts = (SppPoint *) mi_xmalloc (3 * sizeof (SppPoint)); in miArcJoin()
[all …]
H A Dmi_plyutil.c77 (ScanLineListBlock *)mi_xmalloc(sizeof(ScanLineListBlock)); in miInsertEdgeInET()
H A Dmi_widelin.c98 pptInit = (miPoint *)mi_xmalloc(overall_height * sizeof(miPoint)); in miFillPolyHelper()
99 pwidthInit = (unsigned int *)mi_xmalloc(overall_height * sizeof(unsigned int)); in miFillPolyHelper()
146 pptInit = (miPoint *)mi_xmalloc (h * sizeof(miPoint)); in miFillRectPolyHelper()
147 pwidthInit = (unsigned int *)mi_xmalloc (h * sizeof(unsigned int)); in miFillRectPolyHelper()
642 points = (miPoint *)mi_xmalloc(sizeof(miPoint) * pGC->lineWidth); in miLineArc()
643 widths = (unsigned int *)mi_xmalloc(sizeof(unsigned int) * pGC->lineWidth); in miLineArc()
/dports/graphics/plotutils/plotutils-2.6/libplot/
H A Dextern.h1300 #define mi_xmalloc _pl_mi_xmalloc macro