/art/test/981-dedup-original-dex/src-art/art/ |
D | Test981.java | 145 private static void assertSame(Object a, Object b) throws Exception { in assertSame() argument 146 if (a != b) { in assertSame() 147 throw new AssertionError("'" + (a != null ? a.toString() : "null") + "' is not the same as " + in assertSame()
|
/art/test/449-checker-bce/src/ |
D | Main.java | 1040 public static void nonzeroLength(int[] a) { in nonzeroLength() argument 1041 if (a.length != 0) { in nonzeroLength() 1042 a[0] = 112; in nonzeroLength() 1053 public static void knownLength(int[] a) { in knownLength() argument 1054 if (a.length == 2) { in knownLength() 1055 a[0] = -1; in knownLength() 1056 a[1] = -2; in knownLength() 1072 public static void lengthAlias1(int[] a, int len) { in lengthAlias1() argument 1073 if (len == a.length) { in lengthAlias1() 1075 a[i] = 1; in lengthAlias1() [all …]
|
/art/test/2026-DifferentMemoryLSCouples/src/ |
D | Main.java | 38 int a = inst1.fieldA; in testLoop() local 39 inst1.fieldA = a + i; in testLoop()
|
/art/test/590-infinite-loop-with-nop/smali/ |
D | TestCase.smali | 5 # You may obtain a copy of the License at 26 # Add a field to work around 28 .field private a:I
|
/art/test/VerifierDeps/ |
D | MySimpleTimeZone.smali | 5 # You may obtain a copy of the License at 19 # Define foo() as a final method. It is used by the MyErroneousTimeZone subclass 20 # to generate a linkage error.
|
/art/test/086-null-super/ |
D | info.txt | 4 This is a regression test for a defect in Dalvik, which was assuming
|
/art/test/800-smali/smali/ |
D | b_31313170.smali | 15 sget v2, LB31313170;->a:I 22 .field static public a:I
|
D | b_27799205_4.smali | 4 # A class with an unresolved array type should not fail hard (unless it's a primitive-type access). 15 # Make v0, v1 and v2 null. We'll use v0 as a merge of the inputs, v1 as null, and v2 as 0. 20 # Conditional jump so we have a merge point.
|
D | b_27799205_5.smali | 4 # A class with an unresolved array type should not fail hard (unless it's a primitive-type access). 15 # Make v0, v1 and v2 null. We'll use v0 as a merge of the inputs, v1 as null, and v2 as 0. 20 # Conditional jump so we have a merge point.
|
D | b_27799205_3.smali | 4 # A class with an unresolved array type should not fail hard (unless it's a primitive-type access). 15 # Make v0, v1 and v2 null. We'll use v0 as a merge of the inputs, v1 as null, and v2 as 0. 20 # Conditional jump so we have a merge point.
|
/art/runtime/ |
D | common_runtime_test.h | 59 #define EXPECT_OBJ_PTR_EQ(a, b) EXPECT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr()) argument 60 #define ASSERT_OBJ_PTR_EQ(a, b) ASSERT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr()) argument 61 #define EXPECT_OBJ_PTR_NE(a, b) EXPECT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr()) argument 62 #define ASSERT_OBJ_PTR_NE(a, b) ASSERT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr()) argument
|
/art/test/971-iface-super/util-src/ |
D | generate_smali.py | 98 return filter_blanks("\n".join(a.get_expected() for a in all_tests)) 360 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()), 362 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces)) 602 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()), 604 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces))
|
/art/test/802-deoptimization/smali/ |
D | catch_handler_on_entry.smali | 5 # Test we can execute a method starting with a catch handler (without 12 # That exception is caught by the catch handler so we execute it a second time.
|
/art/test/071-dexfile-map-clean/ |
D | info.txt | 4 * When we are loading in a secondary dex file 6 * and the dex file is stored uncompressed in a ZIP file
|
/art/test/663-odd-dex-size/ |
D | info.txt | 1 Test for a dex file with an odd size in a vdex file.
|
/art/test/046-reflect/ |
D | expected.txt | 42 string1 value is now 'a new string' 43 ::: a new string:yo:there 78 Constant test value is a constant string 126 type1 is a ParameterizedType 127 type2 is a ParameterizedType 128 type3 is a ParameterizedType 133 type1 is a GenericArrayType 134 type2 is a GenericArrayType 135 type3 is a GenericArrayType
|
/art/test/ |
D | README.md | 16 executed on the ART runtime (`dalvikvm`), possibly preceded by a 20 a numeric prefix and containing an `info.txt` file. For most run tests, the 28 The run-tests logic lives in the `test/run-test` Bash script. The execution of a 36 if the test's directory contains a Bash script named after the step 41 After the execution of a run-test, the check step's default behavior 44 mismatch triggers a test failure. 46 The `test/run-test` script handles the execution of a single run-test in a given 47 configuration. The Python script `test/testrunner/testrunner.py` is a convenient 66 as unit tests to verify a particular construct in ART. These tests may depend on 74 recommended approach is to run these tests in a chroot environment (see [all …]
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 276 A a = new A(); in doExtensionTests() local 277 extensionTestHolder.add(a); in doExtensionTests() 278 setTag(a, 100001); in doExtensionTests() 378 A a = createTree(v); in doFollowReferencesTestNonRoot() local 379 tmpStorage.add(a); in doFollowReferencesTestNonRoot() 383 doFollowReferencesTestImpl(a.foo2, stopAfter, followSet, null, v, "3@1001"); in doFollowReferencesTestNonRoot() 391 A a = createTree(v); in doFollowReferencesTestRoot() local 393 doFollowReferencesTestImpl(null, stopAfter, followSet, a, v, null); in doFollowReferencesTestRoot() 394 doFollowReferencesTestImpl(a.foo2, stopAfter, followSet, a, v, "3@1001"); in doFollowReferencesTestRoot() 490 public A(A a, A b) { in A() argument [all …]
|
/art/test/565-checker-doublenegbitwise/smali/ |
D | SmaliTests.smali | 5 # You may obtain a copy of the License at 45 .param p0, "a" # I 49 # return ~a & ~b; 87 .param p0, "a" # Z 91 # return !a & !b; 123 .param p0, "a" # J 127 # return ~a | ~b; 164 .param p0, "a" # Z 168 # return !a | !b; 177 # This is a regression test. The initial logic was inserting the new bitwise [all …]
|
/art/ |
D | NOTICE | 44 transformation or translation of a Source form, including but 49 Object form, made available under the License, as indicated by a 56 represent, as a whole, an original work of authorship. For the purposes 73 designated in writing by the copyright owner as "Not a Contribution." 76 on behalf of whom a Contribution has been received by Licensor and 80 this License, each Contributor hereby grants to You a perpetual, 87 this License, each Contributor hereby grants to You a perpetual, 95 institute patent litigation against any entity (including a 96 cross-claim or counterclaim in a lawsuit) alleging that the Work 97 or a Contribution incorporated within the Work constitutes direct [all …]
|
/art/test/1948-obsolete-const-method-handle/util-src/ |
D | info.txt | 3 TestInvoker and Test1948 classes. These additions are a new method that loads a
|
/art/test/106-exceptions2/src/ |
D | Main.java | 135 Main a = new Main(); in nullCheckTestNoThrow() local 139 return base.noThrow(a,b,c); in nullCheckTestNoThrow() 144 Main a = new Main(); in nullCheckTestThrow() local 151 return base.checkThrow(a,b,c,d,e,f); in nullCheckTestThrow()
|
/art/test/954-invoke-polymorphic-verifier/smali/ |
D | BadThis.smali | 6 # You may obtain a copy of the License at 27 # v0 is a String, not a MethodHandle.
|
/art/tools/jvmti-agents/wrapagentproperties/ |
D | README.md | 3 wrapagentproperties is a JVMTI agent that lets one change the returned values of 22 The property file is a text file containing the values of java properties you 30 def.hij=a big deal
|
/art/test/484-checker-register-hints/src/ |
D | Main.java | 43 public static void test1(boolean z, int a, int b, int c, int d, int m) { in test1() argument 78 public static void test2(boolean z, int a, int b, int c, int d, int m) { in test2() argument 101 public static void test3(boolean z, int a, int b, int c, int d, int m) { in test3() argument
|