/art/test/530-checker-lse3/ |
D | info.txt | 2 a wider value is stored in a narrower field and then loaded from that field, 3 LSE needs to replace the value to be stored with a type conversion to the
|
/art/test/439-npe/src/ |
D | Main.java | 220 public static void $opt$noinline$setObjectElement(Object[] a) { in $opt$noinline$setObjectElement() argument 222 a[0] = null; in $opt$noinline$setObjectElement() 225 public static void $opt$noinline$setIntElement(int[] a) { in $opt$noinline$setIntElement() argument 227 a[0] = 0; in $opt$noinline$setIntElement() 230 public static void $opt$noinline$setFloatElement(float[] a) { in $opt$noinline$setFloatElement() argument 232 a[0] = 0; in $opt$noinline$setFloatElement() 235 public static void $opt$noinline$setLongElement(long[] a) { in $opt$noinline$setLongElement() argument 237 a[0] = 0; in $opt$noinline$setLongElement() 240 public static void $opt$noinline$setDoubleElement(double[] a) { in $opt$noinline$setDoubleElement() argument 242 a[0] = 0; in $opt$noinline$setDoubleElement() [all …]
|
/art/test/543-env-long-ref/src/ |
D | Main.java | 27 Integer a = (Integer)m.invoke(null, (Object[]) null); in main() local 28 System.out.println(a); in main() 31 public static Main $noinline$allocate(long a) { in $noinline$allocate() argument
|
/art/tools/dexfuzz/ |
D | README | 4 DexFuzz is primarily a tool for fuzzing DEX files. Fuzzing is the introduction of 5 subtle changes ("mutations") to a file to produce a new test case. These test cases 10 a bug in one of the modes. 12 For a wider overview of DexFuzz, see: 16 In typical operation, you provide DexFuzz with a set of DEX files that are the "seeds" 24 DexFuzz can run its test programs on either an ADB-connected device, or a host-build of 35 4. Create a new directory, and place some DEX files in here. These are the seed files 37 5. Create a directory on your device that mutated test files can be pushed to and 65 Add in --device=<device name, e.g. device:generic> if you want to specify a device. 75 - ANDROID_DATA must be set, pointing to a location where dex2oat will place [all …]
|
/art/test/530-checker-lse2/src/ |
D | Main.java | 27 public int a() { in a() method in Main.A 33 public int a() { in a() method in Main.B 34 return super.a() + ((int) (Math.max(364746077.0f, ((float) mD)))); in a() 68 boolean a = false; in Main() 70 mArray[i0] = a; in Main() 71 a = !a; in Main() 131 mF += (mZ ? (mB.a()) : ((! mZ) ? -752042357.0f : (++mF))); in testMethod()
|
/art/test/596-app-images/src-art/ |
D | Main.java | 139 private static void assertEquals(String message, Object a, Object b) { in assertEquals() argument 144 sb.append("expected:<").append(a).append("> but was:<").append(b).append(">"); in assertEquals() 145 assertTrue(sb.toString(), (a == null && b == null) || (a != null && a.equals(b))); in assertEquals() 152 private static void assertNotSame(String message, Object a, Object b) { in assertNotSame() argument 157 sb.append("unexpected sameness, found:<").append(a).append("> and:<").append(b).append(">"); in assertNotSame() 158 assertTrue(sb.toString(), a != b); in assertNotSame()
|
/art/test/800-smali/smali/ |
D | b_22331663_fail.smali | 9 # Construct a java.lang.Object completely. This makes v4 of reference type. 15 # reject any use of this, even a copy. Previously this was a conflict. Conflicts must 16 # be movable now, so ensure that we do not get a conflict (and then allow the move).
|
D | b_22331663.smali | 9 # Construct a java.lang.Object completely, and throw a new exception. 20 # Allocate a java.lang.Object (do not initialize), and throw a new exception. 31 # which creates a conflict. Copy the conflict, and then return. This should not make the
|
/art/test/107-int-math2/src/ |
D | Main.java | 43 static long divideLongByBillion(long a) { in divideLongByBillion() argument 47 if (a >= 0) { in divideLongByBillion() 49 quot = (a / bLong); in divideLongByBillion() 50 rem = (a % bLong); in divideLongByBillion() 56 long aPos = a >>> 1; in divideLongByBillion() 61 rem = (rem << 1) + (a & 1); in divideLongByBillion() 68 IntMathBase a = new IntMathBase(); in instanceTest() local 75 if (a instanceof IntMathBase) { in instanceTest() 79 if (a instanceof Main) { in instanceTest() 242 long a = 0x11; in shiftTest2() local [all …]
|
/art/test/utils/python/ |
D | generate_java_main.py | 159 for f in sorted(self.funcs, key=lambda a: (a.func, a.farg)): 288 implements = [a.text for a in iface.find("implements")] 289 methods = [a.text for a in iface.find("methods")] 296 implements = [a.text for a in clazz.find("implements")] 297 methods = [a.text for a in clazz.find("methods")]
|
/art/test/686-get-this/src/ |
D | Main.java | 34 int a = (Integer)m.invoke(c.newInstance()); in main() local 35 if (a != 1) { in main() 36 throw new Error("Expected 1, got " + a); in main()
|
/art/test/526-long-regalloc/src/ |
D | Main.java | 23 int a = myField1; // esi in foo() local 29 long d = a == 42 ? myLongField1 : 42L; // Will call AllocateBlockedReg -> edx/ebx in foo() 37 myField2 = a; in foo()
|
/art/test/416-optimizing-arith-not/src/ |
D | Main.java | 66 private static int smaliNotInt(int a) throws Exception { in smaliNotInt() argument 69 int result = (Integer)m.invoke(null, a); in smaliNotInt() 73 private static long smaliNotLong(long a) throws Exception { in smaliNotLong() argument 76 long result = (Long)m.invoke(null, a); in smaliNotLong()
|
/art/test/499-bce-phi-array-length/src/ |
D | Main.java | 53 int[] a = new int[] { 1, 2, 3, 4, 5 }; in main() local 54 int result = foo(1, a); in main() 59 result = bar(1, a); in main()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 635 float a = 42.0f; in test24() local 638 a = obj.floatField; in test24() 640 return a; in test24() 1260 int[] a = { 0 }; in testLocalArrayMerge1() local 1264 a[0] = 1; in testLocalArrayMerge1() 1266 a[0] = 1; in testLocalArrayMerge1() 1268 return a[0]; in testLocalArrayMerge1() 1296 int[] a = { 1 }; in testLocalArrayMerge2() local 1299 a[0] = 2; in testLocalArrayMerge2() 1301 a[0] = 3; in testLocalArrayMerge2() [all …]
|
/art/dexlayout/ |
D | compact_dex_writer.h | 63 bool operator()(const HashedMemoryRange& a, const HashedMemoryRange& b) const { in operator() 64 if (a.length_ != b.length_) { in operator() 68 DCHECK_LE(a.offset_ + a.length_, section_->Size()); in operator() 70 return std::equal(data + a.offset_, data + a.offset_ + a.length_, data + b.offset_); in operator()
|
/art/test/144-static-field-sigquit/ |
D | info.txt | 4 This was potentially happening when receiving a signal while in the static 5 initilizer of a class and also within a synchronized block.
|
/art/test/507-boolean-test/src/ |
D | Main.java | 24 public static boolean bar(boolean a) { in bar() argument 25 return (a ? 0 : 1) == 2; in bar()
|
/art/test/998-redefine-use-after-free/ |
D | info.txt | 3 It was possible for the JVMTI class redefinition to encounter a use-after-free 4 bug if there had been an attempted redefinition that failed due to a 6 required that a later redefinition happen to get the same native pointer for its 11 this test will fail a DCHECK on debug builds, segfault on x86_64 hosts and have
|
/art/test/459-dead-phi/smali/ |
D | EquivalentPhi.smali | 5 # You may obtain a copy of the License at 23 # rightly become a float after type propagation. 29 # v2 will be a phi with (int, int) as input 33 # v3 will be a phi with (int, int) as input. 35 # This instruction will lead to creating a phi equivalent 37 # a phi equivalent for v2 of type float. We used to forget to
|
/art/test/MethodTypes/ |
D | MethodTypes.java | 18 public String method1(String a); in method1() argument 19 public String method2(String a, String b); in method2() argument
|
/art/test/068-classloader/ |
D | info.txt | 1 Class loaders allow code to "redefine" a given class, e.g. it's possible to 4 some situations in which a VM that only checks the UTF-8 signatures could 7 This also tests a couple of situations in which an IllegalAccessException
|
/art/test/656-annotation-lookup-generic-jni/ |
D | info.txt | 1 Non-regression test for b/38454151, where the invocation of a native 2 method with an annotation (to be found in a custom class loader) 4 would throw an exception (that should eventually be caught) and walk a
|
/art/test/643-checker-bogus-ic/ |
D | info.txt | 1 Verify the compiler can handle a bogus inline cache in a profile.
|
/art/test/1920-suspend-native-monitor/ |
D | info.txt | 1 Tests jvmti suspending of a thread that is interacting with a raw monitor.
|