Lines Matching defs:pPatch
198348 #define JNODE_PATCH 0x10 /* Patch with JsonNode.u.pPatch */
198365 JsonNode *pPatch; /* 5: Node chain of patch for JNODE_PATCH */
198651 pNode = pNode->u.pPatch;
199865 JsonNode *pPatch /* The PATCH */
199870 if( pPatch->eType!=JSON_OBJECT ){
199871 return pPatch;
199875 assert( (pPatch->jnFlags & JNODE_APPEND)==0 );
199877 jsonRemoveAllNulls(pPatch);
199878 return pPatch;
199881 for(i=1; i<pPatch->n; i += jsonNodeSize(&pPatch[i+1])+1){
199884 assert( pPatch[i].eType==JSON_STRING );
199885 assert( pPatch[i].jnFlags & JNODE_LABEL );
199886 assert( pPatch[i].eU==1 );
199887 nKey = pPatch[i].n;
199888 zKey = pPatch[i].u.zJContent;
199889 assert( (pPatch[i].jnFlags & JNODE_RAW)==0 );
199893 assert( (pPatch[i].jnFlags & JNODE_RAW)==0 );
199896 if( pPatch[i+1].eType==JSON_NULL ){
199899 JsonNode *pNew = jsonMergePatch(pParse, iTarget+j+1, &pPatch[i+1]);
199909 pTarget[j+1].u.pPatch = pNew;
199916 if( j>=pTarget->n && pPatch[i+1].eType!=JSON_NULL ){
199922 jsonRemoveAllNulls(pPatch);
199933 pParse->aNode[iPatch].u.pPatch = &pPatch[i+1];