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()
629 newnode = (xmlNodePtr) attr; in sxe_prop_dim_write()
735 xmlAttrPtr attr = NULL; in sxe_prop_dim_exists() local
763 attr = (xmlAttrPtr)node; in sxe_prop_dim_exists()
767 attr = node ? node->properties : NULL; in sxe_prop_dim_exists()
776 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_exists()
777 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_exists()
784 attr = attr->next; in sxe_prop_dim_exists()
787 while (attr) { in sxe_prop_dim_exists()
788 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_exists()
793 attr = attr->next; in sxe_prop_dim_exists()
797 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
854 xmlAttrPtr attr = NULL; in sxe_prop_dim_delete() local
882 attr = (xmlAttrPtr)node; in sxe_prop_dim_delete()
886 attr = node ? node->properties : NULL; in sxe_prop_dim_delete()
895 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_delete()
896 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_delete()
898 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
899 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
904 attr = attr->next; in sxe_prop_dim_delete()
907 while (attr) { in sxe_prop_dim_delete()
908 anext = attr->next; in sxe_prop_dim_delete()
909 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_delete()
910 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
911 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
914 attr = anext; in sxe_prop_dim_delete()
1042 xmlAttrPtr attr; in sxe_prop_is_empty() local
1058 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_prop_is_empty()
1060 while (attr) { in sxe_prop_is_empty()
1061 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_prop_is_empty()
1064 attr = attr->next; in sxe_prop_is_empty()
1137 xmlAttrPtr attr; in sxe_get_prop_hash() local
1168 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_get_prop_hash()
1171 while (attr) { in sxe_get_prop_hash()
1172 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_get_prop_hash()
1173 ZVAL_STR(&value, sxe_xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1)); in sxe_get_prop_hash()
1174 namelen = xmlStrlen(attr->name); in sxe_get_prop_hash()
1179 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value); in sxe_get_prop_hash()
1181 attr = attr->next; in sxe_get_prop_hash()
1533 xmlAttrPtr attr; in sxe_add_namespaces() local
1539 attr = node->properties; in sxe_add_namespaces()
1540 while (attr) { in sxe_add_namespaces()
1541 if (attr->ns) { in sxe_add_namespaces()
1542 sxe_add_namespace_name(return_value, attr->ns); in sxe_add_namespaces()
1544 attr = attr->next; in sxe_add_namespaces()