Lines Matching refs:CONT
361 #define CONT ctxt->vstate->cont macro
4779 if ((NODE == NULL) && (CONT == NULL)) in xmlValidateElementType()
4782 ((CONT->ocur == XML_ELEMENT_CONTENT_MULT) || in xmlValidateElementType()
4783 (CONT->ocur == XML_ELEMENT_CONTENT_OPT))) { in xmlValidateElementType()
4786 if (CONT == NULL) return(-1); in xmlValidateElementType()
4801 DEBUG_VALID_STATE(NODE, CONT) in xmlValidateElementType()
4806 DEBUG_VALID_STATE(NODE, CONT) in xmlValidateElementType()
4811 if ((CONT != NULL) && in xmlValidateElementType()
4812 ((CONT->parent == NULL) || in xmlValidateElementType()
4813 (CONT->parent->type != XML_ELEMENT_CONTENT_OR)) && in xmlValidateElementType()
4814 ((CONT->ocur == XML_ELEMENT_CONTENT_MULT) || in xmlValidateElementType()
4815 (CONT->ocur == XML_ELEMENT_CONTENT_OPT) || in xmlValidateElementType()
4816 ((CONT->ocur == XML_ELEMENT_CONTENT_PLUS) && (OCCURRENCE)))) { in xmlValidateElementType()
4818 if (vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT) < 0) in xmlValidateElementType()
4826 switch (CONT->type) { in xmlValidateElementType()
4864 (xmlStrEqual(NODE->name, CONT->name))); in xmlValidateElementType()
4867 ret = (CONT->prefix == NULL); in xmlValidateElementType()
4868 } else if (CONT->prefix == NULL) { in xmlValidateElementType()
4871 ret = xmlStrEqual(NODE->ns->prefix, CONT->prefix); in xmlValidateElementType()
4900 if (CONT->c1->type == XML_ELEMENT_CONTENT_ELEMENT) { in xmlValidateElementType()
4902 (!xmlStrEqual(NODE->name, CONT->c1->name))) { in xmlValidateElementType()
4904 CONT = CONT->c2; in xmlValidateElementType()
4908 ret = (CONT->c1->prefix == NULL); in xmlValidateElementType()
4909 } else if (CONT->c1->prefix == NULL) { in xmlValidateElementType()
4912 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix); in xmlValidateElementType()
4916 CONT = CONT->c2; in xmlValidateElementType()
4925 if (vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1), in xmlValidateElementType()
4929 CONT = CONT->c1; in xmlValidateElementType()
4935 if ((CONT->c1->type == XML_ELEMENT_CONTENT_ELEMENT) && in xmlValidateElementType()
4936 ((CONT->c1->ocur == XML_ELEMENT_CONTENT_OPT) || in xmlValidateElementType()
4937 (CONT->c1->ocur == XML_ELEMENT_CONTENT_MULT))) { in xmlValidateElementType()
4939 (!xmlStrEqual(NODE->name, CONT->c1->name))) { in xmlValidateElementType()
4941 CONT = CONT->c2; in xmlValidateElementType()
4945 ret = (CONT->c1->prefix == NULL); in xmlValidateElementType()
4946 } else if (CONT->c1->prefix == NULL) { in xmlValidateElementType()
4949 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix); in xmlValidateElementType()
4953 CONT = CONT->c2; in xmlValidateElementType()
4958 CONT = CONT->c1; in xmlValidateElementType()
4970 while (CONT != NULL) { in xmlValidateElementType()
4976 switch (CONT->ocur) { in xmlValidateElementType()
5020 switch (CONT->ocur) { in xmlValidateElementType()
5065 if (CONT->parent == NULL) in xmlValidateElementType()
5068 switch (CONT->parent->type) { in xmlValidateElementType()
5078 CONT = CONT->parent; in xmlValidateElementType()
5082 CONT = CONT->parent; in xmlValidateElementType()
5089 CONT = CONT->parent; in xmlValidateElementType()
5091 } else if (CONT == CONT->parent->c1) { in xmlValidateElementType()
5093 CONT = CONT->parent->c2; in xmlValidateElementType()
5097 CONT = CONT->parent; in xmlValidateElementType()
5342 CONT = cont; in xmlValidateElementContent()
5431 CONT = cont; in xmlValidateElementContent()