|
static opref_t | OPPtr2Ref (void *addr) |
| Converts a pointer allocated in OPHeap to an opref_t. More...
|
|
static void * | OPRef2Ptr (void *ptr_in_heap, opref_t ref) |
| Converts an opref_t reference to a regular pointer. More...
|
|
static size_t | OPLenRef2Size (oplenref_t ref) |
| Obtain the size encoded in oplenref_t. More...
|
|
static void * | OPLenRef2Ptr (oplenref_t *ref, size_t container_size) |
| Converts an oplenref_t reference to a regular pointer. More...
|
|
static void * | OPLenRef2PtrOnHeap (oplenref_t *ref, size_t container_size, OPHeap *heap) |
| Converts an oplenref_t reference to a regular pointer on specified heap. More...
|
|
static void | OPLenRefCreate (oplenref_t *ref, void *data, size_t data_size, size_t container_size) |
| A constructor for oplenref_t to hold the input data. More...
|
|
static void | OPLenRefDelete (oplenref_t *ref, size_t container_size) |
| A destructor for oplenref_t. More...
|
|
static void | OPLenRefRelpace (oplenref_t *ref, void *data, size_t data_size, size_t container_size) |
| Relace the data stored in oplenref_t. More...
|
|
- Author
- Felix Chern
- Date
- Sat Oct 1 20:12:46 2016 (-0700)
- Copyright
- 2016-2017 Felix Chern
Definition in file op_malloc.h.