Lines Matching refs:api_doc
31 static xmlDocPtr api_doc = NULL; variable
45 xmlFreeDoc(api_doc); in free_api_doc()
46 api_doc = NULL; in free_api_doc()
55 if (api_doc == NULL) { in get_api_doc()
56 …api_doc = xmlReadMemory("<!DOCTYPE root [<!ELEMENT root EMPTY>]><root xmlns:h='http://example.com/… in get_api_doc()
60 return(api_doc); in get_api_doc()
67 if ((api_doc != NULL) && (api_doc->children != NULL) && in get_api_dtd()
68 (api_doc->children->type == XML_DTD_NODE)) in get_api_dtd()
69 api_dtd = (xmlDtdPtr) api_doc->children; in get_api_dtd()
78 if ((api_doc != NULL) && (api_doc->children != NULL) && in get_api_root()
79 (api_doc->children->next != NULL) && in get_api_root()
80 (api_doc->children->next->type == XML_ELEMENT_NODE)) in get_api_root()
81 api_root = api_doc->children->next; in get_api_root()
501 if ((val != NULL) && (val != api_doc) && (val->doc != api_doc)) in des_xmlDocPtr()
779 if (val != api_doc) in desret_xmlDocPtr()
796 if ((val != NULL) && (val != api_root) && (val != (xmlNodePtr) api_doc)) { in desret_xmlNodePtr()
916 if ((val != NULL) && (val != api_doc) && (val->doc != api_doc)) in des_htmlDocPtr()
920 if ((val != NULL) && (val != api_doc) && (val->doc != api_doc)) in desret_htmlDocPtr()