Lines Matching refs:attrp
97 xmlAttrPtr attrp; in dom_attr_name_read() local
99 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_name_read()
101 if (attrp == NULL) { in dom_attr_name_read()
106 ZVAL_STRING(retval, (char *) attrp->name); in dom_attr_name_read()
134 xmlAttrPtr attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_value_read() local
137 if (attrp == NULL) { in dom_attr_value_read()
142 if ((content = xmlNodeGetContent((xmlNodePtr) attrp)) != NULL) { in dom_attr_value_read()
156 xmlAttrPtr attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_value_write() local
158 if (attrp == NULL) { in dom_attr_value_write()
168 if (attrp->children) { in dom_attr_value_write()
169 node_list_unlink(attrp->children); in dom_attr_value_write()
172 xmlNodeSetContentLen((xmlNodePtr) attrp, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_attr_value_write()
231 xmlAttrPtr attrp; in PHP_FUNCTION() local
238 DOM_GET_OBJ(attrp, id, xmlAttrPtr, intern); in PHP_FUNCTION()
240 if (attrp->atype == XML_ATTRIBUTE_ID) { in PHP_FUNCTION()