Searched defs:dex (Results 1 - 25 of 30) sorted by relevance

12

/libcore/dex/src/main/java/com/android/dex/
H A DDexException.java17 package com.android.dex;
19 import com.android.dex.util.ExceptionWithContext;
23 * processing a dex file.
H A DAnnotation.java17 package com.android.dex;
19 import static com.android.dex.EncodedValueReader.ENCODED_ANNOTATION;
25 private final Dex dex; field in class:Annotation
29 public Annotation(Dex dex, byte visibility, EncodedValue encodedAnnotation) { argument
30 this.dex = dex;
59 return dex == null
61 : visibility + " " + dex.typeNames().get(getTypeIndex());
H A DFieldId.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
22 private final Dex dex; field in class:FieldId
27 public FieldId(Dex dex, int declaringClassIndex, int typeIndex, int nameIndex) { argument
28 this.dex = dex;
63 if (dex == null) {
66 return dex.typeNames().get(typeIndex) + "." + dex.strings().get(nameIndex);
H A DMethodId.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
22 private final Dex dex; field in class:MethodId
27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { argument
28 this.dex = dex;
63 if (dex == null) {
66 return dex.typeNames().get(declaringClassIndex)
67 + "." + dex.strings().get(nameIndex)
68 + dex
[all...]
H A DProtoId.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
22 private final Dex dex; field in class:ProtoId
27 public ProtoId(Dex dex, int shortyIndex, int returnTypeIndex, int parametersOffset) { argument
28 this.dex = dex;
60 if (dex == null) {
64 return dex.strings().get(shortyIndex)
65 + ": " + dex.typeNames().get(returnTypeIndex)
66 + " " + dex
[all...]
H A DTypeList.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
25 private final Dex dex; field in class:TypeList
28 public TypeList(Dex dex, short[] types) { argument
29 this.dex = dex;
50 result.append(dex != null ? dex.typeNames().get(types[i]) : types[i]);
H A DEncodedValue.java17 package com.android.dex;
19 import com.android.dex.util.ByteArrayByteInput;
20 import com.android.dex.util.ByteInput;
H A DLeb128.java17 package com.android.dex;
19 import com.android.dex.util.ByteInput;
20 import com.android.dex.util.ByteOutput;
H A DMutf8.java17 package com.android.dex;
19 import com.android.dex.util.ByteInput;
23 * Modified UTF-8 as described in the dex file format spec.
H A DDexFormat.java17 package com.android.dex;
20 * Constants that show up in and are otherwise related to {@code .dex}
36 * file name of the primary {@code .dex} file inside an
39 public static final String DEX_IN_JAR_NAME = "classes.dex";
41 /** common prefix for all dex file "magic numbers" */
42 public static final String MAGIC_PREFIX = "dex\n";
44 /** common suffix for all dex file "magic numbers" */
47 /** dex file version number for the current format variant */
50 /** dex file version number for API level 13 and earlier */
73 * or {@code -1} if the given array is not a well-formed dex fil
[all...]
H A DEncodedValueCodec.java17 package com.android.dex;
19 import com.android.dex.util.ByteInput;
20 import com.android.dex.util.ByteOutput;
H A DSizeOf.java17 package com.android.dex;
H A DClassData.java17 package com.android.dex;
H A DClassDef.java17 package com.android.dex;
H A DTableOfContents.java17 package com.android.dex;
68 public void readFrom(Dex dex) throws IOException { argument
69 readHeader(dex.open(0));
70 readMap(dex.open(mapList.off));
97 throw new DexException("Cannot merge dex files that do not contain a map");
H A DCode.java17 package com.android.dex;
/libcore/dex/src/main/java/com/android/dex/util/
H A DByteInput.java17 package com.android.dex.util;
H A DByteOutput.java17 package com.android.dex.util;
H A DByteArrayByteInput.java17 package com.android.dex.util;
H A DFileUtils.java17 package com.android.dex.util;
H A DUnsigned.java17 package com.android.dex.util;
H A DExceptionWithContext.java17 package com.android.dex.util;
/libcore/libart/src/main/java/java/lang/
H A DDexCache.java35 import com.android.dex.Dex;
40 * A dex cache holds resolved copies of strings, fields, methods, and classes from the dexfile.
43 /** Lazily initialized dex file wrapper. Volatile to avoid double-check locking issues. */
44 private volatile Dex dex; field in class:DexCache
49 /** The location of the associated dex file. */
54 * fields defined in other dex files.
60 * methods defined in other dex files.
66 * types defined in other dex files.
83 Dex result = dex;
86 result = dex;
[all...]
/libcore/dex/src/test/java/com/android/dex/
H A DEncodedValueReaderTest.java17 package com.android.dex;
19 import com.android.dex.util.ByteArrayByteInput;
/libcore/libart/src/main/java/java/lang/reflect/
H A DArtMethod.java35 import com.android.dex.Dex;
69 /* ART: dex cache fast access */
94 Dex dex = artMethod.getDeclaringClass().getDex();
95 int nameIndex = dex.nameIndexFromMethodIndex(artMethod.getDexMethodIndex());
96 // Note, in the case of a Proxy the dex cache strings are equal.
97 return artMethod.getDexCacheString(dex, nameIndex);
106 Dex dex = artMethod.getDeclaringClass().getDex();
107 short[] types = dex.parameterTypeIndicesFromMethodIndex(artMethod.getDexMethodIndex());
112 if (artMethod.getDexCacheType(dex, types[i]) != params[i]) {
129 Dex dex
180 getDexCacheString(Dex dex, int dexStringIndex) argument
194 getDexCacheType(Dex dex, int dexTypeIndex) argument
[all...]

Completed in 231 milliseconds

12