/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | TreeNode.h | 71 void insertBefore(NodeType* newChild, NodeType* refChild) in insertBefore() argument 77 ASSERT(!refChild || this == refChild->parent()); in insertBefore() 79 if (!refChild) { in insertBefore() 84 NodeType* newPrevious = refChild->previous(); in insertBefore() 86 newChild->m_next = refChild; in insertBefore() 88 refChild->m_previous = newChild; in insertBefore()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | CounterNode.cpp | 237 void CounterNode::insertAfter(CounterNode* newChild, CounterNode* refChild, const AtomicString& ide… in insertAfter() argument 245 if (refChild && refChild->m_parent != this) in insertAfter() 249 while (m_lastChild != refChild) in insertAfter() 255 if (refChild) { in insertAfter() 256 next = refChild->m_nextSibling; in insertAfter() 257 refChild->m_nextSibling = newChild; in insertAfter() 264 newChild->m_previousSibling = refChild; in insertAfter() 267 ASSERT(next->m_previousSibling == refChild); in insertAfter() 271 ASSERT(m_lastChild == refChild); in insertAfter()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | InsertNodeBeforeCommand.cpp | 34 …NodeBeforeCommand::InsertNodeBeforeCommand(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild, in InsertNodeBeforeCommand() argument 36 : SimpleEditCommand(refChild->document()) in InsertNodeBeforeCommand() 38 , m_refChild(refChild) in InsertNodeBeforeCommand()
|
D | CompositeEditCommand.cpp | 334 void CompositeEditCommand::insertNodeBefore(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild… in insertNodeBefore() argument 336 ASSERT(!refChild->hasTagName(bodyTag)); in insertNodeBefore() 337 …applyCommandToComposite(InsertNodeBeforeCommand::create(insertChild, refChild, shouldAssumeContent… in insertNodeBefore() 340 void CompositeEditCommand::insertNodeAfter(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild) in insertNodeAfter() argument 343 ASSERT(refChild); in insertNodeAfter() 344 ASSERT(!refChild->hasTagName(bodyTag)); in insertNodeAfter() 345 ContainerNode* parent = refChild->parentNode(); in insertNodeAfter() 348 if (parent->lastChild() == refChild) in insertNodeAfter() 351 ASSERT(refChild->nextSibling()); in insertNodeAfter() 352 insertNodeBefore(insertChild, refChild->nextSibling()); in insertNodeAfter() [all …]
|
D | RemoveNodeCommand.cpp | 61 RefPtr<Node> refChild = m_refChild.release(); in doUnapply() local 65 parent->insertBefore(m_node.get(), refChild.get(), IGNORE_EXCEPTION); in doUnapply()
|
D | SplitElementCommand.cpp | 89 RefPtr<Node> refChild = m_element2->firstChild(); in doUnapply() local 93 m_element2->insertBefore(children[i].get(), refChild.get(), IGNORE_EXCEPTION); in doUnapply()
|
D | CompositeEditCommand.h | 104 void insertNodeAfter(PassRefPtr<Node>, PassRefPtr<Node> refChild); 107 …void insertNodeBefore(PassRefPtr<Node>, PassRefPtr<Node> refChild, ShouldAssumeContentIsAlwaysEdit…
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | ContainerNode.cpp | 168 void ContainerNode::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& excepti… in insertBefore() argument 177 if (!refChild) { in insertBefore() 188 if (refChild->parentNode() != this) { in insertBefore() 193 if (refChild->previousSibling() == newChild || refChild == newChild) // nothing to do in insertBefore() 196 RefPtr<Node> next = refChild; in insertBefore()
|
D | ContainerNode.h | 99 …void insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION… 109 void parserInsertBefore(PassRefPtr<Node> newChild, Node& refChild);
|
D | Node.idl | 52 …ctivityLogging=ForIsolatedWorlds, RaisesException] Node insertBefore(Node newChild, Node refChild);
|
D | Node.h | 197 …void insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION…
|
D | Node.cpp | 453 void Node::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& exceptionState) in insertBefore() argument 456 toContainerNode(this)->insertBefore(newChild, refChild, exceptionState); in insertBefore()
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemTemplateElement.java | 434 public Node insertBefore(Node newChild, Node refChild) throws DOMException in insertBefore() argument 436 if(null == refChild) in insertBefore() 442 if(newChild == refChild) in insertBefore() 465 if(refChild == node) in insertBefore() 475 ((ElemTemplateElement)newChild).m_nextSibling = (ElemTemplateElement)refChild; in insertBefore()
|
D | ElemLiteralResult.java | 960 public Node insertBefore(Node newChild, Node refChild) in insertBefore() argument
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
D | V8NodeCustom.cpp | 71 …Node* refChild = V8Node::hasInstance(info[1], info.GetIsolate(), worldType(info.GetIsolate())) ? V… in insertBeforeMethodCustom() local 72 imp->insertBefore(newChild, refChild, exceptionState); in insertBeforeMethodCustom()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | UnImplNode.java | 656 public Node insertBefore(Node newChild, Node refChild) throws DOMException in insertBefore() argument
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMNodeProxy.java | 491 public final Node insertBefore(Node newChild, Node refChild) in insertBefore() argument
|