Lines Matching refs:prevsib
352 xmlNode *nodep, *prevsib; in dom_node_previous_sibling_read() local
361 prevsib = nodep->prev; in dom_node_previous_sibling_read()
362 if (!prevsib) { in dom_node_previous_sibling_read()
367 php_dom_create_object(prevsib, retval, obj); in dom_node_previous_sibling_read()
408 xmlNode *nodep, *prevsib; in dom_node_previous_element_sibling_read() local
417 prevsib = nodep->prev; in dom_node_previous_element_sibling_read()
419 while (prevsib && prevsib->type != XML_ELEMENT_NODE) { in dom_node_previous_element_sibling_read()
420 prevsib = prevsib->prev; in dom_node_previous_element_sibling_read()
423 if (!prevsib) { in dom_node_previous_element_sibling_read()
428 php_dom_create_object(prevsib, retval, obj); in dom_node_previous_element_sibling_read()
801 static xmlNodePtr _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib… in _php_dom_insert_fragment() argument
808 if (prevsib == NULL) { in _php_dom_insert_fragment()
811 prevsib->next = newchild; in _php_dom_insert_fragment()
813 newchild->prev = prevsib; in _php_dom_insert_fragment()
1112 xmlNodePtr prevsib, nextsib; in PHP_METHOD() local
1113 prevsib = oldchild->prev; in PHP_METHOD()
1119 newchild = _php_dom_insert_fragment(nodep, prevsib, nextsib, newchild, intern, newchildobj); in PHP_METHOD()