Lines Matching refs:CONT
361 #define CONT ctxt->vstate->cont macro
4817 if ((NODE == NULL) && (CONT == NULL)) in xmlValidateElementType()
4820 ((CONT->ocur == XML_ELEMENT_CONTENT_MULT) || in xmlValidateElementType()
4821 (CONT->ocur == XML_ELEMENT_CONTENT_OPT))) { in xmlValidateElementType()
4824 if (CONT == NULL) return(-1); in xmlValidateElementType()
4839 DEBUG_VALID_STATE(NODE, CONT) in xmlValidateElementType()
4844 DEBUG_VALID_STATE(NODE, CONT) in xmlValidateElementType()
4849 if ((CONT != NULL) && in xmlValidateElementType()
4850 ((CONT->parent == NULL) || in xmlValidateElementType()
4851 (CONT->parent->type != XML_ELEMENT_CONTENT_OR)) && in xmlValidateElementType()
4852 ((CONT->ocur == XML_ELEMENT_CONTENT_MULT) || in xmlValidateElementType()
4853 (CONT->ocur == XML_ELEMENT_CONTENT_OPT) || in xmlValidateElementType()
4854 ((CONT->ocur == XML_ELEMENT_CONTENT_PLUS) && (OCCURRENCE)))) { in xmlValidateElementType()
4856 if (vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT) < 0) in xmlValidateElementType()
4864 switch (CONT->type) { in xmlValidateElementType()
4902 (xmlStrEqual(NODE->name, CONT->name))); in xmlValidateElementType()
4905 ret = (CONT->prefix == NULL); in xmlValidateElementType()
4906 } else if (CONT->prefix == NULL) { in xmlValidateElementType()
4909 ret = xmlStrEqual(NODE->ns->prefix, CONT->prefix); in xmlValidateElementType()
4938 if (CONT->c1->type == XML_ELEMENT_CONTENT_ELEMENT) { in xmlValidateElementType()
4940 (!xmlStrEqual(NODE->name, CONT->c1->name))) { in xmlValidateElementType()
4942 CONT = CONT->c2; in xmlValidateElementType()
4946 ret = (CONT->c1->prefix == NULL); in xmlValidateElementType()
4947 } else if (CONT->c1->prefix == NULL) { in xmlValidateElementType()
4950 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix); in xmlValidateElementType()
4954 CONT = CONT->c2; in xmlValidateElementType()
4963 if (vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1), in xmlValidateElementType()
4967 CONT = CONT->c1; in xmlValidateElementType()
4973 if ((CONT->c1->type == XML_ELEMENT_CONTENT_ELEMENT) && in xmlValidateElementType()
4974 ((CONT->c1->ocur == XML_ELEMENT_CONTENT_OPT) || in xmlValidateElementType()
4975 (CONT->c1->ocur == XML_ELEMENT_CONTENT_MULT))) { in xmlValidateElementType()
4977 (!xmlStrEqual(NODE->name, CONT->c1->name))) { in xmlValidateElementType()
4979 CONT = CONT->c2; in xmlValidateElementType()
4983 ret = (CONT->c1->prefix == NULL); in xmlValidateElementType()
4984 } else if (CONT->c1->prefix == NULL) { in xmlValidateElementType()
4987 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix); in xmlValidateElementType()
4991 CONT = CONT->c2; in xmlValidateElementType()
4996 CONT = CONT->c1; in xmlValidateElementType()
5008 while (CONT != NULL) { in xmlValidateElementType()
5014 switch (CONT->ocur) { in xmlValidateElementType()
5058 switch (CONT->ocur) { in xmlValidateElementType()
5103 if (CONT->parent == NULL) in xmlValidateElementType()
5106 switch (CONT->parent->type) { in xmlValidateElementType()
5116 CONT = CONT->parent; in xmlValidateElementType()
5120 CONT = CONT->parent; in xmlValidateElementType()
5127 CONT = CONT->parent; in xmlValidateElementType()
5129 } else if (CONT == CONT->parent->c1) { in xmlValidateElementType()
5131 CONT = CONT->parent->c2; in xmlValidateElementType()
5135 CONT = CONT->parent; in xmlValidateElementType()
5381 CONT = cont; in xmlValidateElementContent()
5470 CONT = cont; in xmlValidateElementContent()