Lines Matching refs:otherp

1423 …rt_adjacent(const zend_string *where, xmlNodePtr thisp, dom_object *this_intern, xmlNodePtr otherp)  in dom_insert_adjacent()  argument
1429 if (dom_hierarchy(thisp->parent, otherp) == FAILURE) { in dom_insert_adjacent()
1433 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1436 otherp = xmlAddPrevSibling(thisp, otherp); in dom_insert_adjacent()
1438 if (dom_hierarchy(thisp, otherp) == FAILURE) { in dom_insert_adjacent()
1442 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1446 otherp = xmlAddChild(thisp, otherp); in dom_insert_adjacent()
1448 otherp = xmlAddPrevSibling(thisp->children, otherp); in dom_insert_adjacent()
1451 if (dom_hierarchy(thisp, otherp) == FAILURE) { in dom_insert_adjacent()
1455 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1458 otherp = xmlAddChild(thisp, otherp); in dom_insert_adjacent()
1463 if (dom_hierarchy(thisp->parent, otherp) == FAILURE) { in dom_insert_adjacent()
1467 if (!php_dom_adopt_node(otherp, this_intern, thisp->doc)) { in dom_insert_adjacent()
1470 otherp = xmlAddNextSibling(thisp, otherp); in dom_insert_adjacent()
1475 dom_reconcile_ns(thisp->doc, otherp); in dom_insert_adjacent()
1476 return otherp; in dom_insert_adjacent()
1486 xmlNodePtr thisp, otherp; in PHP_METHOD() local
1495 DOM_GET_OBJ(otherp, element_zval, xmlNodePtr, other_intern); in PHP_METHOD()
1497 xmlNodePtr result = dom_insert_adjacent(where, thisp, this_intern, otherp); in PHP_METHOD()
1501 DOM_RET_OBJ(otherp, &ret, other_intern); in PHP_METHOD()
1529 xmlNodePtr otherp = xmlNewDocTextLen(thisp->doc, (const xmlChar *) ZSTR_VAL(data), ZSTR_LEN(data)); in PHP_METHOD() local
1530 xmlNodePtr result = dom_insert_adjacent(where, thisp, this_intern, otherp); in PHP_METHOD()
1532 xmlFreeNode(otherp); in PHP_METHOD()