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()
260 dom_nnodemap_object *objmap; in php_dom_get_iterator() local
280 objmap = (dom_nnodemap_object *)intern->ptr; in php_dom_get_iterator()
281 if (objmap != NULL) { in php_dom_get_iterator()
282 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_get_iterator()
283 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_get_iterator()
284 if (objmap->nodetype == DOM_NODESET) { in php_dom_get_iterator()
285 nodeht = HASH_OF(&objmap->baseobj_zv); in php_dom_get_iterator()
291 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
295 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_get_iterator()
296 if (objmap->nodetype == XML_ATTRIBUTE_NODE) { in php_dom_get_iterator()
308 nodep, (char *) objmap->ns, (char *) objmap->local, &curindex, 0); in php_dom_get_iterator()
312 if (objmap->nodetype == XML_ENTITY_NODE) { in php_dom_get_iterator()
313 curnode = php_dom_libxml_hash_iter(objmap->ht, 0); in php_dom_get_iterator()
315 curnode = php_dom_libxml_notation_iter(objmap->ht, 0); in php_dom_get_iterator()
321 php_dom_create_object(curnode, &iterator->curobj, objmap->baseobj); in php_dom_get_iterator()