• Home
  • Raw
  • Download

Lines Matching refs:dtd

201 xmlAddEntity(xmlDtdPtr dtd, const xmlChar *name, int type,  in xmlAddEntity()  argument
210 if (dtd == NULL) in xmlAddEntity()
212 if (dtd->doc != NULL) in xmlAddEntity()
213 dict = dtd->doc->dict; in xmlAddEntity()
219 if (dtd->entities == NULL) in xmlAddEntity()
220 dtd->entities = xmlHashCreateDict(0, dict); in xmlAddEntity()
221 table = dtd->entities; in xmlAddEntity()
225 if (dtd->pentities == NULL) in xmlAddEntity()
226 dtd->pentities = xmlHashCreateDict(0, dict); in xmlAddEntity()
227 table = dtd->pentities; in xmlAddEntity()
237 ret->doc = dtd->doc; in xmlAddEntity()
303 xmlDtdPtr dtd; in xmlAddDtdEntity() local
315 dtd = doc->extSubset; in xmlAddDtdEntity()
316 ret = xmlAddEntity(dtd, name, type, ExternalID, SystemID, content); in xmlAddDtdEntity()
322 ret->parent = dtd; in xmlAddDtdEntity()
323 ret->doc = dtd->doc; in xmlAddDtdEntity()
324 if (dtd->last == NULL) { in xmlAddDtdEntity()
325 dtd->children = dtd->last = (xmlNodePtr) ret; in xmlAddDtdEntity()
327 dtd->last->next = (xmlNodePtr) ret; in xmlAddDtdEntity()
328 ret->prev = dtd->last; in xmlAddDtdEntity()
329 dtd->last = (xmlNodePtr) ret; in xmlAddDtdEntity()
352 xmlDtdPtr dtd; in xmlAddDocEntity() local
364 dtd = doc->intSubset; in xmlAddDocEntity()
365 ret = xmlAddEntity(dtd, name, type, ExternalID, SystemID, content); in xmlAddDocEntity()
371 ret->parent = dtd; in xmlAddDocEntity()
372 ret->doc = dtd->doc; in xmlAddDocEntity()
373 if (dtd->last == NULL) { in xmlAddDocEntity()
374 dtd->children = dtd->last = (xmlNodePtr) ret; in xmlAddDocEntity()
376 dtd->last->next = (xmlNodePtr) ret; in xmlAddDocEntity()
377 ret->prev = dtd->last; in xmlAddDocEntity()
378 dtd->last = (xmlNodePtr) ret; in xmlAddDocEntity()