Defines | Functions
opennurbs_memory.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ON_MEMORY_POOL   void
#define ontcsdup   onstrdup

Functions

ON_DECL ON_MEMORY_POOLON_MainMemoryPool (void)
ON_DECL size_t ON_MemoryPageSize ()
ON_DECL ON_MEMORY_POOLON_WorkerMemoryPool (void)
ON_DECL void * oncalloc (size_t, size_t)
ON_DECL void * oncalloc_from_pool (ON_MEMORY_POOL *, size_t, size_t)
ON_DECL void onfree (void *)
ON_DECL void * onmalloc (size_t)
ON_DECL void * onmalloc_from_pool (ON_MEMORY_POOL *, size_t)
ON_DECL unsigned char * onmbsdup (const unsigned char *)
ON_DECL void * onmemdup (const void *, size_t)
ON_DECL size_t onmemoryusecount (size_t *malloc_count, size_t *realloc_count, size_t *free_count, size_t *pool_count)
ON_DECL size_t onmemoryusecountex (size_t *malloc_count, size_t *realloc_count, size_t *free_count, size_t *pool_count, size_t *malloc_zero_count, size_t *free_null_count)
ON_DECL size_t onmsize (const void *)
ON_DECL void * onrealloc (void *, size_t)
ON_DECL void * onrealloc_from_pool (ON_MEMORY_POOL *, void *, size_t)
ON_DECL char * onstrdup (const char *)

Define Documentation

#define ON_MEMORY_POOL   void

Definition at line 27 of file opennurbs_memory.h.

#define ontcsdup   onstrdup

Definition at line 97 of file opennurbs_memory.h.


Function Documentation

Definition at line 33 of file opennurbs_memory.c.

Definition at line 81 of file opennurbs_rtree.cpp.

Definition at line 38 of file opennurbs_memory.c.

ON_DECL void* oncalloc ( size_t  ,
size_t   
)

Definition at line 62 of file opennurbs_memory.c.

ON_DECL void* oncalloc_from_pool ( ON_MEMORY_POOL ,
size_t  ,
size_t   
)

Definition at line 55 of file opennurbs_memory.c.

ON_DECL void onfree ( void *  )

Definition at line 67 of file opennurbs_memory.c.

ON_DECL void* onmalloc ( size_t  )

Definition at line 50 of file opennurbs_memory.c.

ON_DECL void* onmalloc_from_pool ( ON_MEMORY_POOL ,
size_t   
)

Definition at line 43 of file opennurbs_memory.c.

ON_DECL unsigned char* onmbsdup ( const unsigned char *  )

Definition at line 61 of file opennurbs_memory_util.c.

ON_DECL void* onmemdup ( const void *  ,
size_t   
)

Definition at line 26 of file opennurbs_memory_util.c.

ON_DECL size_t onmemoryusecount ( size_t *  malloc_count,
size_t *  realloc_count,
size_t *  free_count,
size_t *  pool_count 
)
ON_DECL size_t onmemoryusecountex ( size_t *  malloc_count,
size_t *  realloc_count,
size_t *  free_count,
size_t *  pool_count,
size_t *  malloc_zero_count,
size_t *  free_null_count 
)
ON_DECL size_t onmsize ( const void *  )

Definition at line 98 of file opennurbs_memory.c.

ON_DECL void* onrealloc ( void *  ,
size_t   
)

Definition at line 73 of file opennurbs_memory.c.

ON_DECL void* onrealloc_from_pool ( ON_MEMORY_POOL ,
void *  ,
size_t   
)

Definition at line 78 of file opennurbs_memory.c.

ON_DECL char* onstrdup ( const char *  )

Definition at line 42 of file opennurbs_memory_util.c.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:46