• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching defs:doc

101     if (entity->doc != NULL)
102 dict = entity->doc->dict;
156 if (dtd->doc != NULL)
157 dict = dtd->doc->dict;
219 ret->doc = dtd->doc;
269 * @doc: the document
281 xmlAddDtdEntity(xmlDocPtr doc, const xmlChar *name, int type,
287 if (doc == NULL) {
292 if (doc->extSubset == NULL) {
297 dtd = doc->extSubset;
305 ret->doc = dtd->doc;
318 * @doc: the document
330 xmlAddDocEntity(xmlDocPtr doc, const xmlChar *name, int type,
336 if (doc == NULL) {
341 if (doc->intSubset == NULL) {
346 dtd = doc->intSubset;
354 ret->doc = dtd->doc;
383 * @doc: the document referencing the entity
392 xmlGetParameterEntity(xmlDocPtr doc, const xmlChar *name) {
396 if (doc == NULL)
398 if ((doc->intSubset != NULL) && (doc->intSubset->pentities != NULL)) {
399 table = (xmlEntitiesTablePtr) doc->intSubset->pentities;
404 if ((doc->extSubset != NULL) && (doc->extSubset->pentities != NULL)) {
405 table = (xmlEntitiesTablePtr) doc->extSubset->pentities;
413 * @doc: the document referencing the entity
423 xmlGetDtdEntity(xmlDocPtr doc, const xmlChar *name) {
426 if (doc == NULL)
428 if ((doc->extSubset != NULL) && (doc->extSubset->entities != NULL)) {
429 table = (xmlEntitiesTablePtr) doc->extSubset->entities;
437 * @doc: the document referencing the entity
447 xmlGetDocEntity(xmlDocPtr doc, const xmlChar *name) {
451 if (doc != NULL) {
452 if ((doc->intSubset != NULL) && (doc->intSubset->entities != NULL)) {
453 table = (xmlEntitiesTablePtr) doc->intSubset->entities;
458 if (doc->standalone != 1) {
459 if ((doc->extSubset != NULL) &&
460 (doc->extSubset->entities != NULL)) {
461 table = (xmlEntitiesTablePtr) doc->extSubset->entities;
487 * @doc: the document containing the string
498 xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) {
506 if (doc != NULL)
507 html = (doc->type == XML_HTML_DOCUMENT_NODE);
554 if (((doc != NULL) && (doc->encoding != NULL)) || (html)) {
575 if (doc != NULL)
576 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
608 if (doc != NULL)
609 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
643 * @doc: the document containing the string
652 xmlEncodeSpecialChars(xmlDocPtr doc ATTRIBUTE_UNUSED, const xmlChar *input) {