Lines Matching refs:attr

254 	xmlAttrPtr      attr = NULL;  in sxe_prop_dim_read()  local
287 attr = (xmlAttrPtr)node; in sxe_prop_dim_read()
291 attr = node ? node->properties : NULL; in sxe_prop_dim_read()
308 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_read()
309 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_read()
311 …_node_as_zval(sxe, (xmlNodePtr) attr, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->… in sxe_prop_dim_read()
316 attr = attr->next; in sxe_prop_dim_read()
319 while (attr) { in sxe_prop_dim_read()
320 … ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)name) && … in sxe_prop_dim_read()
321 …_node_as_zval(sxe, (xmlNodePtr) attr, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->… in sxe_prop_dim_read()
324 attr = attr->next; in sxe_prop_dim_read()
459 xmlAttrPtr attr = NULL; in sxe_prop_dim_write() local
508 attr = (xmlAttrPtr)node; in sxe_prop_dim_write()
513 attr = node ? node->properties : NULL; in sxe_prop_dim_write()
526 attr = node->properties; in sxe_prop_dim_write()
567 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_write()
568 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_write()
576 attr = attr->next; in sxe_prop_dim_write()
579 while (attr) { in sxe_prop_dim_write()
580 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_write()
585 attr = attr->next; in sxe_prop_dim_write()
629 newnode = (xmlNodePtr) attr; in sxe_prop_dim_write()
740 xmlAttrPtr attr = NULL; in sxe_prop_dim_exists() local
770 attr = (xmlAttrPtr)node; in sxe_prop_dim_exists()
774 attr = node ? node->properties : NULL; in sxe_prop_dim_exists()
783 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_exists()
784 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_exists()
791 attr = attr->next; in sxe_prop_dim_exists()
794 while (attr) { in sxe_prop_dim_exists()
795 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_exists()
800 attr = attr->next; in sxe_prop_dim_exists()
804 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
870 xmlAttrPtr attr = NULL; in sxe_prop_dim_delete() local
900 attr = (xmlAttrPtr)node; in sxe_prop_dim_delete()
904 attr = node ? node->properties : NULL; in sxe_prop_dim_delete()
913 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_delete()
914 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->ite… in sxe_prop_dim_delete()
916 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
917 php_libxml_node_free_resource((xmlNodePtr) attr TSRMLS_CC); in sxe_prop_dim_delete()
922 attr = attr->next; in sxe_prop_dim_delete()
925 while (attr) { in sxe_prop_dim_delete()
926 anext = attr->next; in sxe_prop_dim_delete()
927 …t || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)Z_STRVAL_P(membe… in sxe_prop_dim_delete()
928 xmlUnlinkNode((xmlNodePtr) attr); in sxe_prop_dim_delete()
929 php_libxml_node_free_resource((xmlNodePtr) attr TSRMLS_CC); in sxe_prop_dim_delete()
932 attr = anext; in sxe_prop_dim_delete()
1069 xmlAttrPtr attr; in sxe_get_prop_hash() local
1101 attr = node ? (xmlAttrPtr)node->properties : NULL; in sxe_get_prop_hash()
1104 while (attr) { in sxe_get_prop_hash()
1105 …if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr)attr, sxe->iter… in sxe_get_prop_hash()
1107 …ZVAL_STRING(value, sxe_xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1), 0); in sxe_get_prop_hash()
1108 namelen = xmlStrlen(attr->name) + 1; in sxe_get_prop_hash()
1114 add_assoc_zval_ex(zattr, (char*)attr->name, namelen, value); in sxe_get_prop_hash()
1116 attr = attr->next; in sxe_get_prop_hash()
1453 xmlAttrPtr attr; in sxe_add_namespaces() local
1459 attr = node->properties; in sxe_add_namespaces()
1460 while (attr) { in sxe_add_namespaces()
1461 if (attr->ns) { in sxe_add_namespaces()
1462 sxe_add_namespace_name(return_value, attr->ns); in sxe_add_namespaces()
1464 attr = attr->next; in sxe_add_namespaces()