Lines Matching refs:doc_p
241 static int parse_document(xmlDocPtr doc_p, WAPEvent **e);
351 xmlDocPtr doc_p; in pap_compile() local
363 doc_p = xmlParseMemory(octstr_get_cstr(pap_content), oslen); in pap_compile()
364 if (doc_p == NULL) { in pap_compile()
368 if ((ret = parse_document(doc_p, e)) < 0) { in pap_compile()
372 xmlFreeDoc(doc_p); in pap_compile()
376 xmlFreeDoc(doc_p); in pap_compile()
383 xmlFreeDoc(doc_p); in pap_compile()
418 static int parse_document(xmlDocPtr doc_p, WAPEvent **e) in parse_document() argument
426 gw_assert(doc_p); in parse_document()
427 node = xmlDocGetRootElement(doc_p); in parse_document()