/external/r8/src/main/java/com/android/tools/r8/ir/desugar/ |
D | LambdaClass.java | 52 final LambdaRewriter rewriter; field in LambdaClass 61 LambdaClass(LambdaRewriter rewriter, DexType accessedFrom, in LambdaClass() argument 63 assert rewriter != null; in LambdaClass() 67 this.rewriter = rewriter; in LambdaClass() 71 DexItemFactory factory = rewriter.factory; in LambdaClass() 75 lambdaClassType, constructorProto, rewriter.constructorName); in LambdaClass() 81 : factory.createMethod(lambdaClassType, constructorProto, rewriter.classConstructorName); in LambdaClass() 83 : factory.createField(lambdaClassType, lambdaClassType, rewriter.instanceFieldName); in LambdaClass() 88 LambdaRewriter rewriter, DexType accessedFrom, LambdaDescriptor match) { in createLambdaClassType() argument 109 return rewriter.factory.createType(lambdaClassDescriptor.toString()); in createLambdaClassType() [all …]
|
D | LambdaDescriptor.java | 58 private LambdaDescriptor(LambdaRewriter rewriter, DexCallSite callSite, in LambdaDescriptor() argument 61 assert rewriter != null; in LambdaDescriptor() 78 this.targetMethod = lookupTargetMethod(rewriter); in LambdaDescriptor() 90 private DexEncodedMethod lookupTargetMethod(LambdaRewriter rewriter) { in lookupTargetMethod() argument 95 AppInfo appInfo = rewriter.converter.appInfo; in lookupTargetMethod() 106 AppInfo appInfo = rewriter.converter.appInfo; in lookupTargetMethod() 113 AppInfo appInfo = rewriter.converter.appInfo; in lookupTargetMethod() 120 AppInfo appInfo = rewriter.converter.appInfo; in lookupTargetMethod() 209 static LambdaDescriptor infer(LambdaRewriter rewriter, DexCallSite callSite) { in infer() argument 217 boolean isMetafactoryMethod = bootstrapMethod == rewriter.metafactoryMethod; in infer() [all …]
|
D | ClassProcessor.java | 28 private final InterfaceMethodRewriter rewriter; field in ClassProcessor 36 ClassProcessor(InterfaceMethodRewriter rewriter) { in ClassProcessor() argument 37 this.rewriter = rewriter; in ClassProcessor() 64 if (superType != null && superType != rewriter.factory.objectType) { in process() 65 process(rewriter.findRequiredClass(superType)); in process() 98 assert !rewriter.findRequiredClass(method.holder).isLibraryClass(); in addForwardingMethod() 101 DexMethod newMethod = rewriter.factory.createMethod(clazz.type, method.proto, method.name); in addForwardingMethod() 107 rewriter.defaultAsMethodOfCompanionClass(method), in addForwardingMethod() 126 if (superType == null || superType == rewriter.factory.objectType) { in collectMethodsToImplement() 132 current = rewriter.findRequiredClass(superType); in collectMethodsToImplement() [all …]
|
D | InterfaceProcessor.java | 31 private final InterfaceMethodRewriter rewriter; field in InterfaceProcessor 35 InterfaceProcessor(InterfaceMethodRewriter rewriter) { in InterfaceProcessor() argument 36 this.rewriter = rewriter; in InterfaceProcessor() 48 if (rewriter.isDefaultMethod(virtual)) { in process() 50 DexMethod companionMethod = rewriter.defaultAsMethodOfCompanionClass(virtual.method); in process() 100 rewriter.staticAsMethodOfCompanionClass(direct.method), direct.accessFlags, in process() 105 assert rewriter.factory.isClassConstructor(direct.method); in process() 127 DexType companionClassType = rewriter.getCompanionClassType(iface.type); in process() 132 rewriter.factory.objectType, in process() 148 return method.accessFlags.isStatic() && !rewriter.factory.isClassConstructor(method.method); in isStaticMethod()
|
D | LambdaConstructorSourceCode.java | 25 DexMethod objectInitMethod = lambda.rewriter.objectInitMethod; in prepareInstructions() 52 ? System.identityHashCode(lambda.rewriter.objectInitMethod) : super.hashCode(); in hashCode()
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | ClassReaderFactory.java | 23 private final CoreLibraryRewriter rewriter; field in ClassReaderFactory 25 public ClassReaderFactory(IndexedInputs indexedInputs, CoreLibraryRewriter rewriter) { in ClassReaderFactory() argument 26 this.rewriter = rewriter; in ClassReaderFactory() 37 String filename = rewriter.unprefix(internalClassName) + ".class"; in readIfKnown() 43 return rewriter.reader(bytecode); in readIfKnown() 58 String filename = rewriter.unprefix(internalClassName) + ".class"; in isKnown()
|
D | HeaderClassLoader.java | 37 private final CoreLibraryRewriter rewriter; field in HeaderClassLoader 40 IndexedInputs indexedInputs, CoreLibraryRewriter rewriter, ClassLoader parent) { in HeaderClassLoader() argument 42 this.rewriter = rewriter; in HeaderClassLoader() 48 String filename = rewriter.unprefix(name.replace('.', '/') + ".class"); in findClass() 55 ClassReader reader = rewriter.reader(content); in findClass()
|
D | Desugar.java | 207 private final CoreLibraryRewriter rewriter; field in Desugar 223 this.rewriter = new CoreLibraryRewriter(options.coreLibrary ? "__desugar__/" : ""); in Desugar() 245 : new HeaderClassLoader(indexedBootclasspath, rewriter, new ThrowingClassLoader()); in desugar() 255 new ClassReaderFactory(indexedBootclasspath, rewriter)); in desugar() 282 new HeaderClassLoader(indexedClasspathAndInputFiles, rewriter, bootclassloader); in desugarOneInput() 287 classpathReader = new ClassReaderFactory(indexedClasspathAndInputFiles, rewriter); in desugarOneInput() 291 bridgeMethodReader = new ClassReaderFactory(indexedInputFiles, rewriter); in desugarOneInput() 359 ClassReader reader = rewriter.reader(content); in desugarClassesInInput() 360 UnprefixingClassWriter writer = rewriter.writer(ClassWriter.COMPUTE_MAXS); in desugarClassesInInput() 404 ClassReader reader = rewriter.reader(bytecode); in desugarAndWriteDumpedLambdaClassesToOutput() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | RewriterUtils.java | 32 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());
|
D | Rewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | TypeRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | ExceptionHandlerRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | AnnotationElementRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | FieldReferenceRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | AnnotationRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | TryBlockRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | MethodParameterRewriter.java | 32 package org.jf.dexlib2.rewriter;
|
D | Rewriters.java | 32 package org.jf.dexlib2.rewriter;
|
/external/v8/src/parsing/ |
D | pattern-rewriter.cc | 20 PatternRewriter rewriter; in DeclareAndInitializeVariables() local 24 rewriter.scope_ = declaration_descriptor->scope; in DeclareAndInitializeVariables() 25 rewriter.parser_ = parser; in DeclareAndInitializeVariables() 26 rewriter.context_ = BINDING; in DeclareAndInitializeVariables() 27 rewriter.pattern_ = declaration->pattern; in DeclareAndInitializeVariables() 28 rewriter.initializer_position_ = declaration->initializer_position; in DeclareAndInitializeVariables() 29 rewriter.block_ = block; in DeclareAndInitializeVariables() 30 rewriter.descriptor_ = declaration_descriptor; in DeclareAndInitializeVariables() 31 rewriter.names_ = names; in DeclareAndInitializeVariables() 32 rewriter.ok_ = ok; in DeclareAndInitializeVariables() [all …]
|
D | parameter-initializer-rewriter.cc | 108 Rewriter rewriter(stack_limit, expr, param_scope); in ReparentParameterExpressionScope() local 109 rewriter.Run(); in ReparentParameterExpressionScope()
|
/external/clang/test/Rewriter/ |
D | finally.m | 7 …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
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 464 Rewriter &rewriter; member in __anonc6087f800211::RewritesApplicator 468 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx, in RewritesApplicator() argument 470 : rewriter(rewriter), Listener(listener) { in RewritesApplicator() 480 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true, in insert() 492 bool err = rewriter.RemoveText(range, removeOpts); in remove() 499 rewriter.IncreaseIndentation(range, parentIndent); in increaseIndentation() 579 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts()); in applyTransform() local 587 RewritesApplicator applicator(rewriter, Ctx, listener); in applyTransform() 598 I = rewriter.buffer_begin(), E = rewriter.buffer_end(); I != E; ++I) { in applyTransform()
|
/external/clang/test/ARCMT/ |
D | GC-check-warn-nsalloc.m | 1 …-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…
|
D | check-with-serialized-diag.m | 42 // 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/ |
D | DiagnosticCommonKinds.td | 210 // TODO: Use a custom category name to distinguish rewriter errors. 211 def err_mt_message : Error<"[rewriter] %0">, SuppressInSystemHeader; 212 def warn_mt_message : Warning<"[rewriter] %0">; 213 def note_mt_message : Note<"[rewriter] %0">; 216 def warn_arcmt_nsalloc_realloc : Warning<"[rewriter] call returns pointer to GC managed memory; it …
|