Searched refs:pfAllocator (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/lib/qcbor/inc/qcbor/ |
| H A D | qcbor_private.h | 329 UsefulBuf (* pfAllocator)(void *pAllocateCxt, void *pOldMem, size_t uNewSize); member
|
| /optee_os/core/lib/qcbor/src/ |
| H A D | qcbor_decode.c | 617 (pMe->pfAllocator)(pMe->pAllocateCxt, (void *)(uintptr_t)pMem, 0); in StringAllocator_Free() 628 return (pMe->pfAllocator)(pMe->pAllocateCxt, (void *)(uintptr_t)pMem, uSize); in StringAllocator_Reallocate() 634 return (pMe->pfAllocator)(pMe->pAllocateCxt, NULL, uSize); in StringAllocator_Allocate() 641 if(pMe->pfAllocator) { in StringAllocator_Destruct() 642 (pMe->pfAllocator)(pMe->pAllocateCxt, NULL, 0); in StringAllocator_Destruct() 689 pMe->StringAllocator.pfAllocator = pfAllocateFunction; in QCBORDecode_SetUpAllocator() 997 if(pMe->StringAllocator.pfAllocator == NULL) { in QCBOR_Private_DecodeString() 1472 if(!pMe->StringAllocator.pfAllocator) { in QCBORDecode_Private_GetNextFullString()
|