Lines Matching refs:objmap
200 dom_nnodemap_object *objmap; in php_dom_iterator_move_forward() local
209 objmap = (dom_nnodemap_object *)nnmap->ptr; in php_dom_iterator_move_forward()
214 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_iterator_move_forward()
215 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_iterator_move_forward()
216 if (objmap->nodetype == DOM_NODESET) { in php_dom_iterator_move_forward()
217 nodeht = HASH_OF(objmap->baseobjptr); in php_dom_iterator_move_forward()
225 if (objmap->nodetype == XML_ATTRIBUTE_NODE || in php_dom_iterator_move_forward()
226 objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_iterator_move_forward()
230 basenode = dom_object_get_node(objmap->baseobj); in php_dom_iterator_move_forward()
239 …curnode = dom_get_elements_by_tag_name_ns_raw(basenode, objmap->ns, objmap->local, &previndex, ite… in php_dom_iterator_move_forward()
243 if (objmap->nodetype == XML_ENTITY_NODE) { in php_dom_iterator_move_forward()
244 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward()
246 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward()
254 curattr = php_dom_create_object(curnode, &ret, NULL, curattr, objmap->baseobj TSRMLS_CC); in php_dom_iterator_move_forward()
273 dom_nnodemap_object *objmap; in php_dom_get_iterator() local
291 objmap = (dom_nnodemap_object *)intern->ptr; in php_dom_get_iterator()
292 if (objmap != NULL) { in php_dom_get_iterator()
293 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_get_iterator()
294 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_get_iterator()
295 if (objmap->nodetype == DOM_NODESET) { in php_dom_get_iterator()
296 nodeht = HASH_OF(objmap->baseobjptr); in php_dom_get_iterator()
303 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
307 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_get_iterator()
308 if (objmap->nodetype == XML_ATTRIBUTE_NODE) { in php_dom_get_iterator()
319 curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &curindex, 0); in php_dom_get_iterator()
323 if (objmap->nodetype == XML_ENTITY_NODE) { in php_dom_get_iterator()
324 curnode = php_dom_libxml_hash_iter(objmap->ht, 0); in php_dom_get_iterator()
326 curnode = php_dom_libxml_notation_iter(objmap->ht, 0); in php_dom_get_iterator()
333 curattr = php_dom_create_object(curnode, &ret, NULL, curattr, objmap->baseobj TSRMLS_CC); in php_dom_get_iterator()