Home
last modified time | relevance | path

Searched refs:api_doc (Results 1 – 2 of 2) sorted by relevance

/external/libxml2/doc/examples/
Dindex.py21 api_doc = None variable
25 global api_doc
32 api_doc = libxml2.parseFile("../libxml2-api.xml")
39 global api_doc
41 if api_doc == None:
48 ctxt = api_doc.xpathNewContext()
/external/libxml2/
Dtestapi.c31 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()
56api_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()
[all …]