Woolz Image Processing  Version 1.8.3
AlcAlloc

Files

file  AlcAlloc.c
 Provides functions for basic storage allocation. In their most basic form are simple wrappers for the ANSI functions malloc(3), calloc(3), realloc(3) and free(3) but they may be used to encapsulate more complex allocation such as for persistant storage.
 

Functions

void * AlcCalloc (size_t elCount, size_t elSz)
 Allocates space for the given number of elements with each element set to zero. At it's most basic this function is a wrapper for calloc(3). More...
 
void * AlcMalloc (size_t byteCount)
 Allocates space for the given number of bytes with each each element left an undefined value. More...
 
void * AlcRealloc (void *givenData, size_t byteCount)
 Re-allocates space for the given number of bytes with the contents of given data being unchanged. More...
 
void AlcFree (void *data)
 Free's the given storage. More...
 

Detailed Description

Function Documentation

◆ AlcCalloc()

void* AlcCalloc ( size_t  elCount,
size_t  elSz 
)

Allocates space for the given number of elements with each element set to zero. At it's most basic this function is a wrapper for calloc(3).

Returns
Allocated storage or NULL on error.
Parameters
elCountNumber of elements.
elSzSize of an element.

Referenced by AlcBlockStackNew(), AlcCPQQueueNew(), AlcDLPItemNew(), AlcDLPListNew(), AlcHashItemNew(), AlcHashTableNew(), AlcHeapNew(), AlcKDTTreeNew(), AlcLRUCacheNew(), AlcPtr1Calloc(), AlcPtr2Calloc(), AlcPtr3Calloc(), AlcUFTreeNew(), AlcVectorExtend(), AlcVectorNew(), AlcVectorToArray1D(), AlcVectorToArray2D(), AlgMatrixLLRExpand(), AlgMatrixLLRNew(), AlgMatrixLUInvertRaw(), AlgMatrixReadAscii(), AlgMatrixRectNew(), AlgMatrixSolveLSQR(), AlgMatrixSVBackSub(), AlgMatrixSVDecomp(), AlgMatrixSVSolve(), AlgMatrixSymNew(), BibFileFieldMake(), BibFileFieldRead(), BibFileRecordMake(), BibFileRecordRead(), Wlz3DSectionOcc(), WlzAffineTransformLSqReg3D(), WlzBasisFnConf2DFromCPts(), WlzBasisFnGauss2DFromCPts(), WlzBasisFnIMQ2DFromCPts(), WlzBasisFnIMQ3DFromCPts(), WlzBasisFnMQ2DFromCPts(), WlzBasisFnMQ3DFromCPts(), WlzBasisFnPoly2DFromCPts(), WlzBasisFnTPS2DFromCPts(), WlzBasisFnTransformBoundList(), WlzBSplineFromVertices(), WlzBSplineToDomain(), WlzCMeshCmpElmFeat2D(), WlzCMeshCmpElmFeat3D(), WlzCMeshCompSurfMapToDomain(), WlzCMeshFMarNodes2D(), WlzCMeshFMarNodes3D(), WlzCMeshIndexMaskFromValueRange(), WlzCMeshIntersect2Mesh2D(), WlzCMeshNew2D(), WlzCMeshNew2D5(), WlzCMeshNew3D(), WlzCMeshTrRegSM3D(), WlzCopyIndexedValues(), WlzDGTensorPDFeature(), WlzDiffDomain(), WlzDomainNearby(), WlzEffReadObjJpeg(), WlzFitPlaneSVD(), WlzGeoModelGridWSpNew3D(), WlzGetPatchTree(), WlzGMModelNew(), WlzGMModelRehashVHT(), WlzGMModelResIdx(), WlzGreyValueMakeWSp(), WlzInteriorityN(), WlzLabel3D(), WlzLBTDomain2DFromIDomain(), WlzLBTDomain3DFromPDomain(), WlzLBTDomainToIDomain(), WlzLBTDomainToPDomain(), WlzMake3DViewStruct(), WlzMake3DViewStructCopy(), WlzMakeAffineTransform(), WlzMakeBasisFnTransform(), WlzMakeBSpline(), WlzMakeCircleObject(), WlzMakeCompoundArray(), WlzMakeContour(), WlzMakeConvexHullDomain2(), WlzMakeConvexHullDomain3(), WlzMakeCuboid(), WlzMakeEMAPProperty(), WlzMakeEmptyTransform(), WlzMakeGreyProperty(), WlzMakeHistogramDomain(), WlzMakeIndexedValues(), WlzMakeIntervalDomain(), WlzMakeIntervalValues(), WlzMakeLBTDomain2D(), WlzMakeLBTDomain3D(), WlzMakeLUTDomain(), WlzMakeLUTValues(), WlzMakeNameProperty(), WlzMakePatchTree(), WlzMakePlaneDomain(), WlzMakePoints(), WlzMakePointValues(), WlzMakePolygonDomain(), WlzMakePropertyList(), WlzMakeQuadrilateral(), WlzMakeSimpleProperty(), WlzMakeTextProperty(), WlzMakeTiledValueBuffer(), WlzMakeTiledValues(), WlzMakeValueTb(), WlzMakeVoxelValueTb(), WlzMatchICPCtr(), WlzMeshTransformNew(), WlzObjToConvexHull(), WlzProfileLineIDom(), WlzProjectObjToPlane(), WlzRsvFilterMakeFilter(), WlzSeqPar(), and WlzShiftValues().

◆ AlcMalloc()

void* AlcMalloc ( size_t  byteCount)

Allocates space for the given number of bytes with each each element left an undefined value.

Returns
Allocated storage or NULL on error.
Parameters
byteCountNumber of bytes.

Referenced by AlcFreeStackPush(), AlcPtr1Malloc(), AlcPtr2Calloc(), AlcPtr2Malloc(), AlcPtr3Calloc(), AlcPtr3Malloc(), AlcStrCat3(), AlcStrDup(), AlcUFTreeNew(), AlcVecReadDouble1Asci(), AlcVecReadDouble2Asci(), AlcVectorToArray2D(), AlgDPTotalCosts(), AlgFourHart2D(), AlgMatrixLUDecompRaw(), AlgMatrixLUDetermRaw(), AlgMatrixLUSolveRaw(), AlgMatrixRSEigen(), AlgMatrixSymNew(), AlgMixtureMLG(), AlgPolynomialLSq(), BibFileEscapeRestrictedChar(), BibFileStrRead(), BibFileUnEscapeRestrictedChar(), Wlz3DSectionSegmentObject(), Wlz3DViewGetBoundingBoxIntersectionA(), Wlz3DViewTransformObj(), WlzAffineTransformLSq2D(), WlzBasisFnConf2DFromCPts(), WlzBasisFnGauss2DFromCPts(), WlzBasisFnIMQ2DFromCPts(), WlzBasisFnIMQ3DFromCPts(), WlzBasisFnMQ2DFromCPts(), WlzBasisFnMQ3DFromCPts(), WlzBasisFnPoly2DFromCPts(), WlzBasisFnTPS2DFromCPts(), WlzBasisFnTransformRandom(), WlzBoundaryToPolyObjArray(), WlzBoundObjToPolyDomArray(), WlzBSplineEval(), WlzBSplineFromVertices(), WlzBSplineLength(), WlzBSplineToDomain(), WlzClipObjToBox2D(), WlzCMeshCompSurfMap(), WlzCMeshCompSurfMapToDomain(), WlzCMeshComputeNormalsIxv2D5(), WlzCMeshDistance2D(), WlzCMeshDistance3D(), WlzCMeshGetBoundNodes2D(), WlzCMeshGetBoundNodes2D5(), WlzCMeshGetBoundNodes3D(), WlzCMeshGetNodesAndEdges(), WlzCMeshLPFilterLM(), WlzCMeshMakeElmIdxTbl2D(), WlzCMeshMakeElmIdxTbl2D5(), WlzCMeshMakeElmIdxTbl3D(), WlzCMeshMakeNodIdxTbl2D(), WlzCMeshMakeNodIdxTbl2D5(), WlzCMeshMakeNodIdxTbl3D(), WlzConvHullClarkson2D(), WlzConvHullClarkson2I(), WlzCopyIndexedValues(), WlzCutObjToValBox3D(), WlzDistMetricDirVertex2D(), WlzDistMetricDirVertex3D(), WlzDynItvAdd(), WlzEffAnlFileNames(), WlzEffFormatTable(), WlzEffIcsFileNames(), WlzEffNodeEleFileNames(), WlzEffWriteObjEMT(), WlzEffWriteObjMesh(), WlzEffWriteObjNodeEle(), WlzEffWriteObjSlc(), WlzEffWriteObjStack(), WlzEffWriteObjVMesh(), WlzErosion4(), WlzExplode3D(), WlzExtFFReadObjRaw(), WlzFromArray1D(), WlzGauss2(), WlzGaussFilter(), WlzGeomCurvature(), WlzGeometryLSqOPlane(), WlzGeomInterpolatePoly2D(), WlzGeomPolyTriangulate2D(), WlzGetProjectionFromObject(), WlzGMFilterGeomLPLM(), WlzGMModelAddResCb(), WlzGMModelFindNMEdges(), WlzIndexObjFromCompound(), WlzIntersect3d(), WlzIntersectN(), WlzLabel3D(), WlzMakeBoundList(), WlzMakeConvexHullDomain2(), WlzMakeConvexHullDomain3(), WlzMakeIndexedValues(), WlzMakeIntervalDomain(), WlzMakeIVertex(), WlzMakeMain(), WlzMakePlaneDomain(), WlzMakePointValues(), WlzMakeRectValueTb(), WlzMakeSimpleProperty(), WlzMakeTiledValueBuffer(), WlzMakeTiledValuesTiles(), WlzMatchICPCtr(), WlzMeshEarListRealloc(), WlzMeshGetNodesAndEdges(), WlzMeshPolyDomAdd(), WlzMeshSqueeze(), WlzMeshTransformFromCPts(), WlzNewIDomain(), WlzNewValueTb(), WlzObjectFacts(), WlzObjToConvexHull(), WlzPointValuesFromDomObj(), WlzPolyTo8Polygon(), WlzPrintPatchTree(), WlzReadMeshTransform3D(), WlzRegICPVertices(), WlzRegICPVerticesWSD2D(), WlzScalarFeatures2D(), WlzSepFilter(), WlzSepTrans(), WlzSnapFit(), WlzSplitObj(), WlzUnion3d(), WlzUnionN(), WlzVerticesFromObj2I(), and WlzVerticesFromObj3I().

◆ AlcRealloc()

◆ AlcFree()

void AlcFree ( void *  data)

Free's the given storage.

Returns
void
Parameters
dataGiven storage.

Referenced by AlcBlockStackFree(), AlcBlockStackNew(), AlcCPQQueueFree(), AlcDLPItemFree(), AlcDLPListFree(), AlcFreeStackFree(), AlcFreeStackPop(), AlcHashItemFree(), AlcHashTableFree(), AlcHashTableNew(), AlcHeapAllEntFree(), AlcHeapFree(), AlcKDTTreeFree(), AlcLRUCacheFree(), AlcLRUCacheNew(), AlcPtr2Calloc(), AlcPtr2Malloc(), AlcPtr3Calloc(), AlcPtr3Malloc(), AlcUFTreeFree(), AlcUFTreeNew(), AlcVecReadDouble1Asci(), AlcVecReadDouble2Asci(), AlcVectorExtend(), AlcVectorFree(), AlcVectorNew(), AlcVectorToArray2D(), AlgDPTotalCosts(), AlgFourHart2D(), AlgMatrixLLRExpand(), AlgMatrixLLRFree(), AlgMatrixLUDecompRaw(), AlgMatrixLUDetermRaw(), AlgMatrixLUInvertRaw(), AlgMatrixLUSolveRaw(), AlgMatrixRectFree(), AlgMatrixRectNew(), AlgMatrixSVBackSub(), AlgMatrixSVSolve(), AlgMatrixSymFree(), AlgMatrixSymNew(), AlgMixtureMLG(), AlgPolynomialLSq(), BibFileFieldFree(), BibFileFieldMake(), BibFileFieldRead(), BibFileRecordFree(), BibFileRecordMake(), BibFileUnEscapeRestrictedChar(), Wlz3DSectionOcc(), Wlz3DSectionSegmentObject(), WlzAffineTransformLSq2D(), WlzAffineTransformLSqReg3D(), WlzAffineTransformLSqRegWlz2D(), WlzBasisFnFree(), WlzBasisFnFreeTransform(), WlzBasisFnGauss2DFromCPts(), WlzBasisFnIMQ2DFromCPts(), WlzBasisFnIMQ3DFromCPts(), WlzBasisFnMQ2DFromCPts(), WlzBasisFnMQ3DFromCPts(), WlzBasisFnTPS2DFromCPts(), WlzBasisFnTransformRandom(), WlzBoundaryToPolyObjArray(), WlzBSplineEval(), WlzBSplineFromObj(), WlzBSplineFromVertices(), WlzBSplineLength(), WlzBSplineToDomain(), WlzCMeshCompSurfMapToDomain(), WlzCMeshComputeCurvaturesFromNodNorm(), WlzCMeshComputeNormalsIxv2D5(), WlzCMeshDistance2D(), WlzCMeshDistance3D(), WlzCMeshElmUseNod3D(), WlzCMeshGetBoundNodes2D(), WlzCMeshGetBoundNodes2D5(), WlzCMeshGetBoundNodes3D(), WlzCMeshGetNodesAndEdges(), WlzCMeshIndexMaskFromValueRange(), WlzCMeshIntersect2Mesh2D(), WlzCMeshMeshMeshProduct(), WlzCMeshTrRegSM3D(), WlzConvexHullFromVtx2(), WlzDiffDomain(), WlzDistMetricDirGM(), WlzDistMetricDirVertex2D(), WlzDistMetricDirVertex3D(), WlzDistMetricGM(), WlzDomainFill3D(), WlzDomainNearby(), WlzEffFormatTable(), WlzEffReadObjIcs(), WlzEffReadObjJpeg(), WlzEffWriteObjBmp2D(), WlzEffWriteObjEMT(), WlzEffWriteObjIcs(), WlzEffWriteObjMesh(), WlzEffWriteObjNodeEle(), WlzEffWriteObjPnm2D(), WlzEffWriteObjVMesh(), WlzEffWritePointsVtkFieldValues(), WlzEffWritePointsVtkScalarValues(), WlzExplode3D(), WlzExtFFReadObjRaw(), WlzFitPlaneSVD(), WlzFree3DViewStruct(), WlzFree3DWarpTrans(), WlzFreeAffineTransform(), WlzFreeBoundList(), WlzFreeBSpline(), WlzFreeContour(), WlzFreeConvexHullDomain2(), WlzFreeConvexHullDomain3(), WlzFreeDomain(), WlzFreeEMAPProperty(), WlzFreeEmptyTransform(), WlzFreeIndexedValues(), WlzFreeLUTValues(), WlzFreeObj(), WlzFreePatchTree(), WlzFreePlaneDomain(), WlzFreePointValues(), WlzFreePolyDmn(), WlzFreeProperty(), WlzFreePropertyList(), WlzFreePropertyListEntry(), WlzFreeSimpleProperty(), WlzFreeTiledValueBuffer(), WlzFreeTiledValues(), WlzFreeValues(), WlzFreeVoxelValueTb(), WlzFromArray1D(), WlzGauss2(), WlzGaussFilter(), WlzGeomCurvature(), WlzGeometryLSqOPlane(), WlzGeomInterpolatePoly2D(), WlzGeoModelGridFree3D(), WlzGetProjectionFromObject(), WlzGMModelDeleteV(), WlzGMModelFree(), WlzGMModelRehashVHT(), WlzGMModelRemResCb(), WlzGMModelResIdxFree(), WlzGreyValueFreeWSp(), WlzIndexObjFromCompound(), WlzIntersect3d(), WlzIntersectN(), WlzIterateWSpFree(), WlzLabel3D(), WlzLBTDomainToIDomain(), WlzLBTDomainToPDomain(), WlzMake3DViewStructCopy(), WlzMakeAffineTransform(), WlzMakeBoundList(), WlzMakeConvexHullDomain2(), WlzMakeConvexHullDomain3(), WlzMakeCuboid(), WlzMakeGreyProperty(), WlzMakeHistogramDomain(), WlzMakeLUTValues(), WlzMakeMain(), WlzMakeNameProperty(), WlzMakePlaneDomain(), WlzMakePropertyList(), WlzMakeRectValueTb(), WlzMakeSimpleProperty(), WlzMakeTextProperty(), WlzMakeTiledValueBuffer(), WlzMakeTiledValues(), WlzMakeTiledValuesObj2D(), WlzMakeTiledValuesObj3D(), WlzMakeValueTb(), WlzMarkerLattice(), WlzMeshEarListRealloc(), WlzMeshElemSplit(), WlzMeshFreeTransform(), WlzMeshGetNodesAndEdges(), WlzMeshIDomAdd(), WlzMeshNodeAdd(), WlzMeshNodeDelFree(), WlzMeshPolyDomAdd(), WlzMeshSqueeze(), WlzMeshTransformFromCPts(), WlzMeshTransformNew(), WlzMeshVxVecAdd(), WlzObjToConvexHull(), WlzPointsFromDomObj(), WlzPointValuesFromDomObj(), WlzPolyTo8Polygon(), WlzRemoveProperty(), WlzRsvFilterFreeFilter(), WlzScalarFeatures2D(), WlzSepTrans(), WlzSnapFit(), WlzUnion3d(), WlzUnionN(), and WlzVerticesFromObj3I().