Lines Matching refs:attr

238 	xmlAttrPtr      attr = NULL;  in sxe_prop_dim_read()  local
276 attr = (xmlAttrPtr)node; in sxe_prop_dim_read()
280 attr = node ? node->properties : NULL; in sxe_prop_dim_read()
296 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_read()
297 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_read()
299 …_node_as_zval(sxe, (xmlNodePtr) attr, rv, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.ispre… in sxe_prop_dim_read()
304 attr = attr->next; in sxe_prop_dim_read()
307 while (attr) { in sxe_prop_dim_read()
308 … ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)name) && … in sxe_prop_dim_read()
309 …_node_as_zval(sxe, (xmlNodePtr) attr, rv, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.ispre… in sxe_prop_dim_read()
312 attr = attr->next; in sxe_prop_dim_read()
438 xmlAttrPtr attr = NULL; in sxe_prop_dim_write() local
493 attr = (xmlAttrPtr)node; in sxe_prop_dim_write()
498 attr = node ? node->properties : NULL; in sxe_prop_dim_write()
511 attr = node->properties; in sxe_prop_dim_write()
552 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_write()
553 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_write()
561 attr = attr->next; in sxe_prop_dim_write()
564 while (attr) { in sxe_prop_dim_write()
565 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_write()
570 attr = attr->next; in sxe_prop_dim_write()
617 newnode = (xmlNodePtr) attr; in sxe_prop_dim_write()
723 xmlAttrPtr attr = NULL; in sxe_prop_dim_exists() local
751 attr = (xmlAttrPtr)node; in sxe_prop_dim_exists()
755 attr = node ? node->properties : NULL; in sxe_prop_dim_exists()
764 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_exists()
765 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_exists()
772 attr = attr->next; in sxe_prop_dim_exists()
775 while (attr) { in sxe_prop_dim_exists()
776 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_exists()
781 attr = attr->next; in sxe_prop_dim_exists()
785 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
842 xmlAttrPtr attr = NULL; in sxe_prop_dim_delete() local
870 attr = (xmlAttrPtr)node; in sxe_prop_dim_delete()
874 attr = node ? node->properties : NULL; in sxe_prop_dim_delete()
883 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_delete()
884 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_delete()
886 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
887 php_libxml_node_free_resource((xmlNodePtr) attr); in sxe_prop_dim_delete()
892 attr = attr->next; in sxe_prop_dim_delete()
895 while (attr) { in sxe_prop_dim_delete()
896 anext = attr->next; in sxe_prop_dim_delete()
897 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… 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()
902 attr = anext; in sxe_prop_dim_delete()
1030 xmlAttrPtr attr; in sxe_prop_is_empty() local
1046 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_prop_is_empty()
1048 while (attr) { in sxe_prop_is_empty()
1049 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_prop_is_empty()
1052 attr = attr->next; in sxe_prop_is_empty()
1125 xmlAttrPtr attr; in sxe_get_prop_hash() local
1156 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_get_prop_hash()
1159 while (attr) { in sxe_get_prop_hash()
1160 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_get_prop_hash()
1161 ZVAL_STR(&value, sxe_xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1)); in sxe_get_prop_hash()
1162 namelen = xmlStrlen(attr->name); in sxe_get_prop_hash()
1167 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value); in sxe_get_prop_hash()
1169 attr = attr->next; in sxe_get_prop_hash()
1521 xmlAttrPtr attr; in sxe_add_namespaces() local
1527 attr = node->properties; in sxe_add_namespaces()
1528 while (attr) { in sxe_add_namespaces()
1529 if (attr->ns) { in sxe_add_namespaces()
1530 sxe_add_namespace_name(return_value, attr->ns); in sxe_add_namespaces()
1532 attr = attr->next; in sxe_add_namespaces()