Home
last modified time | relevance | path

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

/optee_os/core/lib/qcbor/src/
H A Dqcbor_encode.c80 pNesting->pCurrentNesting = &pNesting->pArrays[0]; in Nesting_Init()
84 pNesting->pCurrentNesting->uMajorType = CBOR_MAJOR_TYPE_ARRAY; in Nesting_Init()
92 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()
106 if(pNesting->pCurrentNesting > &pNesting->pArrays[0]) { in Nesting_Decrease()
107 pNesting->pCurrentNesting--; in Nesting_Decrease()
115 if(1 >= QCBOR_MAX_ITEMS_IN_ARRAY - pNesting->pCurrentNesting->uCount) { in Nesting_Increment()
[all …]
/optee_os/core/lib/qcbor/inc/qcbor/
H A Dqcbor_private.h208 *pCurrentNesting; /* the current nesting level */ member