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, INT_MAX - 1 /* because of <=… 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() 170 dom_nnodemap_object *objmap = nnmap->ptr; in php_dom_iterator_move_forward() local 176 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_iterator_move_forward() 177 if (objmap->nodetype == DOM_NODESET) { in php_dom_iterator_move_forward() 220 basenode, curnode, objmap->ns, objmap->local, objmap->local_lower, &previndex, iter->index); in php_dom_iterator_move_forward() 251 dom_nnodemap_object *objmap; in php_dom_get_iterator() local 272 if (objmap != NULL) { in php_dom_get_iterator() 274 objmap->nodetype != XML_NOTATION_NODE) { in php_dom_get_iterator() 275 if (objmap->nodetype == DOM_NODESET) { 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 | 155 xmlNode *php_dom_libxml_hash_iter(dom_nnodemap_object *objmap, int index); 214 xmlNodePtr php_dom_named_node_map_get_named_item(dom_nnodemap_object *objmap, const zend_string *na… 215 void php_dom_named_node_map_get_named_item_into_zval(dom_nnodemap_object *objmap, const zend_string… 216 xmlNodePtr php_dom_named_node_map_get_item(dom_nnodemap_object *objmap, zend_long index); 217 void php_dom_named_node_map_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *…
|
H A D | php_dom.c | 1522 if (objmap) { in dom_nnodemap_objects_free_storage() 1523 if (objmap->cached_obj && GC_DELREF(&objmap->cached_obj->std) == 0) { in dom_nnodemap_objects_free_storage() 1529 if (objmap->free_ns) { in dom_nnodemap_objects_free_storage() 1530 xmlFree(objmap->ns); in dom_nnodemap_objects_free_storage() 1538 efree(objmap); in dom_nnodemap_objects_free_storage() 1557 objmap->baseobj = NULL; in dom_nnodemap_objects_new() 1558 objmap->nodetype = 0; in dom_nnodemap_objects_new() 1559 objmap->ht = NULL; in dom_nnodemap_objects_new() 1560 objmap->local = NULL; in dom_nnodemap_objects_new() 1563 objmap->ns = NULL; in dom_nnodemap_objects_new() [all …]
|
Completed in 27 milliseconds