Lines Matching refs:ent
637 xmlCtxtDumpEntityDecl(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent) in xmlCtxtDumpEntityDecl() argument
641 if (ent == NULL) { in xmlCtxtDumpEntityDecl()
646 if (ent->type != XML_ENTITY_DECL) { in xmlCtxtDumpEntityDecl()
651 if (ent->name != NULL) { in xmlCtxtDumpEntityDecl()
654 xmlCtxtDumpString(ctxt, ent->name); in xmlCtxtDumpEntityDecl()
661 switch (ent->etype) { in xmlCtxtDumpEntityDecl()
681 if (ent->ExternalID) { in xmlCtxtDumpEntityDecl()
684 (char *) ent->ExternalID); in xmlCtxtDumpEntityDecl()
686 if (ent->SystemID) { in xmlCtxtDumpEntityDecl()
689 (char *) ent->SystemID); in xmlCtxtDumpEntityDecl()
691 if (ent->URI != NULL) { in xmlCtxtDumpEntityDecl()
693 fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI); in xmlCtxtDumpEntityDecl()
695 if (ent->content) { in xmlCtxtDumpEntityDecl()
698 xmlCtxtDumpString(ctxt, ent->content); in xmlCtxtDumpEntityDecl()
706 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) ent); in xmlCtxtDumpEntityDecl()
756 xmlCtxtDumpEntity(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent) in xmlCtxtDumpEntity() argument
760 if (ent == NULL) { in xmlCtxtDumpEntity()
766 switch (ent->etype) { in xmlCtxtDumpEntity()
783 fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype); in xmlCtxtDumpEntity()
785 fprintf(ctxt->output, "%s\n", ent->name); in xmlCtxtDumpEntity()
786 if (ent->ExternalID) { in xmlCtxtDumpEntity()
789 (char *) ent->ExternalID); in xmlCtxtDumpEntity()
791 if (ent->SystemID) { in xmlCtxtDumpEntity()
793 fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID); in xmlCtxtDumpEntity()
795 if (ent->URI) { in xmlCtxtDumpEntity()
797 fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI); in xmlCtxtDumpEntity()
799 if (ent->content) { in xmlCtxtDumpEntity()
802 xmlCtxtDumpString(ctxt, ent->content); in xmlCtxtDumpEntity()
1032 xmlEntityPtr ent; in xmlCtxtDumpOneNode() local
1034 ent = xmlGetDocEntity(node->doc, node->name); in xmlCtxtDumpOneNode()
1035 if (ent != NULL) in xmlCtxtDumpOneNode()
1036 xmlCtxtDumpEntity(ctxt, ent); in xmlCtxtDumpOneNode()