Lines Matching refs:objmap
181 dom_nnodemap_object *objmap; in php_dom_iterator_move_forward() local
191 objmap = (dom_nnodemap_object *)nnmap->ptr; in php_dom_iterator_move_forward()
196 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_iterator_move_forward()
197 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_iterator_move_forward()
198 if (objmap->nodetype == DOM_NODESET) { in php_dom_iterator_move_forward()
199 nodeht = HASH_OF(&objmap->baseobj_zv); in php_dom_iterator_move_forward()
209 if (objmap->nodetype == XML_ATTRIBUTE_NODE || in php_dom_iterator_move_forward()
210 objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_iterator_move_forward()
214 basenode = dom_object_get_node(objmap->baseobj); in php_dom_iterator_move_forward()
224 basenode, (char *) objmap->ns, (char *) objmap->local, &previndex, iter->index); in php_dom_iterator_move_forward()
228 if (objmap->nodetype == XML_ENTITY_NODE) { in php_dom_iterator_move_forward()
229 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward()
231 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward()
241 php_dom_create_object(curnode, &iterator->curobj, objmap->baseobj); in php_dom_iterator_move_forward()
258 dom_nnodemap_object *objmap; in php_dom_get_iterator() local
277 objmap = (dom_nnodemap_object *)intern->ptr; in php_dom_get_iterator()
278 if (objmap != NULL) { in php_dom_get_iterator()
279 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_get_iterator()
280 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_get_iterator()
281 if (objmap->nodetype == DOM_NODESET) { in php_dom_get_iterator()
282 nodeht = HASH_OF(&objmap->baseobj_zv); in php_dom_get_iterator()
288 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
292 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_get_iterator()
293 if (objmap->nodetype == XML_ATTRIBUTE_NODE) { in php_dom_get_iterator()
305 nodep, (char *) objmap->ns, (char *) objmap->local, &curindex, 0); in php_dom_get_iterator()
309 if (objmap->nodetype == XML_ENTITY_NODE) { in php_dom_get_iterator()
310 curnode = php_dom_libxml_hash_iter(objmap->ht, 0); in php_dom_get_iterator()
312 curnode = php_dom_libxml_notation_iter(objmap->ht, 0); in php_dom_get_iterator()
318 php_dom_create_object(curnode, &iterator->curobj, objmap->baseobj); in php_dom_get_iterator()