/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | DexCallSite.java | 9 import com.android.tools.r8.graph.DexValue.DexValueMethodHandle; 10 import com.android.tools.r8.graph.DexValue.DexValueMethodType; 11 import com.android.tools.r8.graph.DexValue.DexValueString; 26 public final List<DexValue> bootstrapArgs; 31 DexMethodHandle bootstrapMethod, List<DexValue> bootstrapArgs) { in DexCallSite() 81 for (DexValue arg : bootstrapArgs) { in collectIndexedItems() 150 private void write(List<DexValue> args) throws IOException { in write() 152 for (DexValue arg : args) { in write() 154 if (arg instanceof DexValue.DexValueString) { in write() 156 write(((DexValue.DexValueString) arg).value); in write() [all …]
|
D | DexAnnotation.java | 8 import com.android.tools.r8.graph.DexValue.DexValueAnnotation; 9 import com.android.tools.r8.graph.DexValue.DexValueArray; 10 import com.android.tools.r8.graph.DexValue.DexValueInt; 11 import com.android.tools.r8.graph.DexValue.DexValueMethod; 12 import com.android.tools.r8.graph.DexValue.DexValueNull; 13 import com.android.tools.r8.graph.DexValue.DexValueString; 14 import com.android.tools.r8.graph.DexValue.DexValueType; 108 DexValue[] values = new DexValue[classes.size()]; in createMemberClassesAnnotation() 116 public static DexAnnotation createSourceDebugExtensionAnnotation(DexValue value, in createSourceDebugExtensionAnnotation() 125 public static DexAnnotation createMethodParametersAnnotation(DexValue[] names, in createMethodParametersAnnotation() [all …]
|
D | JarClassFileReader.java | 13 import com.android.tools.r8.graph.DexValue.DexValueAnnotation; 14 import com.android.tools.r8.graph.DexValue.DexValueArray; 15 import com.android.tools.r8.graph.DexValue.DexValueBoolean; 16 import com.android.tools.r8.graph.DexValue.DexValueByte; 17 import com.android.tools.r8.graph.DexValue.DexValueChar; 18 import com.android.tools.r8.graph.DexValue.DexValueDouble; 19 import com.android.tools.r8.graph.DexValue.DexValueEnum; 20 import com.android.tools.r8.graph.DexValue.DexValueFloat; 21 import com.android.tools.r8.graph.DexValue.DexValueInt; 22 import com.android.tools.r8.graph.DexValue.DexValueLong; [all …]
|
D | DexValue.java | 18 public abstract class DexValue extends DexItem { class 62 public static DexValue defaultForType(DexType type, DexItemFactory factory) { in defaultForType() 102 static private abstract class SimpleDexValue extends DexValue { 438 static private abstract class NestedDexValue<T extends IndexedDexItem> extends DexValue { 588 static public class DexValueArray extends DexValue { 590 final DexValue[] values; 592 public DexValueArray(DexValue[] values) { in DexValueArray() 605 for (DexValue value : values) { in writeTo() 612 for (DexValue value : values) { in sort() 640 static public class DexValueAnnotation extends DexValue { [all …]
|
D | DexEncodedArray.java | 12 public final DexValue[] values; 14 public DexEncodedArray(DexValue[] values) { in DexEncodedArray()
|
D | DexAnnotationElement.java | 12 public final DexValue value; 14 public DexAnnotationElement(DexString name, DexValue value) { in DexAnnotationElement()
|
D | DexEncodedField.java | 18 public final DexValue staticValue; 21 DexValue staticValue) { in DexEncodedField()
|
D | JarApplicationReader.java | 87 DexMethodHandle bootstrapMethod, List<DexValue> bootstrapArgs) { in getCallSite()
|
D | DexItemFactory.java | 362 DexMethodHandle bootstrapMethod, List<DexValue> bootstrapArgs) { in createCallSite()
|
/external/r8/src/main/java/com/android/tools/r8/dex/ |
D | DexFileReader.java | 47 import com.android.tools.r8.graph.DexValue; 48 import com.android.tools.r8.graph.DexValue.DexValueMethodHandle; 49 import com.android.tools.r8.graph.DexValue.DexValueMethodType; 50 import com.android.tools.r8.graph.DexValue.DexValueNull; 51 import com.android.tools.r8.graph.DexValue.DexValueString; 156 public DexValue parseEncodedValue() { in parseEncodedValue() 161 case DexValue.VALUE_BYTE: { in parseEncodedValue() 164 return DexValue.DexValueByte.create(value); in parseEncodedValue() 166 case DexValue.VALUE_SHORT: { in parseEncodedValue() 169 return DexValue.DexValueShort.create(value); in parseEncodedValue() [all …]
|
D | ApplicationWriter.java | 22 import com.android.tools.r8.graph.DexValue; 68 for (DexValue value : dexEncodedArray.values) { in add()
|
D | FileWriter.java | 39 import com.android.tools.r8.graph.DexValue; 653 List<DexValue> values = new ArrayList<>(fields.length); in addStaticFieldValues() 664 values.subList(0, length).toArray(new DexValue[length])); in addStaticFieldValues() 711 for (DexValue value : array.values) { in writeEncodedArray()
|
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/ |
D | LambdaDescriptor.java | 19 import com.android.tools.r8.graph.DexValue; 229 DexValue.DexValueMethodType funcErasedSignature = in infer() 230 getBootstrapArgument(callSite, 0, DexValue.DexValueMethodType.class); in infer() 234 getBootstrapArgument(callSite, 1, DexValue.DexValueMethodHandle.class).value; in infer() 240 DexValue.DexValueMethodType funcEnforcedSignature = in infer() 241 getBootstrapArgument(callSite, 2, DexValue.DexValueMethodType.class); in infer() 277 callSite, argIndex++, DexValue.DexValueInt.class).value; in extractExtraLambdaInfo() 283 callSite, argIndex++, DexValue.DexValueInt.class).value; in extractExtraLambdaInfo() 286 callSite, argIndex++, DexValue.DexValueType.class).value; in extractExtraLambdaInfo() 303 callSite, argIndex++, DexValue.DexValueInt.class).value; in extractExtraLambdaInfo() [all …]
|
D | InterfaceMethodRewriter.java | 19 import com.android.tools.r8.graph.DexValue; 103 for (DexValue arg : callSite.bootstrapArgs) { in rewriteMethodReferences() 104 if (arg instanceof DexValue.DexValueMethodHandle) { in rewriteMethodReferences() 105 reportStaticInterfaceMethodHandle(((DexValue.DexValueMethodHandle) arg).value); in rewriteMethodReferences()
|
D | LambdaClass.java | 26 import com.android.tools.r8.graph.DexValue.DexValueNull;
|
/external/r8/src/main/java/com/android/tools/r8/code/ |
D | InvokeCustom.java | 9 import com.android.tools.r8.graph.DexValue; 10 import com.android.tools.r8.graph.DexValue.DexValueMethodHandle; 11 import com.android.tools.r8.graph.DexValue.DexValueType; 67 for (DexValue arg : callSite.bootstrapArgs) { in registerCallSite()
|
/external/r8/src/main/java/com/android/tools/r8/naming/ |
D | ClassNameMinifier.java | 11 import com.android.tools.r8.graph.DexValue; 12 import com.android.tools.r8.graph.DexValue.DexValueType; 97 DexValue value = annotation.annotation.elements[0].value; in getOutClassForType()
|
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
D | LensCodeRewriter.java | 15 import com.android.tools.r8.graph.DexValue; 16 import com.android.tools.r8.graph.DexValue.DexValueMethodHandle; 73 List<DexValue> newArgs = callSite.bootstrapArgs.stream().map( in rewrite()
|
D | JarSourceCode.java | 19 import com.android.tools.r8.graph.DexValue; 2533 List<DexValue> bootstrapArgs = new ArrayList<>(); in build() 2547 private DexValue decodeBootstrapArgument(Object value) { in decodeBootstrapArgument() 2549 return DexValue.DexValueInt.create((Integer) value); in decodeBootstrapArgument() 2551 return DexValue.DexValueLong.create((Long) value); in decodeBootstrapArgument() 2553 return DexValue.DexValueFloat.create((Float) value); in decodeBootstrapArgument() 2555 return DexValue.DexValueDouble.create((Double) value); in decodeBootstrapArgument() 2557 return new DexValue.DexValueString(application.getString((String) value)); in decodeBootstrapArgument() 2563 return new DexValue.DexValueType( in decodeBootstrapArgument() 2566 return new DexValue.DexValueMethodType( in decodeBootstrapArgument() [all …]
|
/external/r8/src/test/java/com/android/tools/r8/jsr45/ |
D | JSR45Tests.java | 14 import com.android.tools.r8.graph.DexValue.DexValueString;
|