Lines Matching refs:nameNr
202 if (ctxt->nameNr >= ctxt->nameMax) { in htmlnamePush()
213 ctxt->nameTab[ctxt->nameNr] = value; in htmlnamePush()
215 return (ctxt->nameNr++); in htmlnamePush()
230 if (ctxt->nameNr <= 0) in htmlnamePop()
232 ctxt->nameNr--; in htmlnamePop()
233 if (ctxt->nameNr < 0) in htmlnamePop()
235 if (ctxt->nameNr > 0) in htmlnamePop()
236 ctxt->name = ctxt->nameTab[ctxt->nameNr - 1]; in htmlnamePop()
239 ret = ctxt->nameTab[ctxt->nameNr]; in htmlnamePop()
240 ctxt->nameTab[ctxt->nameNr] = NULL; in htmlnamePop()
1369 for (i = (ctxt->nameNr - 1); i >= 0; i--) { in htmlAutoCloseOnClose()
1409 if (ctxt->nameNr == 0) in htmlAutoCloseOnEnd()
1411 for (i = (ctxt->nameNr - 1); i >= 0; i--) { in htmlAutoCloseOnEnd()
1524 if (ctxt->nameNr <= 0) { in htmlCheckImplied()
1531 if ((ctxt->nameNr <= 1) && in htmlCheckImplied()
1556 for (i = 0;i < ctxt->nameNr;i++) { in htmlCheckImplied()
3827 if ((ctxt->nameNr > 0) && (xmlStrEqual(name, BAD_CAST"html"))) { in htmlParseStartTag()
3834 if ((ctxt->nameNr != 1) && in htmlParseStartTag()
3844 for (indx = 0;indx < ctxt->nameNr;indx++) { in htmlParseStartTag()
4036 for (i = (ctxt->nameNr - 1); i >= 0; i--) { in htmlParseEndTag()
4176 depth = ctxt->nameNr; in htmlParseContent()
4190 ((currentNode != NULL) || (ctxt->nameNr == 0))) { in htmlParseContent()
4227 if ((ctxt->nameNr > 0) && (depth >= ctxt->nameNr) && in htmlParseContent()
4421 depth = ctxt->nameNr; in htmlParseElement()
4426 if (ctxt->nameNr < depth) break; in htmlParseElement()
4576 depth = ctxt->nameNr; in htmlParseContentInternal()
4590 ((currentNode != NULL) || (ctxt->nameNr == 0))) { in htmlParseContentInternal()
4595 depth = ctxt->nameNr; in htmlParseContentInternal()
4617 depth = ctxt->nameNr; in htmlParseContentInternal()
4633 if ((ctxt->nameNr > 0) && (depth >= ctxt->nameNr) && in htmlParseContentInternal()
4640 depth = ctxt->nameNr; in htmlParseContentInternal()
4688 depth = ctxt->nameNr; in htmlParseContentInternal()
4948 ctxt->nameNr = 0; in htmlInitParserCtxt()
4959 ctxt->nameNr = 0; in htmlInitParserCtxt()
5426 if ((ctxt->nameNr == 0) && (ctxt->instate != XML_PARSER_EOF)) { in htmlParseTryOrFinish()
5970 if (ctxt->nameNr == 0) { in htmlParseTryOrFinish()
6097 if ((ctxt->nameNr == 0) && (ctxt->instate != XML_PARSER_EOF)) { in htmlParseTryOrFinish()
6663 ctxt->nameNr = 0; in htmlCtxtReset()