Home
last modified time | relevance | path

Searched refs:rewriter (Results 1 – 25 of 38) 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;
DTryBlockRewriter.java32 package org.jf.dexlib2.rewriter;
DAnnotationRewriter.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;
DMethodReferenceRewriter.java32 package org.jf.dexlib2.rewriter;
DFieldRewriter.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;
/external/v8/src/parsing/
Dpattern-rewriter.cc18 PatternRewriter rewriter; in DeclareAndInitializeVariables() local
22 rewriter.scope_ = declaration_descriptor->scope; in DeclareAndInitializeVariables()
23 rewriter.parser_ = declaration_descriptor->parser; in DeclareAndInitializeVariables()
24 rewriter.context_ = BINDING; in DeclareAndInitializeVariables()
25 rewriter.pattern_ = declaration->pattern; in DeclareAndInitializeVariables()
26 rewriter.initializer_position_ = declaration->initializer_position; in DeclareAndInitializeVariables()
27 rewriter.block_ = block; in DeclareAndInitializeVariables()
28 rewriter.descriptor_ = declaration_descriptor; in DeclareAndInitializeVariables()
29 rewriter.names_ = names; in DeclareAndInitializeVariables()
30 rewriter.ok_ = ok; in DeclareAndInitializeVariables()
[all …]
Dparameter-initializer-rewriter.cc137 Rewriter rewriter(stack_limit, initializer, old_scope, new_scope); in RewriteParameterInitializerScope() local
138 rewriter.Run(); in RewriteParameterInitializerScope()
/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.cpp463 Rewriter &rewriter; member in __anonc8b8e8c20211::RewritesApplicator
467 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx, in RewritesApplicator() argument
469 : rewriter(rewriter), Listener(listener) { in RewritesApplicator()
479 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true, in insert()
491 bool err = rewriter.RemoveText(range, removeOpts); in remove()
498 rewriter.IncreaseIndentation(range, parentIndent); in increaseIndentation()
578 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts()); in applyTransform() local
586 RewritesApplicator applicator(rewriter, Ctx, listener); in applyTransform()
597 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.td205 // TODO: Use a custom category name to distinguish rewriter errors.
206 def err_mt_message : Error<"[rewriter] %0">, SuppressInSystemHeader;
207 def warn_mt_message : Warning<"[rewriter] %0">;
208 def note_mt_message : Note<"[rewriter] %0">;
211 def warn_arcmt_nsalloc_realloc : Warning<"[rewriter] call returns pointer to GC managed memory; it …
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DRunWithAnnotator.java151 private void appendImport(CompilationUnit cu, ASTRewrite rewriter, Name name) { in appendImport() argument
152 ListRewrite lrw = rewriter.getListRewrite(cu, CompilationUnit.IMPORTS_PROPERTY); in appendImport()

12