Home
last modified time | relevance | path

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

/external/srec/portable/src/
Dpmalloc.c101 static char memBuffer[MEM_SIZE]; variable
103 static char *memBuffer; variable
117 #define GET_MEM_BIN( _ptr_ ) (int)(((unsigned int)_ptr_ - (unsigned int)&memBuffer[0]) >> BIN_BIT…
170 memBuffer = (char *)malloc(memSize); in PortMallocInit()
172 if (memBuffer != NULL) /* For external access, check comment at top */ in PortMallocInit()
178 passert(memBuffer != NULL); in PortMallocInit()
181 __heap_ptr = &memBuffer[0]; in PortMallocInit()
182 __heap_end = &memBuffer[memSize-1]; in PortMallocInit()
197 free(memBuffer); in PortMallocTerm()
198 memBuffer = NULL; in PortMallocTerm()