allocrus.c File Reference

#include "machdefs.h"
#include "except.h"
#include "util.h"

Include dependency graph for allocrus.c:

Go to the source code of this file.

Data Structures

struct  ILLbigchunk

Functions

void ILLptrworld_add (ILLptrworld *world)
void ILLptrworld_delete (ILLptrworld *world)
void ILLptrworld_init (ILLptrworld *world)
void * ILLutil_allocrus (size_t size)
ILLbigchunkptrILLutil_bigchunkalloc (void)
void ILLutil_bigchunkfree (ILLbigchunkptr *bp)
void ILLutil_freerus (void *p)
void * ILLutil_reallocrus (void *ptr, size_t size)
int ILLutil_reallocrus_count (void **pptr, int count, size_t size)
int ILLutil_reallocrus_scale (void **pptr, int *pnnum, int count, double scale, size_t size)

Variables

int ILLTRACE_MALLOC = 0


Function Documentation

void ILLptrworld_add ( ILLptrworld world  ) 

Definition at line 261 of file allocrus.c.

References ILLptrworld::refcount.

void ILLptrworld_delete ( ILLptrworld world  ) 

Definition at line 267 of file allocrus.c.

References ILLptrworld::chunklist, ILLptrworld::freelist, ILLutil_bigchunkfree(), ILLbigchunkptr::next, NULL, and ILLptrworld::refcount.

Here is the call graph for this function:

void ILLptrworld_init ( ILLptrworld world  ) 

Definition at line 253 of file allocrus.c.

References ILLptrworld::chunklist, ILLptrworld::freelist, NULL, and ILLptrworld::refcount.

void* ILLutil_allocrus ( size_t  size  ) 

Definition at line 121 of file allocrus.c.

References NULL.

ILLbigchunkptr* ILLutil_bigchunkalloc ( void   ) 

Definition at line 227 of file allocrus.c.

References ILL_NEW_no_rval, NULL, ILLbigchunk::ptr, ILLbigchunk::space, ILLbigchunkptr::this_chunk, and ILLbigchunkptr::this_one.

void ILLutil_bigchunkfree ( ILLbigchunkptr bp  ) 

Definition at line 244 of file allocrus.c.

References ILL_IFFREE, and ILLbigchunkptr::this_chunk.

void ILLutil_freerus ( void *  p  ) 

Definition at line 139 of file allocrus.c.

void* ILLutil_reallocrus ( void *  ptr,
size_t  size 
)

Definition at line 151 of file allocrus.c.

References ILLutil_allocrus().

Here is the call graph for this function:

int ILLutil_reallocrus_count ( void **  pptr,
int  count,
size_t  size 
)

Definition at line 204 of file allocrus.c.

References ILL_CLEANUP, ILL_GENERAL_ERROR, ILL_REPRT, and ILLutil_reallocrus().

Here is the call graph for this function:

int ILLutil_reallocrus_scale ( void **  pptr,
int *  pnnum,
int  count,
double  scale,
size_t  size 
)

Definition at line 173 of file allocrus.c.

References ILL_CLEANUP, ILL_GENERAL_ERROR, ILL_REPRT, and ILLutil_reallocrus().

Here is the call graph for this function:


Variable Documentation

int ILLTRACE_MALLOC = 0

Definition at line 112 of file allocrus.c.


Generated on Thu Mar 29 09:32:34 2012 for QSopt_ex by  doxygen 1.4.7