Home
last modified time | relevance | path

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

/optee_os/core/lib/qcbor/src/
H A Dqcbor_encode.c96 pNesting->pCurrentNesting->uCount = 0; in Nesting_Increase()
115 if(1 >= QCBOR_MAX_ITEMS_IN_ARRAY - pNesting->pCurrentNesting->uCount) { in Nesting_Increment()
120 pNesting->pCurrentNesting->uCount++; in Nesting_Increment()
131 pNesting->pCurrentNesting->uCount--; in Nesting_Decrement()
146 return (uint16_t)(pNesting->pCurrentNesting->uCount >> 1); in Nesting_GetCount()
148 return pNesting->pCurrentNesting->uCount; in Nesting_GetCount()
H A Dqcbor_decode.c122 if(Item.val.uCount != 0) { in QCBORItem_IsEmptyDefiniteLengthMapOrArray()
136 if(Item.val.uCount != QCBOR_COUNT_INDICATES_INDEFINITE_LENGTH) { in QCBORItem_IsIndefiniteLengthMapOrArray()
466 uint64_t uCount) in DecodeNesting_DescendMapOrArray() argument
470 if(uCount == 0) { in DecodeNesting_DescendMapOrArray()
479 if(uCount != QCBOR_COUNT_INDICATES_INDEFINITE_LENGTH && in DecodeNesting_DescendMapOrArray()
480 uCount > QCBOR_MAX_ITEMS_IN_ARRAY) { in DecodeNesting_DescendMapOrArray()
491 pNesting->pCurrent->u.ma.uCountCursor = (uint16_t)uCount; in DecodeNesting_DescendMapOrArray()
492 pNesting->pCurrent->u.ma.uCountTotal = (uint16_t)uCount; in DecodeNesting_DescendMapOrArray()
1074 pDecodedItem->val.uCount = QCBOR_COUNT_INDICATES_INDEFINITE_LENGTH; in QCBOR_Private_DecodeArrayOrMap()
1088 pDecodedItem->val.uCount = (uint16_t)uItemCount*2; in QCBOR_Private_DecodeArrayOrMap()
[all …]
/optee_os/core/lib/qcbor/inc/qcbor/
H A Dqcbor_private.h204 uint16_t uCount; /* Number of items in the arrary or map; counts items member
H A Dqcbor_decode.h440 uint16_t uCount; member