Lines Matching refs:objmap
80 xmlNode *php_dom_libxml_hash_iter(dom_nnodemap_object *objmap, int index) in php_dom_libxml_hash_iter() argument
82 xmlNode *curnode = php_dom_libxml_hash_iter_ex(objmap->ht, index); in php_dom_libxml_hash_iter()
84 if (curnode != NULL && objmap->nodetype != XML_ENTITY_NODE) { in php_dom_libxml_hash_iter()
142 static xmlNodePtr dom_fetch_first_iteration_item(dom_nnodemap_object *objmap) in dom_fetch_first_iteration_item() argument
144 xmlNodePtr basep = dom_object_get_node(objmap->baseobj); in dom_fetch_first_iteration_item()
148 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in dom_fetch_first_iteration_item()
149 if (objmap->nodetype == XML_ATTRIBUTE_NODE) { in dom_fetch_first_iteration_item()
158 basep, nodep, objmap->ns, objmap->local, objmap->local_lower, &curindex, 0); in dom_fetch_first_iteration_item()
170 dom_nnodemap_object *objmap = nnmap->ptr; in php_dom_iterator_move_forward() local
175 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_iterator_move_forward()
176 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_iterator_move_forward()
177 if (objmap->nodetype == DOM_NODESET) { in php_dom_iterator_move_forward()
178 HashTable *nodeht = HASH_OF(&objmap->baseobj_zv); in php_dom_iterator_move_forward()
187 if (objmap->nodetype == XML_ATTRIBUTE_NODE || in php_dom_iterator_move_forward()
188 objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_iterator_move_forward()
193 curnode = dom_fetch_first_iteration_item(objmap); in php_dom_iterator_move_forward()
205 xmlNodePtr basenode = dom_object_get_node(objmap->baseobj); in php_dom_iterator_move_forward()
220 basenode, curnode, objmap->ns, objmap->local, objmap->local_lower, &previndex, iter->index); in php_dom_iterator_move_forward()
224 curnode = php_dom_libxml_hash_iter(objmap, iter->index); in php_dom_iterator_move_forward()
232 php_dom_create_object(curnode, &iterator->curobj, objmap->baseobj); in php_dom_iterator_move_forward()
251 dom_nnodemap_object *objmap; in php_dom_get_iterator() local
271 objmap = (dom_nnodemap_object *)intern->ptr; in php_dom_get_iterator()
272 if (objmap != NULL) { in php_dom_get_iterator()
273 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_get_iterator()
274 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_get_iterator()
275 if (objmap->nodetype == DOM_NODESET) { in php_dom_get_iterator()
276 nodeht = HASH_OF(&objmap->baseobj_zv); in php_dom_get_iterator()
282 curnode = dom_fetch_first_iteration_item(objmap); in php_dom_get_iterator()
285 curnode = php_dom_libxml_hash_iter(objmap, 0); in php_dom_get_iterator()
290 php_dom_create_object(curnode, &iterator->curobj, objmap->baseobj); in php_dom_get_iterator()