Lines Matching refs:otherp
1578 …rt_adjacent(const zend_string *where, xmlNodePtr thisp, dom_object *this_intern, xmlNodePtr otherp) in dom_insert_adjacent() argument
1584 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1587 if (!php_dom_pre_insert(this_intern->document, otherp, thisp->parent, thisp)) { in dom_insert_adjacent()
1591 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1594 if (!php_dom_pre_insert(this_intern->document, otherp, thisp, thisp->children)) { in dom_insert_adjacent()
1598 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1601 if (!php_dom_pre_insert(this_intern->document, otherp, thisp, NULL)) { in dom_insert_adjacent()
1608 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1611 if (!php_dom_pre_insert(this_intern->document, otherp, thisp->parent, thisp->next)) { in dom_insert_adjacent()
1618 return otherp; in dom_insert_adjacent()
1627 xmlNodePtr thisp, otherp; in dom_element_insert_adjacent_element() local
1631 DOM_GET_OBJ(otherp, element_zval, xmlNodePtr, other_intern); in dom_element_insert_adjacent_element()
1633 xmlNodePtr result = dom_insert_adjacent(where, thisp, this_intern, otherp); in dom_element_insert_adjacent_element()
1637 DOM_RET_OBJ(otherp, other_intern); in dom_element_insert_adjacent_element()
1685 xmlNodePtr otherp = xmlNewDocTextLen(thisp->doc, (const xmlChar *) ZSTR_VAL(data), ZSTR_LEN(data)); in dom_element_insert_adjacent_text() local
1686 xmlNodePtr result = dom_insert_adjacent(where, thisp, this_intern, otherp); in dom_element_insert_adjacent_text()
1688 xmlFreeNode(otherp); in dom_element_insert_adjacent_text()