Home
last modified time | relevance | path

Searched refs:DexValue (Results 1 – 20 of 20) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/graph/
DDexCallSite.java9 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 …]
DDexAnnotation.java8 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 …]
DJarClassFileReader.java13 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 …]
DDexValue.java18 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 …]
DDexEncodedArray.java12 public final DexValue[] values;
14 public DexEncodedArray(DexValue[] values) { in DexEncodedArray()
DDexAnnotationElement.java12 public final DexValue value;
14 public DexAnnotationElement(DexString name, DexValue value) { in DexAnnotationElement()
DDexEncodedField.java18 public final DexValue staticValue;
21 DexValue staticValue) { in DexEncodedField()
DJarApplicationReader.java87 DexMethodHandle bootstrapMethod, List<DexValue> bootstrapArgs) { in getCallSite()
DDexItemFactory.java362 DexMethodHandle bootstrapMethod, List<DexValue> bootstrapArgs) { in createCallSite()
/external/r8/src/main/java/com/android/tools/r8/dex/
DDexFileReader.java47 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 …]
DApplicationWriter.java22 import com.android.tools.r8.graph.DexValue;
68 for (DexValue value : dexEncodedArray.values) { in add()
DFileWriter.java39 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/
DLambdaDescriptor.java19 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 …]
DInterfaceMethodRewriter.java19 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()
DLambdaClass.java26 import com.android.tools.r8.graph.DexValue.DexValueNull;
/external/r8/src/main/java/com/android/tools/r8/code/
DInvokeCustom.java9 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/
DClassNameMinifier.java11 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/
DLensCodeRewriter.java15 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()
DJarSourceCode.java19 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/
DJSR45Tests.java14 import com.android.tools.r8.graph.DexValue.DexValueString;