Searched refs:objmap (Results 1 – 7 of 7) sorted by relevance
/php-src/ext/dom/ |
H A D | nodelist.c | 37 if (objmap->cached_obj) { in objmap_cache_release_cached_obj() 42 objmap->cached_obj = NULL; in objmap_cache_release_cached_obj() 50 objmap->cached_length = -1; in reset_objmap_cache() 66 if (!objmap) { in php_dom_get_nodelist_length() 70 if (objmap->ht) { in php_dom_get_nodelist_length() 96 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_get_nodelist_length() 109 …basep, nodep, objmap->ns, objmap->local, objmap->local_lower, &count, ZEND_LONG_MAX - 1 /* because… in php_dom_get_nodelist_length() 143 if (objmap != NULL) { in php_dom_nodelist_get_item_into_zval() 144 if (objmap->ht) { 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() [all …]
|
H A D | namednodemap.c | 37 if (!objmap) { in php_dom_get_namednodemap_length() 41 if (objmap->nodetype == XML_NOTATION_NODE || objmap->nodetype == XML_ENTITY_NODE) { in php_dom_get_namednodemap_length() 42 return objmap->ht ? xmlHashSize(objmap->ht) : 0; in php_dom_get_namednodemap_length() 77 if (objmap != NULL) { in php_dom_named_node_map_get_named_item() 79 objmap->nodetype == XML_ENTITY_NODE) { in php_dom_named_node_map_get_named_item() 80 if (objmap->ht) { in php_dom_named_node_map_get_named_item() 138 if (objmap != NULL) { in php_dom_named_node_map_get_item() 141 if (objmap->ht) { in php_dom_named_node_map_get_item() 202 dom_nnodemap_object *objmap; in PHP_METHOD() local 215 if (objmap != NULL) { in PHP_METHOD() [all …]
|
H A D | dom_iterators.c | 148 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_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() 174 dom_nnodemap_object *objmap = nnmap->ptr; in php_dom_iterator_move_forward() local 177 if (objmap->nodetype != XML_ENTITY_NODE && in php_dom_iterator_move_forward() 178 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_iterator_move_forward() 179 if (objmap->nodetype == DOM_NODESET) { in php_dom_iterator_move_forward() 222 basenode, curnode, objmap->ns, objmap->local, objmap->local_lower, &previndex, iter->index); in php_dom_iterator_move_forward() 253 dom_nnodemap_object *objmap; in php_dom_get_iterator() local 274 if (objmap != NULL) { in php_dom_get_iterator() 276 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_get_iterator() [all …]
|
H A D | html_collection.c | 44 dom_nnodemap_object *objmap = intern->ptr; in dom_html_collection_named_item() local 47 xmlNodePtr basep = dom_object_get_node(objmap->baseobj); in dom_html_collection_named_item() 53 …ate = dom_get_elements_by_tag_name_ns_raw(basep, candidate, objmap->ns, objmap->local, objmap->loc… in dom_html_collection_named_item() 62 ret.context_intern = objmap->baseobj; in dom_html_collection_named_item() 69 ret.context_intern = objmap->baseobj; in dom_html_collection_named_item()
|
H A D | nodelist.h | 34 void php_dom_nodelist_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *return…
|
H A D | php_dom.h | 156 xmlNode *php_dom_libxml_hash_iter(dom_nnodemap_object *objmap, int index); 218 xmlNodePtr php_dom_named_node_map_get_named_item(dom_nnodemap_object *objmap, const zend_string *na… 219 void php_dom_named_node_map_get_named_item_into_zval(dom_nnodemap_object *objmap, const zend_string… 220 xmlNodePtr php_dom_named_node_map_get_item(dom_nnodemap_object *objmap, zend_long index); 221 void php_dom_named_node_map_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *…
|
H A D | php_dom.c | 1569 if (objmap) { in dom_nnodemap_objects_free_storage() 1570 if (objmap->cached_obj && GC_DELREF(&objmap->cached_obj->std) == 0) { in dom_nnodemap_objects_free_storage() 1576 if (objmap->free_ns) { in dom_nnodemap_objects_free_storage() 1577 xmlFree(objmap->ns); in dom_nnodemap_objects_free_storage() 1586 efree(objmap); in dom_nnodemap_objects_free_storage() 1605 objmap->baseobj = NULL; in dom_nnodemap_objects_new() 1606 objmap->nodetype = 0; in dom_nnodemap_objects_new() 1607 objmap->ht = NULL; in dom_nnodemap_objects_new() 1608 objmap->local = NULL; in dom_nnodemap_objects_new() 1611 objmap->ns = NULL; in dom_nnodemap_objects_new() [all …]
|
Completed in 51 milliseconds