Lines Matching refs:objmap
36 dom_nnodemap_object *objmap = (dom_nnodemap_object *) obj->ptr; in php_dom_get_namednodemap_length() local
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()
46 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_get_namednodemap_length()
74 xmlNodePtr php_dom_named_node_map_get_named_item(dom_nnodemap_object *objmap, const zend_string *na… in php_dom_named_node_map_get_named_item() argument
77 if (objmap != NULL) { in php_dom_named_node_map_get_named_item()
78 if ((objmap->nodetype == XML_NOTATION_NODE) || 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()
81 if (objmap->nodetype == XML_ENTITY_NODE) { in php_dom_named_node_map_get_named_item()
82 itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, BAD_CAST ZSTR_VAL(named)); in php_dom_named_node_map_get_named_item()
84 xmlNotationPtr notep = xmlHashLookup(objmap->ht, BAD_CAST ZSTR_VAL(named)); in php_dom_named_node_map_get_named_item()
95 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_named_node_map_get_named_item()
97 if (php_dom_follow_spec_intern(objmap->baseobj)) { in php_dom_named_node_map_get_named_item()
108 void php_dom_named_node_map_get_named_item_into_zval(dom_nnodemap_object *objmap, const zend_string… in php_dom_named_node_map_get_named_item_into_zval() argument
110 xmlNodePtr itemnode = php_dom_named_node_map_get_named_item(objmap, named, true); in php_dom_named_node_map_get_named_item_into_zval()
112 DOM_RET_OBJ(itemnode, objmap->baseobj); in php_dom_named_node_map_get_named_item_into_zval()
130 dom_nnodemap_object *objmap = Z_DOMOBJ_P(id)->ptr; in PHP_METHOD() local
131 php_dom_named_node_map_get_named_item_into_zval(objmap, named, return_value); in PHP_METHOD()
135 xmlNodePtr php_dom_named_node_map_get_item(dom_nnodemap_object *objmap, zend_long index) in php_dom_named_node_map_get_item() argument
138 if (objmap != NULL) { in php_dom_named_node_map_get_item()
139 if ((objmap->nodetype == XML_NOTATION_NODE) || in php_dom_named_node_map_get_item()
140 objmap->nodetype == XML_ENTITY_NODE) { in php_dom_named_node_map_get_item()
141 if (objmap->ht) { in php_dom_named_node_map_get_item()
142 itemnode = php_dom_libxml_hash_iter(objmap, index); in php_dom_named_node_map_get_item()
145 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_named_node_map_get_item()
160 void php_dom_named_node_map_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *… in php_dom_named_node_map_get_item_into_zval() argument
162 xmlNodePtr itemnode = php_dom_named_node_map_get_item(objmap, index); in php_dom_named_node_map_get_item_into_zval()
164 DOM_RET_OBJ(itemnode, objmap->baseobj); in php_dom_named_node_map_get_item_into_zval()
186 dom_nnodemap_object *objmap = intern->ptr; in PHP_METHOD() local
187 php_dom_named_node_map_get_item_into_zval(objmap, index, return_value); in PHP_METHOD()
202 dom_nnodemap_object *objmap; in PHP_METHOD() local
213 objmap = (dom_nnodemap_object *)intern->ptr; in PHP_METHOD()
215 if (objmap != NULL) { in PHP_METHOD()
216 if ((objmap->nodetype == XML_NOTATION_NODE) || in PHP_METHOD()
217 objmap->nodetype == XML_ENTITY_NODE) { in PHP_METHOD()
218 if (objmap->ht) { in PHP_METHOD()
219 if (objmap->nodetype == XML_ENTITY_NODE) { in PHP_METHOD()
220 itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, BAD_CAST named); in PHP_METHOD()
222 notep = (xmlNotation *)xmlHashLookup(objmap->ht, BAD_CAST named); in PHP_METHOD()
229 nodep = dom_object_get_node(objmap->baseobj); in PHP_METHOD()
237 DOM_RET_OBJ(itemnode, objmap->baseobj); in PHP_METHOD()