Lines Matching refs:nodes
127 xmlNode* dom_zvals_to_fragment(php_libxml_ref_obj *document, xmlNode *contextNode, zval *nodes, int… in dom_zvals_to_fragment() argument
157 if (Z_TYPE(nodes[i]) == IS_OBJECT) { in dom_zvals_to_fragment()
158 ce = Z_OBJCE(nodes[i]); in dom_zvals_to_fragment()
161 newNodeObj = Z_DOMOBJ_P(&nodes[i]); in dom_zvals_to_fragment()
195 …ment_type_error(i + 1, "must be of type DOMNode|string, %s given", zend_zval_type_name(&nodes[i])); in dom_zvals_to_fragment()
198 } else if (Z_TYPE(nodes[i]) == IS_STRING) { in dom_zvals_to_fragment()
199 newNode = xmlNewDocText(documentNode, (xmlChar *) Z_STRVAL(nodes[i])); in dom_zvals_to_fragment()
211 …ment_type_error(i + 1, "must be of type DOMNode|string, %s given", zend_zval_type_name(&nodes[i])); in dom_zvals_to_fragment()
237 void dom_parent_node_append(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_append() argument
241 xmlNode *fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_append()
269 void dom_parent_node_prepend(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_prepend() argument
274 dom_parent_node_append(context, nodes, nodesc); in dom_parent_node_prepend()
279 xmlNode *fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_prepend()
301 void dom_parent_node_after(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_after() argument
315 fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_after()
336 void dom_parent_node_before(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_before() argument
344 fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_before()