Lines Matching refs:index

138 void php_dom_nodelist_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *return…  in php_dom_nodelist_get_item_into_zval()  argument
142 if (index >= 0) { in php_dom_nodelist_get_item_into_zval()
145 itemnode = php_dom_libxml_hash_iter(objmap, index); in php_dom_nodelist_get_item_into_zval()
149 zval *entry = zend_hash_index_find(nodeht, index); in php_dom_nodelist_get_item_into_zval()
162 zend_long relative_index = index; in php_dom_nodelist_get_item_into_zval()
163 …if (index >= objmap->cached_obj_index && objmap->cached_obj && !php_dom_is_cache_tag_stale_from_no… in php_dom_nodelist_get_item_into_zval()
220 objmap->cached_obj_index = index; in php_dom_nodelist_get_item_into_zval()
235 zend_long index; in PHP_METHOD() local
237 Z_PARAM_LONG(index) in PHP_METHOD()
243 php_dom_nodelist_get_item_into_zval(objmap, index, return_value); in PHP_METHOD()
288 dom_nodelist_dimension_index index = dom_modern_nodelist_get_index(offset); in dom_modern_nodelist_read_dimension() local
289 if (UNEXPECTED(index.type == DOM_NODELIST_DIM_ILLEGAL || index.type == DOM_NODELIST_DIM_STRING)) { in dom_modern_nodelist_read_dimension()
294 php_dom_nodelist_get_item_into_zval(php_dom_obj_from_obj(object)->ptr, index.lval, rv); in dom_modern_nodelist_read_dimension()
303 dom_nodelist_dimension_index index = dom_modern_nodelist_get_index(member); in dom_modern_nodelist_has_dimension() local
304 if (UNEXPECTED(index.type == DOM_NODELIST_DIM_ILLEGAL || index.type == DOM_NODELIST_DIM_STRING)) { in dom_modern_nodelist_has_dimension()
309 return index.lval >= 0 && index.lval < php_dom_get_nodelist_length(php_dom_obj_from_obj(object)); in dom_modern_nodelist_has_dimension()