Lines Matching refs:pRoot
1106 JsonNode *pRoot = &pParse->aNode[iRoot]; in jsonLookupStep() local
1107 if( zPath[0]==0 ) return pRoot; in jsonLookupStep()
1108 if( pRoot->jnFlags & JNODE_REPLACE ) return 0; in jsonLookupStep()
1110 if( pRoot->eType!=JSON_OBJECT ) return 0; in jsonLookupStep()
1134 while( j<=pRoot->n ){ in jsonLookupStep()
1135 if( jsonLabelCompare(pRoot+j, zKey, nKey) ){ in jsonLookupStep()
1139 j += jsonNodeSize(&pRoot[j]); in jsonLookupStep()
1141 if( (pRoot->jnFlags & JNODE_APPEND)==0 ) break; in jsonLookupStep()
1142 assert( pRoot->eU==2 ); in jsonLookupStep()
1143 iRoot += pRoot->u.iAppend; in jsonLookupStep()
1144 pRoot = &pParse->aNode[iRoot]; in jsonLookupStep()
1156 pRoot = &pParse->aNode[iRoot]; in jsonLookupStep()
1157 assert( pRoot->eU==0 ); in jsonLookupStep()
1158 pRoot->u.iAppend = iStart - iRoot; in jsonLookupStep()
1159 pRoot->jnFlags |= JNODE_APPEND; in jsonLookupStep()
1160 VVA( pRoot->eU = 2 ); in jsonLookupStep()
1174 JsonNode *pBase = pRoot; in jsonLookupStep()
1176 if( pRoot->eType!=JSON_ARRAY ) return 0; in jsonLookupStep()
1208 if( pRoot->eType!=JSON_ARRAY ) return 0; in jsonLookupStep()
1212 while( j<=pRoot->n && (i>0 || (pRoot[j].jnFlags & JNODE_REMOVE)!=0) ){ in jsonLookupStep()
1213 if( (pRoot[j].jnFlags & JNODE_REMOVE)==0 ) i--; in jsonLookupStep()
1214 j += jsonNodeSize(&pRoot[j]); in jsonLookupStep()
1216 if( (pRoot->jnFlags & JNODE_APPEND)==0 ) break; in jsonLookupStep()
1217 assert( pRoot->eU==2 ); in jsonLookupStep()
1218 iRoot += pRoot->u.iAppend; in jsonLookupStep()
1219 pRoot = &pParse->aNode[iRoot]; in jsonLookupStep()
1222 if( j<=pRoot->n ){ in jsonLookupStep()
1232 pRoot = &pParse->aNode[iRoot]; in jsonLookupStep()
1233 assert( pRoot->eU==0 ); in jsonLookupStep()
1234 pRoot->u.iAppend = iStart - iRoot; in jsonLookupStep()
1235 pRoot->jnFlags |= JNODE_APPEND; in jsonLookupStep()
1236 VVA( pRoot->eU = 2 ); in jsonLookupStep()