Home
last modified time | relevance | path

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

/optee_os/core/lib/qcbor/src/
H A Dqcbor_encode.c518 if(pMe->uError == QCBOR_SUCCESS) { in QCBOREncode_Private_IncrementMapOrArrayCount()
519 pMe->uError = Nesting_Increment(&(pMe->nesting)); in QCBOREncode_Private_IncrementMapOrArrayCount()
767 pMe->uError = QCBOR_ERR_BUFFER_TOO_LARGE; in QCBOREncode_Private_OpenMapOrArray()
773 pMe->uError = Nesting_Increase(&(pMe->nesting), uMajorType, (uint32_t)uEndPosition); in QCBOREncode_Private_OpenMapOrArray()
822 if(pMe->uError != QCBOR_SUCCESS) { in QCBOREncode_Private_CheckDecreaseNesting()
827 pMe->uError = QCBOR_ERR_TOO_MANY_CLOSES; in QCBOREncode_Private_CheckDecreaseNesting()
832 pMe->uError = QCBOR_ERR_CLOSE_MISMATCH; in QCBOREncode_Private_CheckDecreaseNesting()
968 pMe->uError = QCBOR_ERR_CANNOT_CANCEL; in QCBOREncode_CancelBstrWrap()
998 pMe->uError = QCBOR_ERR_OPEN_BYTE_STRING; in QCBOREncode_OpenBytes()
1061 pMe->uError = QCBOR_ERR_ARRAY_OR_MAP_STILL_OPEN; in QCBOREncode_Finish()
[all …]
H A Dqcbor_decode.c468 QCBORError uError = QCBOR_SUCCESS; in DecodeNesting_DescendMapOrArray() local
481 uError = QCBOR_ERR_ARRAY_DECODE_TOO_LONG; in DecodeNesting_DescendMapOrArray()
485 uError = DecodeNesting_Descend(pNesting, uQCBORType); in DecodeNesting_DescendMapOrArray()
486 if(uError != QCBOR_SUCCESS) { in DecodeNesting_DescendMapOrArray()
497 return uError;; in DecodeNesting_DescendMapOrArray()
532 QCBORError uError; in DecodeNesting_DescendIntoBstrWrapped() local
534 uError = DecodeNesting_Descend(pNesting, QCBOR_TYPE_BYTE_STRING); in DecodeNesting_DescendIntoBstrWrapped()
535 if(uError != QCBOR_SUCCESS) { in DecodeNesting_DescendIntoBstrWrapped()
547 return uError;; in DecodeNesting_DescendIntoBstrWrapped()
4346 QCBORError uError; in QCBORDecode_Private_EnterBstrWrapped() local
[all …]
/optee_os/core/lib/qcbor/inc/qcbor/
H A Dqcbor_decode.h1340 QCBORDecode_SetError(QCBORDecodeContext *pCtx, QCBORError uError);
1650 QCBORDecode_SetError(QCBORDecodeContext *pMe, QCBORError uError) in QCBORDecode_SetError() argument
1652 pMe->uLastError = (uint8_t)uError; in QCBORDecode_SetError()
H A Dqcbor_private.h226 uint8_t uError; /* Error state, always from QCBORError enum */ member
H A Dqcbor_spiffy_decode.h2945 QCBORError uError = QCBORDecode_GetNext(pMe, &Item); in QCBORDecode_GetMIMEMessage() local
2946 if(uError != QCBOR_SUCCESS) { in QCBORDecode_GetMIMEMessage()
2947 pMe->uLastError = (uint8_t)uError; in QCBORDecode_GetMIMEMessage()
H A Dqcbor_encode.h3765 pMe->uError = QCBOR_ERR_ENCODE_UNSUPPORTED; in QCBOREncode_AddSimple()
4034 pMe->uError = QCBOR_ERR_BUFFER_TOO_SMALL; in QCBOREncode_GetErrorState()
4040 return (QCBORError)pMe->uError; in QCBOREncode_GetErrorState()