Home
last modified time | relevance | path

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

/optee_os/core/lib/qcbor/inc/qcbor/
H A Dqcbor_private.h352 QCBORInternalAllocator StringAllocator; member
/optee_os/core/lib/qcbor/src/
H A Dqcbor_decode.c689 pMe->StringAllocator.pfAllocator = pfAllocateFunction; in QCBORDecode_SetUpAllocator()
690 pMe->StringAllocator.pAllocateCxt = pAllocateContext; in QCBORDecode_SetUpAllocator()
997 if(pMe->StringAllocator.pfAllocator == NULL) { in QCBOR_Private_DecodeString()
1001 UsefulBuf NewMem = StringAllocator_Allocate(&(pMe->StringAllocator), (size_t)uStrLen); in QCBOR_Private_DecodeString()
1472 if(!pMe->StringAllocator.pfAllocator) { in QCBORDecode_Private_GetNextFullString()
1517 UsefulBuf NewMem = StringAllocator_Reallocate(&(pMe->StringAllocator), in QCBORDecode_Private_GetNextFullString()
1532 StringAllocator_Free(&(pMe->StringAllocator), FullString.ptr); in QCBORDecode_Private_GetNextFullString()
2896 StringAllocator_Destruct(&(pMe->StringAllocator)); in QCBORDecode_Finish()