Home
last modified time | relevance | path

Searched refs:rewriter (Results 1 – 25 of 35) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DRewriterUtils.java32 package org.jf.dexlib2.rewriter;
43 public static <T> T rewriteNullable(@Nonnull Rewriter<T> rewriter, @Nullable T value) { in rewriteNullable() argument
44 return value==null?null:rewriter.rewrite(value); in rewriteNullable()
47 public static <T> Set<T> rewriteSet(@Nonnull final Rewriter<T> rewriter, in rewriteSet() argument
58 return rewriteNullable(rewriter, iterator.next()); in rewriteSet()
73 public static <T> List<T> rewriteList(@Nonnull final Rewriter<T> rewriter,
77 return rewriteNullable(rewriter, list.get(i));
86 public static <T> Iterable<T> rewriteIterable(@Nonnull final Rewriter<T> rewriter,
97 return rewriteNullable(rewriter, iterator.next());
DRewriter.java32 package org.jf.dexlib2.rewriter;
DTypeRewriter.java32 package org.jf.dexlib2.rewriter;
DExceptionHandlerRewriter.java32 package org.jf.dexlib2.rewriter;
DAnnotationElementRewriter.java32 package org.jf.dexlib2.rewriter;
DFieldReferenceRewriter.java32 package org.jf.dexlib2.rewriter;
DAnnotationRewriter.java32 package org.jf.dexlib2.rewriter;
DTryBlockRewriter.java32 package org.jf.dexlib2.rewriter;
DMethodParameterRewriter.java32 package org.jf.dexlib2.rewriter;
DRewriters.java32 package org.jf.dexlib2.rewriter;
DMethodImplementationRewriter.java32 package org.jf.dexlib2.rewriter;
DFieldRewriter.java32 package org.jf.dexlib2.rewriter;
DMethodReferenceRewriter.java32 package org.jf.dexlib2.rewriter;
DMethodRewriter.java32 package org.jf.dexlib2.rewriter;
DRewriterModule.java32 package org.jf.dexlib2.rewriter;
DDebugItemRewriter.java32 package org.jf.dexlib2.rewriter;
DClassDefRewriter.java32 package org.jf.dexlib2.rewriter;
DEncodedValueRewriter.java32 package org.jf.dexlib2.rewriter;
DInstructionRewriter.java32 package org.jf.dexlib2.rewriter;
/external/clang/test/Rewriter/
Dfinally.m7 …return(0); // expected-warning{{rewriter doesn't support user-specified control flow semantics for…
31 return; // The rewriter knows how to generate code for implicit finally
37 return; // The rewriter knows how to generate code for implicit finally
Drewrite-modern-synchronized.m32 return; // The rewriter knows how to generate code for implicit finally
/external/clang/lib/ARCMigrate/
DARCMT.cpp458 Rewriter &rewriter; member in __anoned45e8610211::RewritesApplicator
462 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx, in RewritesApplicator() argument
464 : rewriter(rewriter), Listener(listener) { in RewritesApplicator()
474 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true, in insert()
486 bool err = rewriter.RemoveText(range, removeOpts); in remove()
493 rewriter.IncreaseIndentation(range, parentIndent); in increaseIndentation()
570 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts()); in applyTransform() local
578 RewritesApplicator applicator(rewriter, Ctx, listener); in applyTransform()
589 I = rewriter.buffer_begin(), E = rewriter.buffer_end(); I != E; ++I) { in applyTransform()
/external/clang/test/ARCMT/
DGC-check-warn-nsalloc.m1 …-triple x86_64-apple-darwin10 -fobjc-gc-only %s 2>&1 | grep 'warning: \[rewriter\] call returns po…
2 …ple-darwin10 -fobjc-gc-only -x objective-c++ %s 2>&1 | grep 'warning: \[rewriter\] call returns po…
Dcheck-with-serialized-diag.m42 // CHECK: {{.*}}check-with-serialized-diag.m:32:4: error: [rewriter] it is not safe to remove 'reta…
44 // CHECK-NEXT: {{.*}}check-with-serialized-diag.m:34:4: error: [rewriter] it is not safe to remove …
/external/clang/include/clang/Basic/
DDiagnosticCommonKinds.td161 // TODO: Use a custom category name to distinguish rewriter errors.
162 def err_mt_message : Error<"[rewriter] %0">, SuppressInSystemHeader;
163 def warn_mt_message : Warning<"[rewriter] %0">;
164 def note_mt_message : Note<"[rewriter] %0">;
167 def warn_arcmt_nsalloc_realloc : Warning<"[rewriter] call returns pointer to GC managed memory; it …

12