Lines Matching refs:attr
213 xmlAttrPtr attr = NULL; in sxe_prop_dim_read() local
255 attr = (xmlAttrPtr)node; in sxe_prop_dim_read()
259 attr = node ? node->properties : NULL; in sxe_prop_dim_read()
275 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_read()
276 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_read()
278 …_node_as_zval(sxe, (xmlNodePtr) attr, rv, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.ispre… in sxe_prop_dim_read()
283 attr = attr->next; in sxe_prop_dim_read()
286 while (attr) { in sxe_prop_dim_read()
287 … ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)name) && … in sxe_prop_dim_read()
288 …_node_as_zval(sxe, (xmlNodePtr) attr, rv, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.ispre… in sxe_prop_dim_read()
291 attr = attr->next; in sxe_prop_dim_read()
383 xmlAttrPtr attr = NULL; in sxe_prop_dim_write() local
441 attr = (xmlAttrPtr)node; in sxe_prop_dim_write()
446 attr = node ? node->properties : NULL; in sxe_prop_dim_write()
459 attr = node->properties; in sxe_prop_dim_write()
499 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_write()
500 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_write()
508 attr = attr->next; in sxe_prop_dim_write()
511 while (attr) { in sxe_prop_dim_write()
512 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_write()
517 attr = attr->next; in sxe_prop_dim_write()
564 newnode = (xmlNodePtr) attr; in sxe_prop_dim_write()
671 xmlAttrPtr attr = NULL; in sxe_prop_dim_exists() local
703 attr = (xmlAttrPtr)node; in sxe_prop_dim_exists()
707 attr = node ? node->properties : NULL; in sxe_prop_dim_exists()
716 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_exists()
717 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_exists()
724 attr = attr->next; in sxe_prop_dim_exists()
727 while (attr) { in sxe_prop_dim_exists()
728 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_exists()
733 attr = attr->next; in sxe_prop_dim_exists()
737 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
793 xmlAttrPtr attr = NULL; in sxe_prop_dim_delete() local
825 attr = (xmlAttrPtr)node; in sxe_prop_dim_delete()
829 attr = node ? node->properties : NULL; in sxe_prop_dim_delete()
838 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_delete()
839 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_delete()
841 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
842 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
847 attr = attr->next; in sxe_prop_dim_delete()
850 while (attr) { in sxe_prop_dim_delete()
851 anext = attr->next; in sxe_prop_dim_delete()
852 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_delete()
853 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
854 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
857 attr = anext; in sxe_prop_dim_delete()
984 xmlAttrPtr attr; in sxe_prop_is_empty() local
1001 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_prop_is_empty()
1003 while (attr) { in sxe_prop_is_empty()
1004 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_prop_is_empty()
1007 attr = attr->next; in sxe_prop_is_empty()
1081 xmlAttrPtr attr; in sxe_get_prop_hash() local
1110 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_get_prop_hash()
1113 while (attr) { in sxe_get_prop_hash()
1114 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_get_prop_hash()
1115 ZVAL_STR(&value, sxe_xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1)); in sxe_get_prop_hash()
1116 namelen = xmlStrlen(attr->name); in sxe_get_prop_hash()
1121 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value); in sxe_get_prop_hash()
1123 attr = attr->next; in sxe_get_prop_hash()
1480 xmlAttrPtr attr; in sxe_add_namespaces() local
1486 attr = node->properties; in sxe_add_namespaces()
1487 while (attr) { in sxe_add_namespaces()
1488 if (attr->ns) { in sxe_add_namespaces()
1489 sxe_add_namespace_name(return_value, attr->ns); in sxe_add_namespaces()
1491 attr = attr->next; in sxe_add_namespaces()