Home
last modified time | relevance | path

Searched refs:insertBefore (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/antlr/antlr-3.4/runtime/Python/tests/
Dt048rewrite.py26 tokens.insertBefore(0, "0")
44 tokens.insertBefore(1, "x")
91 tokens.insertBefore(0, "_")
113 tokens.insertBefore(1, "0")
126 tokens.insertBefore(0, "0")
136 tokens.insertBefore(1, "x")
137 tokens.insertBefore(1, "y")
146 tokens.insertBefore(0, "x")
147 tokens.insertBefore(0, "y")
158 tokens.insertBefore(2, "y")
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTokenRewriteStream.java52 tokens.insertBefore(0, "0"); in testInsertBeforeIndex0()
83 tokens.insertBefore(1, "x"); in test2InsertBeforeAfterMiddleIndex()
252 tokens.insertBefore(0, "_"); in test2ReplaceMiddleIndex1InsertBefore()
288 tokens.insertBefore(1, "0"); in testInsertInPriorReplace()
311 tokens.insertBefore(0, "0"); in testInsertThenReplaceSameIndex()
328 tokens.insertBefore(1, "x"); in test2InsertMiddleIndex()
329 tokens.insertBefore(1, "y"); in test2InsertMiddleIndex()
345 tokens.insertBefore(0, "x"); in test2InsertThenReplaceIndex0()
346 tokens.insertBefore(0, "y"); in test2InsertThenReplaceIndex0()
364 tokens.insertBefore(2, "y"); in testReplaceThenInsertBeforeLastIndex()
[all …]
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodeinsertbefore15.js114 inserted = entRef.insertBefore(cdata,elemChild);
126 inserted = entRef.insertBefore(pi,elemChild);
138 inserted = entRef.insertBefore(comment,elemChild);
150 inserted = entRef.insertBefore(txt,elemChild);
162 inserted = entRef.insertBefore(elem,elemChild);
Dnodeinsertbefore11.js121 inserted = docFrag.insertBefore(comment,pi);
125 inserted = docFrag.insertBefore(txt,comment);
129 inserted = docFrag.insertBefore(cdata,txt);
133 inserted = docFrag.insertBefore(eRef,cdata);
Dnodeinsertbefore01.js111 insertedComment = doc.insertBefore(newComment,docElem);
115 insertedPI = doc.insertBefore(newPI,newComment);
Dnodeinsertbefore02.js124 insertedComment = newDoc.insertBefore(newComment,newDocType);
128 insertedPI = newDoc.insertBefore(newPI,newComment);
Dnodeinsertbefore04.js103 inserted = doc.insertBefore(doc,docType);
Dnodeinsertbefore14.js111 inserted = docType.insertBefore(newAttr,docType);
Dnodeinsertbefore03.js105 inserted = doc.insertBefore(newAttr,docType);
Dnodeinsertbefore24.js107 inserted = element.insertBefore(newNode,refNode);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DTemplateList.java239 boolean insertBefore; // true means insert before insertPoint; otherwise after in insertAssociationIntoList()
280 insertBefore = true; in insertAssociationIntoList()
282 insertBefore = false; in insertAssociationIntoList()
284 insertBefore = true; in insertAssociationIntoList()
286 insertBefore = false; in insertAssociationIntoList()
288 insertBefore = true; in insertAssociationIntoList()
290 insertBefore = false; in insertAssociationIntoList()
293 insertBefore = false; in insertAssociationIntoList()
299 if (insertBefore) in insertAssociationIntoList()
318 if (insertBefore) in insertAssociationIntoList()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java225 insertBefore(programName,index+1, text); in insertAfter()
228 public void insertBefore(Token t, Object text) { in insertBefore() method in TokenRewriteStream
229 insertBefore(DEFAULT_PROGRAM_NAME, t, text); in insertBefore()
232 public void insertBefore(int index, Object text) { in insertBefore() method in TokenRewriteStream
233 insertBefore(DEFAULT_PROGRAM_NAME, index, text); in insertBefore()
236 public void insertBefore(String programName, Token t, Object text) { in insertBefore() method in TokenRewriteStream
237 insertBefore(programName, t.getTokenIndex(), text); in insertBefore()
240 public void insertBefore(String programName, int index, Object text) { in insertBefore() method in TokenRewriteStream
/external/webkit/Source/WebCore/inspector/front-end/
DAuditLauncherView.js103 …var insertBefore = insertionIndexForObjectInListSortedByFunction(category, this._sortedCategories,…
104 …this._categoriesElement.insertBefore(categoryElement, this._categoriesElement.children[insertBefor…
105 this._sortedCategories.splice(insertBefore, 0, category);
DDrawer.js112 this._drawerStatusBar.insertBefore(anchoredItems, this._drawerStatusBar.firstChild);
183 this._mainStatusBar.insertBefore(anchoredItems, this._mainStatusBar.firstChild);
189 this._counters.insertBefore(this._currentPanelCounters, this._counters.firstChild);
268 this._counters.insertBefore(x, this._counters.firstChild);
DTextViewer.js438 this._container.insertBefore(prefixChunk.element, oldChunk.element);
444 this._container.insertBefore(lineChunk.element, oldChunk.element);
450 this._container.insertBefore(suffixChunk.element, oldChunk.element);
516 …var insertBefore = insertionIndexForObjectInListSortedByFunction(lineNumber, this._textChunks, com…
517 return insertBefore - 1;
531 …var insertBefore = insertionIndexForObjectInListSortedByFunction(visibleFrom, this._textChunks, co…
532 return insertBefore - 1;
561 …var insertBefore = insertionIndexForObjectInListSortedByFunction(visibleFrom, lineNumbers, compare…
562 return lineNumbers[insertBefore - 1];
774 parentElement.insertBefore(lineRow, this.element);
[all …]
/external/webkit/Source/WebCore/bindings/cpp/
DWebDOMNodeCustom.cpp28 WebDOMNode WebDOMNode::insertBefore(const WebDOMNode& newChild, const WebDOMNode& refChild) in insertBefore() function in WebDOMNode
34 if (impl()->insertBefore(toWebCore(newChild), toWebCore(refChild), ec, true)) in insertBefore()
/external/webkit/Source/WebCore/editing/
DMergeIdenticalElementsCommand.cpp58 m_element2->insertBefore(children[i].release(), m_atChild.get(), ec); in doApply()
76 parent->insertBefore(m_element1.get(), m_element2.get(), ec); in doUnapply()
DSplitElementCommand.cpp59 parent->insertBefore(m_element1.get(), m_element2.get(), ec); in executeApply()
94 m_element2->insertBefore(children[i].get(), refChild.get(), ec); in doUnapply()
DRemoveNodeCommand.cpp63 parent->insertBefore(m_node.get(), refChild.get(), ec); in doUnapply()
/external/webkit/Source/WebKit/qt/Api/
Dqwebelement.cpp1050 m_element->insertBefore(element.m_element, m_element->firstChild(), exception); in prependInside()
1076 m_element->insertBefore(fragment, m_element->firstChild(), exception); in prependInside()
1101 m_element->parentNode()->insertBefore(element.m_element, m_element, exception); in prependOutside()
1126 m_element->parentNode()->insertBefore(fragment, m_element, exception); in prependOutside()
1151 … m_element->parentNode()->insertBefore(element.m_element, m_element->nextSibling(), exception); in appendOutside()
1179 m_element->parentNode()->insertBefore(fragment, m_element->nextSibling(), exception); in appendOutside()
1297 m_element->insertBefore(element.m_element, m_element->firstChild(), exception); in encloseContentsWith()
1340 m_element->insertBefore(fragment, m_element->firstChild(), exception); in encloseContentsWith()
1374 parent->insertBefore(element.m_element, siblingNode, exception); in encloseWith()
1418 parent->insertBefore(fragment, siblingNode, exception); in encloseWith()
/external/chromium/chrome/browser/resources/gpu_internals/
Dtab_control.js128 this.insertBefore(this.tabs_, this.firstChild);
129 this.insertBefore(this.tabStrip_, this.firstChild);
/external/chromium/chrome/common/extensions/docs/examples/tutorials/analytics/
Danalytics.js31 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
/external/chromium/chrome/browser/resources/options/
Dsearch_page.js53 parent.insertBefore(this.wrapper, element);
55 parent.insertBefore(this, element);
406 node.parentNode.insertBefore(child, node);
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMBuilder.java183 currentNode.insertBefore(newNode, m_nextSibling); in append()
192 m_docFrag.insertBefore(newNode, m_nextSibling); in append()
229 m_doc.insertBefore(newNode, m_nextSibling); in append()
/external/webkit/Source/WebKit/mac/Misc/
DMailQuirksUserScript.js55 document.body.insertBefore(child, document.body.firstChild);

12345678910