Searched defs:pMemory (Results 1 - 5 of 5) sorted by relevance

/external/srec/portable/src/
H A Dpmemory_ext.c256 void *pMemory = NULL; local
267 pMemory = MEM_MGR_Allocate(sizeInBytes);
270 if (NULL != pMemory)
276 unsigned int * requestedSizePtr = GUARD_PTR_FIELD(pMemory, GUARD_OFF_REQ_SIZE);
277 unsigned int * guardStartPtr = GUARD_PTR_FIELD(pMemory, GUARD_OFF_START);
278 unsigned int * guardEndPtr = GUARD_PTR_FIELD(pMemory, GUARD_OFF_END(sizeInBytes));
283 pMemory = (void *) GUARD_PTR_FIELD(pMemory, GUARD_OFF_PTR);
284 ADD_TO_ALLOC_LIST(pMemory);
290 return pMemory;
[all...]
H A Dpmemblock.c53 void* pMemory; member in struct:memory_pools::pool_info
245 memoryPool[i].poolInfo[j].pMemory = NULL;
261 if (memoryPool[i].poolInfo[j].pMemory != NULL)
266 PORT_ASSERT_GOOD_WRITE_POINTER(memoryPool[i].poolInfo[j].pMemory);
267 free(memoryPool[i].poolInfo[j].pMemory);
270 memoryPool[i].poolInfo[j].pMemory = NULL;
286 void* pMemory = NULL; local
307 pMemory = malloc(poolSize * (1 << whichPool) + PARTITION_CONTROL_BLOCK_SIZE);
308 PORT_ASSERT_GOOD_WRITE_POINTER(pMemory);
311 if (pMemory
350 void* pMemory; local
369 void* pMemory; local
417 void* pMemory = NULL; local
447 PortMemBlockDeleteFromPool(void* pMemory) argument
[all...]
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_memmgr_mini.cpp77 FX_LPVOID pMemory = malloc(size); local
78 if (!pMemory) {
81 CFixedMgr_Proxy* pProxy = (CFixedMgr_Proxy*)pMemory;
85 free(pMemory);
89 g_pDefFoxitMgr->m_pExternalMemory = pMemory;
92 FXMEM_FoxitMgr* FXMEM_CreateFixedMgr(void* pMemory, size_t size, FXMEM_SystemMgr2* pSystemMgr) argument
94 if (pMemory == NULL || size < FX_FIXEDMEM_PAGESIZE) {
98 CFixedMgr_Proxy* pProxy = (CFixedMgr_Proxy*)pMemory;
102 CFXMEM_FixedMgr* pHeader = (CFXMEM_FixedMgr*)pMemory;
/external/chromium_org/third_party/icu/source/common/
H A Dubidi.c193 * If *pMemory!=NULL, then assume *pSize>0.
201 void **pMemory = (void **)bidiMem; local
203 if(*pMemory==NULL) {
205 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) {
226 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) {
227 *pMemory=memory;
/external/icu/icu4c/source/common/
H A Dubidi.c193 * If *pMemory!=NULL, then assume *pSize>0.
201 void **pMemory = (void **)bidiMem; local
203 if(*pMemory==NULL) {
205 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) {
226 if((memory=uprv_realloc(*pMemory, sizeNeeded))!=NULL) {
227 *pMemory=memory;

Completed in 141 milliseconds