Lines Matching defs:cont

347     xmlElementContentPtr cont;	/* pointer to the content model subtree */
356 #define CONT ctxt->vstate->cont
369 vstateVPush(xmlValidCtxtPtr ctxt, xmlElementContentPtr cont,
402 if ((i >= 0) && (ctxt->vstateTab[i].cont == cont) &&
408 ctxt->vstateTab[ctxt->vstateNr].cont = cont;
421 ctxt->vstate->cont = ctxt->vstateTab[ctxt->vstateNr].cont;
564 xmlValidDebug(xmlNodePtr cur, xmlElementContentPtr cont) {
571 xmlSnprintfElementContent(expr, 5000, cont, 1);
578 if (state->cont == NULL)
581 switch (state->cont->type) {
587 state->cont->name);
4719 cont:
4831 goto cont;
4843 goto cont;
4856 goto cont;
4868 goto cont;
4880 goto cont;
4885 goto cont;
4914 goto cont;
4925 goto cont;
4968 goto cont;
4982 goto cont;
5020 goto cont;
5039 goto cont;
5052 goto cont;
5163 xmlElementContentPtr cont;
5168 cont = elemDecl->content;
5268 CONT = cont;
5357 CONT = cont;
5371 xmlSnprintfElementContent(&expr[0], 5000, cont, 1);
5500 * @cont: the mixed content model
5509 xmlElementContentPtr cont, const xmlChar *qname) {
5515 while (cont != NULL) {
5516 if (cont->type == XML_ELEMENT_CONTENT_ELEMENT) {
5517 if ((cont->prefix == NULL) && (xmlStrEqual(cont->name, qname)))
5519 } else if ((cont->type == XML_ELEMENT_CONTENT_OR) &&
5520 (cont->c1 != NULL) &&
5521 (cont->c1->type == XML_ELEMENT_CONTENT_ELEMENT)){
5522 if ((cont->c1->prefix == NULL) &&
5523 (xmlStrEqual(cont->c1->name, qname)))
5525 } else if ((cont->type != XML_ELEMENT_CONTENT_OR) ||
5526 (cont->c1 == NULL) ||
5527 (cont->c1->type != XML_ELEMENT_CONTENT_PCDATA)){
5533 cont = cont->c2;
5536 while (cont != NULL) {
5537 if (cont->type == XML_ELEMENT_CONTENT_ELEMENT) {
5538 if ((cont->prefix != NULL) &&
5539 (xmlStrncmp(cont->prefix, qname, plen) == 0) &&
5540 (xmlStrEqual(cont->name, name)))
5542 } else if ((cont->type == XML_ELEMENT_CONTENT_OR) &&
5543 (cont->c1 != NULL) &&
5544 (cont->c1->type == XML_ELEMENT_CONTENT_ELEMENT)){
5545 if ((cont->c1->prefix != NULL) &&
5546 (xmlStrncmp(cont->c1->prefix, qname, plen) == 0) &&
5547 (xmlStrEqual(cont->c1->name, name)))
5549 } else if ((cont->type != XML_ELEMENT_CONTENT_OR) ||
5550 (cont->c1 == NULL) ||
5551 (cont->c1->type != XML_ELEMENT_CONTENT_PCDATA)){
5557 cont = cont->c2;
5870 xmlElementContentPtr cont;
5995 cont = elemDecl->content;
5996 while (cont != NULL) {
5997 if (cont->type == XML_ELEMENT_CONTENT_ELEMENT) {
5998 if (xmlStrEqual(cont->name, fullname))
6000 } else if ((cont->type == XML_ELEMENT_CONTENT_OR) &&
6001 (cont->c1 != NULL) &&
6002 (cont->c1->type == XML_ELEMENT_CONTENT_ELEMENT)){
6003 if (xmlStrEqual(cont->c1->name, fullname))
6005 } else if ((cont->type != XML_ELEMENT_CONTENT_OR) ||
6006 (cont->c1 == NULL) ||
6007 (cont->c1->type != XML_ELEMENT_CONTENT_PCDATA)){
6013 cont = cont->c2;
6017 if (cont != NULL)
6020 cont = elemDecl->content;
6021 while (cont != NULL) {
6022 if (cont->type == XML_ELEMENT_CONTENT_ELEMENT) {
6023 if (xmlStrEqual(cont->name, name)) break;
6024 } else if ((cont->type == XML_ELEMENT_CONTENT_OR) &&
6025 (cont->c1 != NULL) &&
6026 (cont->c1->type == XML_ELEMENT_CONTENT_ELEMENT)) {
6027 if (xmlStrEqual(cont->c1->name, name)) break;
6028 } else if ((cont->type != XML_ELEMENT_CONTENT_OR) ||
6029 (cont->c1 == NULL) ||
6030 (cont->c1->type != XML_ELEMENT_CONTENT_PCDATA)) {
6036 cont = cont->c2;
6038 if (cont == NULL) {
6076 cont = elemDecl->content;