Home
last modified time | relevance | path

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

1234

/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 …]
Dt046rewrite.g12 self.input.insertBefore(start,"public class Wrapper {\n")
/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/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/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/tree_adapters/
Ddefault.js88 var insertBefore = exports.insertBefore = function (parentNode, newNode, referenceNode) { variable
123 insertBefore(parentNode, createTextNode(text), referenceNode);
Dhtmlparser2.js174 var insertBefore = exports.insertBefore = function (parentNode, newNode, referenceNode) { variable
225 insertBefore(parentNode, createTextNode(text), referenceNode);
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_bb.cpp124 insertBefore(phi, inst); in insertHead()
127 insertBefore(entry, inst); in insertHead()
137 insertBefore(entry, inst); in insertHead()
158 insertBefore(entry, inst); in insertTail()
182 BasicBlock::insertBefore(Instruction *q, Instruction *p) in insertBefore() function in nv50_ir::BasicBlock
/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/mockito/cglib-and-asm/src/org/mockito/asm/tree/
DInsnList.java430 public void insertBefore(final AbstractInsnNode location, final AbstractInsnNode insn) { in insertBefore() method in InsnList
458 public void insertBefore(final AbstractInsnNode location, final InsnList insns) { in insertBefore() method in InsnList
630 InsnList.this.insertBefore(next, (AbstractInsnNode) o); in add()
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt046rewrite.g12 this.input.insertBefore(start,"public class Wrapper {\n")
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp277 commit.insertBefore(LocBeforeVal, "] = "); in rewriteToDictionarySubscriptSet()
280 commit.insertBefore(LocBeforeVal, "["); in rewriteToDictionarySubscriptSet()
513 commit.insertBefore(ValRange.getBegin(), ": "); in rewriteToDictionaryLiteral()
517 commit.insertBefore(ValRange.getBegin(), "@{"); in rewriteToDictionaryLiteral()
958 commit.insertBefore(Range.getBegin(), "(id)"); in objectifyExpr()
1097 commit.insertBefore(ArgRange.getBegin(), "@"); in rewriteToNumericBoxedExpression()
1136 commit.insertBefore(ArgRange.getBegin(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/external/llvm/lib/Target/Hexagon/
DHexagonRemoveSZExtArgs.cpp73 SI->insertBefore(First); in runOnFunction()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslator.java73 robolectricInternalsCtClass.getClassInitializer().insertBefore("{\n" + in injectClassHandlerToInstrumentedClasses()
315 ctMethod.insertBefore("{\n" + methodBody + "}\n"); in fixMethod()
323 ctMethod.insertBefore("{\n" + methodBody + "}\n"); in fixMethod()
/external/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp310 HoistedInst->insertBefore(HoistPt); in hoistInstruction()
497 SNew->insertBefore(InsertPt); in sinkStore()
498 ANew->insertBefore(SNew); in sinkStore()
/external/javassist/src/main/javassist/expr/
DHandler.java108 public void insertBefore(String src) throws CannotCompileException { in insertBefore() method in Handler
/external/javassist/src/main/javassist/
DCtBehavior.java518 insertBefore(fname + ".enter();", false); in useCflow()
684 public void insertBefore(String src) throws CannotCompileException { in insertBefore() method in CtBehavior
685 insertBefore(src, true); in insertBefore()
688 private void insertBefore(String src, boolean rebuild) in insertBefore() method in CtBehavior
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js261 this.insertBefore(programName, index+1, text);
264 insertBefore: function() { method
/external/okhttp/website/static/
Dhtml5shiv.min.js6 c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|…
/external/clang/lib/ARCMigrate/
DObjCMT.cpp281 commit.insertBefore(receiver->getLocStart(), "("); in rewriteToPropertyDotSyntax()
1284 commit.insertBefore(OM->getLocEnd(), " NS_RETURNS_INNER_POINTER"); in migrateNsReturnsInnerPointer()
1296 commit.insertBefore(P->getLocEnd(), " NS_RETURNS_INNER_POINTER "); in migratePropertyNsReturnsInnerPointer()
1422 commit.insertBefore(FirstFD->getLocStart(), PragmaString); in AnnotateImplicitBridging()
1514 commit.insertBefore(pd->getLocation(), "CF_CONSUMED "); in AddCFAnnotations()
1520 commit.insertBefore(pd->getLocation(), "NS_CONSUMED "); in AddCFAnnotations()
1630 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString); in AddCFAnnotations()
1643 commit.insertBefore(pd->getLocation(), "CF_CONSUMED "); in AddCFAnnotations()
1668 commit.insertBefore(MethodDecl->getLocEnd(), " NS_CONSUMES_SELF"); in migrateAddMethodAnnotation()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/media/
Ddebug.js23 anchor.parentNode.insertBefore(el, anchor.nextSibling);
/external/clang/include/clang/Edit/
DCommit.h73 bool insertBefore(SourceLocation loc, StringRef text) { in insertBefore() function
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp677 CI->insertBefore(inst); in optimizeBitInsert()
836 CI->insertBefore(inst); in optimizeBitExtract()
1030 nCI->insertBefore(CI); in expandSigned24BitOps()
1061 nCI->insertBefore(CI); in expandSigned24BitOps()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DLogTransformer.java304 method.insertBefore(before); in doMethod()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp2405 LIENext->insertBefore(IBeforeJ ? J : I); in expandIEChain()
2583 S->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2606 NewI1->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2622 NewI2->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2641 NewOp->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2656 S->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2682 NLOp->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2696 S->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2719 NHOp->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
2739 BV->insertBefore(IBeforeJ ? J : I); in getReplacementInput()
[all …]

1234