Lines Matching refs:nodep

52 xmlNodePtr dom_nodelist_iter_start_first_child(xmlNodePtr nodep)  in dom_nodelist_iter_start_first_child()  argument
54 if (nodep->type == XML_ENTITY_REF_NODE) { in dom_nodelist_iter_start_first_child()
56 dom_entity_reference_fetch_and_sync_declaration(nodep); in dom_nodelist_iter_start_first_child()
59 return nodep->children; in dom_nodelist_iter_start_first_child()
78 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_get_nodelist_length() local
79 if (!nodep) { in php_dom_get_nodelist_length()
83 if (!php_dom_is_cache_tag_stale_from_node(&objmap->cache_tag, nodep)) { in php_dom_get_nodelist_length()
90 php_dom_mark_cache_tag_up_to_date_from_node(&objmap->cache_tag, nodep); in php_dom_get_nodelist_length()
96 xmlNodePtr curnode = dom_nodelist_iter_start_first_child(nodep); in php_dom_get_nodelist_length()
105 xmlNodePtr basep = nodep; in php_dom_get_nodelist_length()
106 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_nodelist_length()
107 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_nodelist_length()
109 nodep = nodep->children; in php_dom_get_nodelist_length()
112 …basep, nodep, (char *) objmap->ns, (char *) objmap->local, &count, ZEND_LONG_MAX - 1 /* because of… in php_dom_get_nodelist_length()
172 xmlNodePtr nodep = basep; in php_dom_nodelist_get_item_into_zval() local
178 …_index && objmap->cached_obj && !php_dom_is_cache_tag_stale_from_node(&objmap->cache_tag, nodep)) { in php_dom_nodelist_get_item_into_zval()
192 nodep = cached_obj_xml_node; in php_dom_nodelist_get_item_into_zval()
198 nodep = dom_nodelist_iter_start_first_child(nodep); in php_dom_nodelist_get_item_into_zval()
200 while (count < relative_index && nodep != NULL) { in php_dom_nodelist_get_item_into_zval()
202 nodep = nodep->next; in php_dom_nodelist_get_item_into_zval()
204 itemnode = nodep; in php_dom_nodelist_get_item_into_zval()
208 nodep = xmlDocGetRootElement((xmlDoc*) basep); in php_dom_nodelist_get_item_into_zval()
210 nodep = basep->children; in php_dom_nodelist_get_item_into_zval()
213 …itemnode = dom_get_elements_by_tag_name_ns_raw(basep, nodep, (char *) objmap->ns, (char *) objmap-… in php_dom_nodelist_get_item_into_zval()