/cts/tools/vm-tests-tf/src/dot/junit/opcodes/fill_array_data/ |
D | Test_fill_array_data.java | 29 int arr[] = new int[5]; in testN1() local 31 t.run(arr); in testN1() 33 assertEquals(i + 1, arr[i]); in testN1() 40 double arr[] = new double[5]; in testN2() local 42 t.run(arr); in testN2() 44 assertEquals((double)(i + 1), arr[i]); in testN2() 52 int arr[] = new int[10]; in testN3() local 54 t.run(arr); in testN3() 56 assertEquals(i + 1, arr[i]); in testN3() 58 assertEquals(0, arr[i]); in testN3() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/ |
D | Test_aget_wide.java | 33 long[] arr = new long[2]; in testN1() local 34 arr[1] = 1000000000000000000l; in testN1() 35 assertEquals(1000000000000000000l, t.run(arr, 1)); in testN1() 43 long[] arr = new long[2]; in testN2() local 44 arr[0] = 1000000000000000000l; in testN2() 45 assertEquals(1000000000000000000l, t.run(arr, 0)); in testN2() 53 double[] arr = new double[2]; in testN3() local 54 arr[0] = 3.1415d; in testN3() 55 assertEquals(3.1415d, t.run(arr, 0)); in testN3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_wide/ |
D | Test_aput_wide.java | 33 long[] arr = new long[2]; in testN1() local 34 t.run(arr, 1, 100000000000l); in testN1() 35 assertEquals(100000000000l, arr[1]); in testN1() 43 long[] arr = new long[2]; in testN2() local 44 t.run(arr, 0, 100000000000l); in testN2() 45 assertEquals(100000000000l, arr[0]); in testN2() 53 double[] arr = new double[2]; in testN3() local 54 t.run(arr, 0, 3.1415d); in testN3() 55 assertEquals(3.1415d, arr[0]); in testN3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array/ |
D | Test_filled_new_array.java | 32 int[] arr = t.run(1, 2, 3, 4, 5); in testN1() local 33 assertNotNull(arr); in testN1() 34 assertEquals(5, arr.length); in testN1() 36 assertEquals(i + 1, arr[i]); in testN1() 45 Object[] arr = t.run(t, s); in testN2() local 46 assertNotNull(arr); in testN2() 47 assertEquals(2, arr.length); in testN2() 48 assertEquals(t, arr[0]); in testN2() 49 assertEquals(s, arr[1]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array_range/ |
D | Test_filled_new_array_range.java | 32 int[] arr = t.run(1, 2, 3, 4, 5); in testN1() local 33 assertNotNull(arr); in testN1() 34 assertEquals(5, arr.length); in testN1() 36 assertEquals(i + 1, arr[i]); in testN1() 45 Object[] arr = t.run(t, s); in testN2() local 46 assertNotNull(arr); in testN2() 47 assertEquals(2, arr.length); in testN2() 48 assertEquals(t, arr[0]); in testN2() 49 assertEquals(s, arr[1]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/ |
D | Test_aput_object.java | 33 String[] arr = new String[2]; in testN1() local 34 t.run(arr, 0, "hello"); in testN1() 35 assertEquals("hello", arr[0]); in testN1() 44 String[] arr = new String[2]; in testN2() local 46 t.run(arr, 1, value[i]); in testN2() 47 assertEquals(value[i], arr[1]); in testN2() 56 Integer[] arr = new Integer[2]; in testN3() local 58 t.run(arr, 0, value); in testN3() 59 assertEquals(value, arr[0]); in testN3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_boolean/ |
D | Test_aput_boolean.java | 30 boolean[] arr = new boolean[2]; in testN1() 31 t.run(arr, 1, true); in testN1() 32 assertEquals(true, arr[1]); in testN1() 40 boolean[] arr = new boolean[2]; in testN2() 41 t.run(arr, 0, true); in testN2() 42 assertEquals(true, arr[0]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_char/ |
D | Test_aput_char.java | 31 char[] arr = new char[2]; in testN1() local 32 t.run(arr, 1, 'g'); in testN1() 33 assertEquals('g', arr[1]); in testN1() 41 char[] arr = new char[2]; in testN2() local 42 t.run(arr, 0, 'g'); in testN2() 43 assertEquals('g', arr[0]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/ |
D | Test_aget_char.java | 30 char[] arr = new char[2]; in testN1() local 31 arr[1] = 'g'; in testN1() 32 assertEquals('g', t.run(arr, 1)); in testN1() 40 char[] arr = new char[2]; in testN2() local 41 arr[0] = 'g'; in testN2() 42 assertEquals('g', t.run(arr, 0)); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_short/ |
D | Test_aget_short.java | 30 short[] arr = new short[2]; in testN1() local 31 arr[1] = 10000; in testN1() 32 assertEquals(10000, t.run(arr, 1)); in testN1() 40 short[] arr = new short[2]; in testN2() local 41 arr[0] = 10000; in testN2() 42 assertEquals(10000, t.run(arr, 0)); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput/ |
D | Test_aput.java | 31 int[] arr = new int[2]; in testN1() local 32 t.run(arr, 1, 100000000); in testN1() 33 assertEquals(100000000, arr[1]); in testN1() 41 int[] arr = new int[2]; in testN2() local 42 t.run(arr, 0, 100000000); in testN2() 43 assertEquals(100000000, arr[0]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/ |
D | Test_aget_boolean.java | 30 boolean[] arr = new boolean[2]; in testN1() 31 arr[1] = true; in testN1() 32 assertEquals(true, t.run(arr, 1)); in testN1() 40 boolean[] arr = new boolean[2]; in testN2() 41 arr[0] = true; in testN2() 42 assertEquals(true, t.run(arr, 0)); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_byte/ |
D | Test_aput_byte.java | 30 byte[] arr = new byte[2]; in testN1() 31 t.run(arr, 1, (byte) 100); in testN1() 32 assertEquals(100, arr[1]); in testN1() 40 byte[] arr = new byte[2]; in testN2() 41 t.run(arr, 0, (byte) 100); in testN2() 42 assertEquals(100, arr[0]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_short/ |
D | Test_aput_short.java | 30 short[] arr = new short[2]; in testN1() local 31 t.run(arr, 1, (short) 10000); in testN1() 32 assertEquals(10000, arr[1]); in testN1() 40 short[] arr = new short[2]; in testN2() local 41 t.run(arr, 0, (short) 10000); in testN2() 42 assertEquals(10000, arr[0]); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/ |
D | Test_aget.java | 30 int[] arr = new int[2]; in testN1() local 31 arr[1] = 100000000; in testN1() 32 assertEquals(100000000, t.run(arr, 1)); in testN1() 40 int[] arr = new int[2]; in testN2() local 41 arr[0] = 100000000; in testN2() 42 assertEquals(100000000, t.run(arr, 0)); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/ |
D | Test_aget_byte.java | 31 byte[] arr = new byte[2]; in testN1() 32 arr[1] = 100; in testN1() 33 assertEquals(100, t.run(arr, 1)); in testN1() 41 byte[] arr = new byte[2]; in testN2() 42 arr[0] = 100; in testN2() 43 assertEquals(100, t.run(arr, 0)); in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_result_object/d/ |
D | T_move_result_object_8.java | 22 int arr[] = new int[2]; in run() local 23 arr[0] = 1; in run() 24 arr[1] = 2; in run() 25 return arr; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_result_object/ |
D | Test_move_result_object.java | 38 int[] arr = t.run(); in testN2() local 39 if(arr.length != 2 || arr[0] != 1 || arr[1] != 2) in testN2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_object/ |
D | Test_aget_object.java | 31 String[] arr = new String[] {"a", "b"}; in testN1() local 32 assertEquals("a", t.run(arr, 0)); in testN1() 40 String[] arr = new String[] {"a", "b"}; in testN2() local 41 assertEquals("b", t.run(arr, 1)); in testN2()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0484/ |
D | poc.cpp | 55 const uint8_t arr[16] = {}; in main() local 56 data.write(arr, 16); in main() 58 data.writeUnpadded(arr, 1); in main()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/array_length/d/ |
D | T_array_length_4.java | 21 public int run(double[] arr) { in run() argument 22 return arr.length; in run()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | EventLogTest.java | 63 Object[] arr = (Object[]) events.get(4).getData(); in testWriteEvent() local 64 assertEquals(4, arr.length); in testWriteEvent() 65 assertEquals(12345, arr[0]); in testWriteEvent() 66 assertEquals(23456L, arr[1]); in testWriteEvent() 67 assertEquals(42.4242f, arr[2]); in testWriteEvent() 68 assertEquals("Test", arr[3]); in testWriteEvent() 176 Object[] arr = (Object[]) events.get(1).getData(); in testWriteNullEvent() local 177 assertEquals(2, arr.length); in testWriteNullEvent() 178 assertEquals(12345, arr[0]); in testWriteNullEvent() 179 assertEquals("NULL", arr[1]); in testWriteNullEvent()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/d/ |
D | T_aget_wide_1.java | 21 public long run(long[] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/d/ |
D | T_aget_boolean_1.java | 20 public boolean run(boolean[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/d/ |
D | T_aget_char_1.java | 20 public char run(char[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|