Lines Matching refs:DEPTH
355 unsigned char depth; /* current depth in the overall tree */
363 #define DEPTH ctxt->vstate->depth
367 #define OCCURRENCE (ctxt->vstate->occurs & (1 << DEPTH))
368 #define PARENT_OCCURRENCE (ctxt->vstate->occurs & ((1 << DEPTH) - 1))
370 #define SET_OCCURRENCE ctxt->vstate->occurs |= (1 << DEPTH)
371 #define RESET_OCCURRENCE ctxt->vstate->occurs &= ((1 << DEPTH) - 1)
375 xmlNodePtr node, unsigned char depth, long occurs,
409 (ctxt->vstateTab[i].depth == depth) &&
415 ctxt->vstateTab[ctxt->vstateNr].depth = depth;
428 ctxt->vstate->depth = ctxt->vstateTab[ctxt->vstateNr].depth;
603 state->depth, state->occurs, state->state);
4856 if (vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT) < 0)
4941 DEPTH++;
4953 DEPTH++;
4963 if (vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1),
4966 DEPTH++;
4978 DEPTH++;
4990 DEPTH++;
4995 DEPTH++;
5117 DEPTH--;
5121 DEPTH--;
5128 DEPTH--;
5136 DEPTH--;
5383 DEPTH = 0;
5472 DEPTH = 0;