/dalvik/dx/tests/111-use-null-as-array/ |
D | Blort.java | 19 boolean[] arr = null; in test_getBooleanArray() 20 return arr[1]; in test_getBooleanArray() 24 byte[] arr = null; in test_getByteArray() 25 return arr[2]; in test_getByteArray() 29 char[] arr = null; in test_getCharArray() local 30 return arr[3]; in test_getCharArray() 34 double[] arr = null; in test_getDoubleArray() local 35 return arr[4]; in test_getDoubleArray() 39 float[] arr = null; in test_getFloatArray() local 40 return arr[5]; in test_getFloatArray() [all …]
|
/dalvik/dx/tests/073-dex-null-array-refs/ |
D | Blort.java | 32 Object[] arr = null; in test4() local 33 return arr[0]; in test4() 37 Object[] arr = null; in test5() local 38 arr[0] = null; in test5() 42 Object[] arr = null; in test6() local 43 return arr.length; in test6() 46 public static Object test7(Object[] arr) { in test7() argument 48 arr = null; in test7() 51 return arr[0]; in test7() 54 public static void test8(Object[] arr) { in test8() argument [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | FixedSizeList.java | 27 private Object[] arr; field in FixedSizeList 38 arr = new Object[size]; in FixedSizeList() 59 return Arrays.equals(arr, list.arr); in equals() 65 return Arrays.hashCode(arr); in hashCode() 124 return arr.length; in size() 133 int sz = arr.length; in shrinkToFit() 137 if (arr[i] != null) { in shrinkToFit() 152 Object one = arr[i]; in shrinkToFit() 159 arr = newa; in shrinkToFit() 177 Object result = arr[n]; in get0() [all …]
|
D | ByteArray.java | 314 public int read(byte[] arr, int offset, int length) { in read() argument 315 if ((offset + length) > arr.length) { in read() 316 length = arr.length - offset; in read() 324 System.arraycopy(bytes, cursor + start, arr, offset, length); in read()
|
D | Hex.java | 249 public static String dump(byte[] arr, int offset, int length, in dump() argument 254 if (((offset | length | end) < 0) || (end > arr.length)) { in dump() 256 arr.length + "; " + in dump() 286 sb.append(Hex.u1(arr[offset])); in dump()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | FixedSizeList.java | 27 private Object[] arr; field in FixedSizeList 38 arr = new Object[size]; in FixedSizeList() 59 return Arrays.equals(arr, list.arr); in equals() 65 return Arrays.hashCode(arr); in hashCode() 124 return arr.length; in size() 133 int sz = arr.length; in shrinkToFit() 137 if (arr[i] != null) { in shrinkToFit() 152 Object one = arr[i]; in shrinkToFit() 159 arr = newa; in shrinkToFit() 177 Object result = arr[n]; in get0() [all …]
|
D | Hex.java | 249 public static String dump(byte[] arr, int offset, int length, in dump() argument 254 if (((offset | length | end) < 0) || (end > arr.length)) { in dump() 256 arr.length + "; " + in dump() 286 sb.append(Hex.u1(arr[offset])); in dump()
|
D | ByteArray.java | 314 public int read(byte[] arr, int offset, int length) { in read() argument 315 if ((offset + length) > arr.length) { in read() 316 length = arr.length - offset; in read() 324 System.arraycopy(bytes, cursor + start, arr, offset, length); in read()
|
/dalvik/dx/tests/078-dex-local-variable-table/ |
D | Blort.java | 24 Object[] arr = null; in test02() local 25 return arr[0]; in test02() 42 int[] arr = (int[]) x; in test05() local 43 arr[0] = 123; in test05() 44 return arr[0]; in test05()
|
D | expected.txt | 30 0002: +local v0 arr java.lang.Object[] 32 0007: -local v0 arr java.lang.Object[] 102 0007: +local v1 arr int[]
|
/dalvik/dx/tests/075-dex-cat2-value-merge/ |
D | Blort.java | 19 public static void test(long[] arr) in test() argument 24 x += arr[0]; in test()
|
/dalvik/dx/tests/064-dex-array-access/ |
D | Blort.java | 70 int[][][] arr = (int[][][]) x; in test11() local 71 arr[0][0][0] = 123; in test11() 72 return arr[1][2][3]; in test11()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | PositionList.java | 76 PositionList.Entry[] arr = new PositionList.Entry[sz]; in make() local 99 arr[at] = new PositionList.Entry(insn.getAddress(), pos); in make() 107 result.set(i, arr[i]); in make()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | PositionList.java | 76 PositionList.Entry[] arr = new PositionList.Entry[sz]; in make() local 99 arr[at] = new PositionList.Entry(insn.getAddress(), pos); in make() 107 result.set(i, arr[i]); in make()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | ByteCatchList.java | 138 private static boolean typeNotFound(Item item, Item[] arr, int count) { in typeNotFound() argument 142 CstType one = arr[i].getExceptionClass(); in typeNotFound()
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | ByteCatchList.java | 138 private static boolean typeNotFound(Item item, Item[] arr, int count) { in typeNotFound() argument 142 CstType one = arr[i].getExceptionClass(); in typeNotFound()
|
/dalvik/dx/src/com/android/dx/command/dump/ |
D | BaseDumper.java | 171 protected final void setAt(ByteArray arr, int offset) { in setAt() argument 172 at = arr.underlyingOffset(offset, bytes); in setAt()
|