/dalvik/dx/tests/111-use-null-as-array/ |
D | multidimensional.j | 8 ; Object[][] array = null; 9 ; return array[1][1]; 27 ; Object[][] array = null; 28 ; array[1][1] = null; 48 ; boolean[][] array = null; 49 ; return array[1][1]; 67 ; boolean[][] array = null; 68 ; array[1][1] = false; 88 ; byte[][] array = null; 89 ; return array[1][1]; [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | EncodedArrayItem.java | 31 private final CstArray array; field in EncodedArrayItem 44 public EncodedArrayItem(CstArray array) { in EncodedArrayItem() argument 51 if (array == null) { in EncodedArrayItem() 55 this.array = array; in EncodedArrayItem() 68 return array.hashCode(); in hashCode() 76 return array.compareTo(otherArray.array); in compareTo0() 82 return array.toHuman(); in toHuman() 88 ValueEncoder.addContents(file, array); in addContents() 99 encoder.writeArray(array, false); in place0() 118 encoder.writeArray(array, true); in writeTo0()
|
D | AnnotationUtils.java | 155 CstArray array = makeCstArray(types); in makeMemberClasses() local 157 result.put(new NameValuePair(VALUE_STRING, array)); in makeMemberClasses() 245 CstArray array = makeCstArray(types); in makeThrows() local 247 result.put(new NameValuePair(VALUE_STRING, array)); in makeThrows()
|
D | AnnotationItem.java | 92 public static void sortByTypeIdIndex(AnnotationItem[] array) { in sortByTypeIdIndex() argument 93 Arrays.sort(array, TYPE_ID_SORTER); in sortByTypeIdIndex()
|
D | ValueEncoder.java | 292 public void writeArray(CstArray array, boolean topLevel) { in writeArray() argument 294 CstArray.List list = ((CstArray) array).getList(); in writeArray()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | EncodedArrayItem.java | 40 private final CstArray array; field in EncodedArrayItem 53 public EncodedArrayItem(CstArray array) { in EncodedArrayItem() argument 60 if (array == null) { in EncodedArrayItem() 64 this.array = array; in EncodedArrayItem() 77 return array.hashCode(); in hashCode() 85 return array.compareTo(otherArray.array); in compareTo0() 91 return array.toHuman(); in toHuman() 96 ValueEncoder.addContents(file, array); in addContents() 107 encoder.writeArray(array, false); in place0() 126 encoder.writeArray(array, true); in writeTo0()
|
D | AnnotationUtils.java | 154 CstArray array = makeCstArray(types); in makeMemberClasses() local 156 result.put(new NameValuePair(VALUE_UTF, array)); in makeMemberClasses() 230 CstArray array = makeCstArray(types); in makeThrows() local 232 result.put(new NameValuePair(VALUE_UTF, array)); in makeThrows()
|
D | AnnotationItem.java | 93 public static void sortByTypeIdIndex(AnnotationItem[] array) { in sortByTypeIdIndex() argument 94 Arrays.sort(array, TYPE_ID_SORTER); in sortByTypeIdIndex()
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | ShortArrayCodeInput.java | 27 private final short[] array; field in ShortArrayCodeInput 32 public ShortArrayCodeInput(short[] array) { in ShortArrayCodeInput() argument 33 if (array == null) { in ShortArrayCodeInput() 37 this.array = array; in ShortArrayCodeInput() 43 return cursor() < array.length; in hasMore() 50 int value = array[cursor()]; in read()
|
D | ShortArrayCodeOutput.java | 25 private final short[] array; field in ShortArrayCodeOutput 37 this.array = new short[maxSize]; in ShortArrayCodeOutput() 47 if (cursor == array.length) { in getArray() 48 return array; in getArray() 52 System.arraycopy(array, 0, result, 0, cursor); in getArray() 59 array[cursor()] = codeUnit; in write()
|
D | InstructionCodec.java | 831 byte[] array = new byte[size]; in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 837 array[i] = (byte) (value & 0xff); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 841 this, opcodeUnit, array); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 844 short[] array = new short[size]; in FORMAT_FILL_ARRAY_DATA_PAYLOAD() local 846 array[i] = (short) in.read(); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 849 this, opcodeUnit, array); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 852 int[] array = new int[size]; in FORMAT_FILL_ARRAY_DATA_PAYLOAD() local 854 array[i] = in.readInt(); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 857 this, opcodeUnit, array); in FORMAT_FILL_ARRAY_DATA_PAYLOAD() 860 long[] array = new long[size]; in FORMAT_FILL_ARRAY_DATA_PAYLOAD() local [all …]
|
/dalvik/dx/tests/048-dex-new-array/ |
D | expected.txt | 4 0001: new-array v0, v1, boolean[] 7 0007: new-array v0, v0, byte[] 10 000d: new-array v0, v0, char[] 13 0013: new-array v0, v0, short[] 16 0019: new-array v0, v0, int[] 19 001f: new-array v0, v0, long[] 22 0025: new-array v0, v0, float[] 25 002b: new-array v0, v0, double[] 27 0030: new-array v0, v1, java.lang.Object[]
|
D | info.txt | 2 simple array construction expressions get converted reasonably.
|
/dalvik/dx/tests/090-dex-unify-arrays/ |
D | expected.txt | 7 0005: new-array v1, v1, java.lang.String[] 13 000d: new-array v1, v1, java.lang.Integer[] 21 0005: new-array v2, v2, int[] 29 0010: new-array v2, v2, float[] 37 0005: new-array v2, v2, char[] 45 0010: new-array v2, v2, double[] 53 0005: new-array v2, v2, long[] 61 0010: new-array v2, v2, boolean[] 69 0005: new-array v2, v2, short[] 77 0010: new-array v2, v2, java.lang.Object[] [all …]
|
D | info.txt | 2 array type unification works properly.
|
/dalvik/dx/tests/065-dex-new-array/ |
D | expected.txt | 5 0002: new-array v1, v1, boolean[] 12 0002: new-array v1, v1, byte[] 19 0002: new-array v1, v1, short[] 26 0002: new-array v1, v1, char[] 33 0002: new-array v1, v1, int[] 40 0002: new-array v1, v1, long[] 47 0002: new-array v1, v1, float[] 54 0002: new-array v1, v1, double[] 61 0002: new-array v1, v1, java.lang.Object[]
|
D | info.txt | 2 a few cases of array construction get converted reasonably.
|
/dalvik/dx/tests/108-string-annotation/ |
D | expected.txt | 8 value: array {gruesome} 12 value: array {awful, awesome}
|
/dalvik/dx/tests/070-dex-multianewarray/ |
D | expected.txt | 5 0002: filled-new-array {v1, v2}, int[] 19 0002: filled-new-array {v1, v2}, int[] 34 0003: filled-new-array {v1, v2, v3}, int[] 49 0003: filled-new-array {v1, v2, v3}, int[] 65 0004: filled-new-array {v1, v2, v3, v4}, int[] 82 0006: filled-new-array {v1, v2, v3, v4, v5}, int[] 99 0006: filled-new-array {v1, v2, v3, v4, v5}, int[] 116 0006: filled-new-array {v1, v2, v3, v4, v5}, int[] 130 0002: filled-new-array {v0, v1}, int[] 141 0002: filled-new-array {v0, v1}, int[] [all …]
|
D | info.txt | 2 cases of multidimensional array construction get converted reasonably.
|
/dalvik/dx/tests/061-dex-try-catch/ |
D | expected.txt | 11 0002: array-length v2, v2 39 0002: array-length v2, v2
|
/dalvik/dx/tests/073-dex-null-array-refs/ |
D | expected.txt | 20 0003: array-length v0, v0 45 0003: array-length v1, v1 83 000a: array-length v1, v1
|
D | info.txt | 3 null array references are used.
|
/dalvik/dx/tests/064-dex-array-access/ |
D | info.txt | 2 a few cases of array access get converted reasonably.
|
/dalvik/dx/tests/024-code-bytecode/ |
D | info.txt | 6 method with a Code attribute, and the code[] array of the attribute has
|