Lines Matching refs:attr

240 	xmlAttrPtr      attr = NULL;  in sxe_prop_dim_read()  local
278 attr = (xmlAttrPtr)node; in sxe_prop_dim_read()
282 attr = node ? node->properties : NULL; in sxe_prop_dim_read()
298 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_read()
299 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_read()
301 …_node_as_zval(sxe, (xmlNodePtr) attr, rv, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.ispre… in sxe_prop_dim_read()
306 attr = attr->next; in sxe_prop_dim_read()
309 while (attr) { in sxe_prop_dim_read()
310 … ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)name) && … in sxe_prop_dim_read()
311 …_node_as_zval(sxe, (xmlNodePtr) attr, rv, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.ispre… in sxe_prop_dim_read()
314 attr = attr->next; in sxe_prop_dim_read()
450 xmlAttrPtr attr = NULL; in sxe_prop_dim_write() local
505 attr = (xmlAttrPtr)node; in sxe_prop_dim_write()
510 attr = node ? node->properties : NULL; in sxe_prop_dim_write()
523 attr = node->properties; in sxe_prop_dim_write()
564 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_write()
565 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_write()
573 attr = attr->next; in sxe_prop_dim_write()
576 while (attr) { in sxe_prop_dim_write()
577 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_write()
582 attr = attr->next; in sxe_prop_dim_write()
626 newnode = (xmlNodePtr) attr; in sxe_prop_dim_write()
733 xmlAttrPtr attr = NULL; in sxe_prop_dim_exists() local
761 attr = (xmlAttrPtr)node; in sxe_prop_dim_exists()
765 attr = node ? node->properties : NULL; in sxe_prop_dim_exists()
774 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_exists()
775 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_exists()
782 attr = attr->next; in sxe_prop_dim_exists()
785 while (attr) { in sxe_prop_dim_exists()
786 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_exists()
791 attr = attr->next; in sxe_prop_dim_exists()
795 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
852 xmlAttrPtr attr = NULL; in sxe_prop_dim_delete() local
880 attr = (xmlAttrPtr)node; in sxe_prop_dim_delete()
884 attr = node ? node->properties : NULL; in sxe_prop_dim_delete()
893 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_delete()
894 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_delete()
896 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
897 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
902 attr = attr->next; in sxe_prop_dim_delete()
905 while (attr) { in sxe_prop_dim_delete()
906 anext = attr->next; in sxe_prop_dim_delete()
907 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_delete()
908 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
909 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
912 attr = anext; in sxe_prop_dim_delete()
1040 xmlAttrPtr attr; in sxe_prop_is_empty() local
1056 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_prop_is_empty()
1058 while (attr) { in sxe_prop_is_empty()
1059 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_prop_is_empty()
1062 attr = attr->next; in sxe_prop_is_empty()
1135 xmlAttrPtr attr; in sxe_get_prop_hash() local
1166 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_get_prop_hash()
1169 while (attr) { in sxe_get_prop_hash()
1170 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_get_prop_hash()
1171 ZVAL_STR(&value, sxe_xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1)); in sxe_get_prop_hash()
1172 namelen = xmlStrlen(attr->name); in sxe_get_prop_hash()
1177 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value); in sxe_get_prop_hash()
1179 attr = attr->next; in sxe_get_prop_hash()
1531 xmlAttrPtr attr; in sxe_add_namespaces() local
1537 attr = node->properties; in sxe_add_namespaces()
1538 while (attr) { in sxe_add_namespaces()
1539 if (attr->ns) { in sxe_add_namespaces()
1540 sxe_add_namespace_name(return_value, attr->ns); in sxe_add_namespaces()
1542 attr = attr->next; in sxe_add_namespaces()