Searched refs:pNesting (Results 1 – 2 of 2) sorted by relevance
77 Nesting_Init(QCBORTrackNesting *pNesting) in Nesting_Init() argument80 pNesting->pCurrentNesting = &pNesting->pArrays[0]; in Nesting_Init()84 pNesting->pCurrentNesting->uMajorType = CBOR_MAJOR_TYPE_ARRAY; in Nesting_Init()88 Nesting_Increase(QCBORTrackNesting *pNesting, in Nesting_Increase() argument92 if(pNesting->pCurrentNesting == &pNesting->pArrays[QCBOR_MAX_ARRAY_NESTING]) { in Nesting_Increase()95 pNesting->pCurrentNesting++; in Nesting_Increase()96 pNesting->pCurrentNesting->uCount = 0; in Nesting_Increase()97 pNesting->pCurrentNesting->uStart = uPos; in Nesting_Increase()98 pNesting->pCurrentNesting->uMajorType = uMajorType; in Nesting_Increase()104 Nesting_Decrease(QCBORTrackNesting *pNesting) in Nesting_Decrease() argument[all …]
206 DecodeNesting_GetCurrentLevel(const QCBORDecodeNesting *pNesting) in DecodeNesting_GetCurrentLevel() argument208 const ptrdiff_t nLevel = pNesting->pCurrent - &(pNesting->pLevels[0]); in DecodeNesting_GetCurrentLevel()217 DecodeNesting_GetBoundedModeLevel(const QCBORDecodeNesting *pNesting) in DecodeNesting_GetBoundedModeLevel() argument219 const ptrdiff_t nLevel = pNesting->pCurrentBounded - &(pNesting->pLevels[0]); in DecodeNesting_GetBoundedModeLevel()228 DecodeNesting_GetMapOrArrayStart(const QCBORDecodeNesting *pNesting) in DecodeNesting_GetMapOrArrayStart() argument230 return pNesting->pCurrentBounded->u.ma.uStartOffset; in DecodeNesting_GetMapOrArrayStart()235 DecodeNesting_IsBoundedEmpty(const QCBORDecodeNesting *pNesting) in DecodeNesting_IsBoundedEmpty() argument237 if(pNesting->pCurrentBounded->u.ma.uCountCursor == QCBOR_COUNT_INDICATES_ZERO_LENGTH) { in DecodeNesting_IsBoundedEmpty()246 DecodeNesting_IsCurrentAtTop(const QCBORDecodeNesting *pNesting) in DecodeNesting_IsCurrentAtTop() argument248 if(pNesting->pCurrent == &(pNesting->pLevels[0])) { in DecodeNesting_IsCurrentAtTop()[all …]