Lines Matching refs:ent
640 xmlCtxtDumpEntityDecl(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent)
644 if (ent == NULL) {
649 if (ent->type != XML_ENTITY_DECL) {
654 if (ent->name != NULL) {
657 xmlCtxtDumpString(ctxt, ent->name);
664 switch (ent->etype) {
684 if (ent->ExternalID) {
687 (char *) ent->ExternalID);
689 if (ent->SystemID) {
692 (char *) ent->SystemID);
694 if (ent->URI != NULL) {
696 fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI);
698 if (ent->content) {
701 xmlCtxtDumpString(ctxt, ent->content);
709 xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) ent);
759 xmlCtxtDumpEntity(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent)
763 if (ent == NULL) {
769 switch (ent->etype) {
786 fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype);
788 fprintf(ctxt->output, "%s\n", ent->name);
789 if (ent->ExternalID) {
792 (char *) ent->ExternalID);
794 if (ent->SystemID) {
796 fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID);
798 if (ent->URI) {
800 fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI);
802 if (ent->content) {
805 xmlCtxtDumpString(ctxt, ent->content);
1035 xmlEntityPtr ent;
1037 ent = xmlGetDocEntity(node->doc, node->name);
1038 if (ent != NULL)
1039 xmlCtxtDumpEntity(ctxt, ent);