Home | History | Annotate | Download | only in libxml2

Lines Matching refs:ent

1257  * @ent: the entity
1266 xmlEntityPtr ent = (xmlEntityPtr) payload;
1272 if ((ent == NULL) || (data == NULL))
1278 switch (ent->etype) {
1288 ret = xmlAddDocEntity(doc, ent->name, ent->etype, ent->ExternalID,
1289 ent->SystemID, ent->content);
1291 if (ent->URI != NULL)
1292 ret->URI = xmlStrdup(ent->URI);
1294 prev = xmlGetDocEntity(doc, ent->name);
1296 if (ent->etype != prev->etype)
1299 if ((ent->SystemID != NULL) && (prev->SystemID != NULL)) {
1300 if (!xmlStrEqual(ent->SystemID, prev->SystemID))
1302 } else if ((ent->ExternalID != NULL) &&
1304 if (!xmlStrEqual(ent->ExternalID, prev->ExternalID))
1306 } else if ((ent->content != NULL) && (prev->content != NULL)) {
1307 if (!xmlStrEqual(ent->content, prev->content))
1317 switch (ent->etype) {
1327 xmlXIncludeErr(ctxt, (xmlNodePtr) ent, XML_XINCLUDE_ENTITY_DEF_MISMATCH,
1329 ent->name);