Lines Matching refs:cur
58 xmlNodePtr cur = i_pDocument->children; in lcl_getDocumentType() local
59 while (cur != NULL) in lcl_getDocumentType()
61 if ((cur->type == XML_DOCUMENT_TYPE_NODE) || in lcl_getDocumentType()
62 (cur->type == XML_DTD_NODE)) { in lcl_getDocumentType()
63 return cur; in lcl_getDocumentType()
73 xmlNodePtr cur = i_pDocument->children; in lcl_getDocumentRootPtr() local
74 while (cur != NULL) in lcl_getDocumentRootPtr()
76 if (cur->type == XML_ELEMENT_NODE) in lcl_getDocumentRootPtr()
78 cur = cur->next; in lcl_getDocumentRootPtr()
80 return cur; in lcl_getDocumentRootPtr()
660 lcl_search_element_by_id(const xmlNodePtr cur, const xmlChar* id) in lcl_search_element_by_id() argument
662 if (cur == NULL) in lcl_search_element_by_id()
665 if (cur->type == XML_ELEMENT_NODE) in lcl_search_element_by_id()
667 xmlAttrPtr a = cur->properties; in lcl_search_element_by_id()
672 return cur; in lcl_search_element_by_id()
678 xmlNodePtr result = lcl_search_element_by_id(cur->children, id); in lcl_search_element_by_id()
681 result = lcl_search_element_by_id(cur->next, id); in lcl_search_element_by_id()