/art/test/559-bce-ssa/src/ |
D | Main.java | 26 int[]a = new int[1]; in main() local 27 foo(a, new int[2], 0, 1); in main() 28 if (a[0] != 1) { in main()
|
/art/test/433-gvn/src/ |
D | Main.java | 24 int a = m.field; in foo() local 25 if (a == 0) { in foo() 28 a = 3; in foo()
|
/art/test/642-fp-callees/src/ |
D | Main.java | 24 public static void caller(int a, int b, long c) { in caller() argument 25 $noinline$callee(a, b, c); in caller() 30 public static void $noinline$callee(int a, int b, long c) { in $noinline$callee() argument
|
/art/test/476-clinit-inline-static-invoke/ |
D | info.txt | 1 Regression test for a bug where an inlined call to a static method 2 failed to emit a prior initialization check of the method's declaring
|
/art/test/1942-suspend-raw-monitor-exit/ |
D | info.txt | 1 Tests jvmti suspending of a thread that is interacting with a raw monitor. 3 Makes sure that the RawMonitorExit function does not act as a suspend point.
|
/art/test/1973-jni-id-swap-pointer/ |
D | expected.txt | 3 pointer ID looks like a pointer! 5 pointer2 ID looks like a pointer! 6 pointer ID remains a pointer!
|
/art/test/102-concurrent-gc/src/ |
D | Main.java | 55 int a = l.length - i - 1; in main() local 56 int b = rnd.nextInt(a); in main() 57 byte[] temp = l[a].bytes; in main() 58 l[a].bytes = l[b].bytes; in main()
|
/art/test/800-smali/smali/ |
D | b_21614284.smali | 4 .field private a:I 10 iput v0, p0, LB21614284;->a:I 19 # p0 still needs a null check. 20 iget v0, p0, LB21614284;->a:I
|
D | b_17410612.smali | 3 # Test that an invoke with a long parameter has the long parameter in 4 # a pair. This should fail in the verifier and not an abort in the compiler. 10 const-wide v0, 0 # Make (v0, v1) a long 11 const-wide v2, 0 # Make (v2, v3) a long
|
/art/test/097-duplicate-method/ |
D | info.txt | 1 This is a test to verify that duplicate methods in a dex file are handled 4 We need to build a dex file with duplicate methods. We cannot do that 6 methods, only one is in the dex). Therefore, having a precompiled
|
/art/test/970-iface-super-resolution-gen/util-src/ |
D | generate_smali.py | 103 return filter_blanks("\n".join(a.get_expected() for a in all_tests)) 379 return '\n'.join(map(lambda a: self.OUTPUT_TEMPLATE.format(class_name = self.get_name(), 380 iface = a.get_name(), 381 result = a.get_output()), 388 funcs = '\n'.join(map(lambda a: self.TEST_FUNC_TEMPLATE.format(iface = a.get_name(), 391 calls = '\n'.join(map(lambda a: self.TEST_CALL_TEMPLATE.format(iface = a.get_name(), 394 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()), 396 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces)) 523 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()), 525 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces))
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
D | AnnotationVisitor.java | 85 for (AnnotationEntry a : annotationEntries) { in handleAnnotations() 86 if (mAnnotationHandlers.containsKey(a.getAnnotationType())) { in handleAnnotations() 88 a.getAnnotationType()); in handleAnnotations() 89 mAnnotationHandlers.get(a.getAnnotationType()).handleAnnotation(a, context); in handleAnnotations() 92 a.getAnnotationType()); in handleAnnotations()
|
/art/test/1943-suspend-raw-monitor-wait/ |
D | info.txt | 1 Tests jvmti suspending of a thread that is interacting with a raw monitor. 3 Makes sure that the RawMonitorWait function acts as a suspend point as the
|
/art/test/440-stmp/src/ |
D | Main.java | 24 baz(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); in bar() 27 public static void baz(float a, float b, float c, float d, float e, float f, float g, in baz() argument 29 System.out.println(a - b - c - d - e - f - g - h - i - j - k - l - m - n - o); in baz() 32 float a = 1.0f; field in Main
|
/art/test/646-checker-arraycopy-large-cst-pos/ |
D | info.txt | 1 Regression test for an issue with a depleted VIXL scratch register 2 pool during the emission of a SystemArrayCopy intrinsic with a large
|
/art/test/950-redefine-intrinsic/src/ |
D | Main.java | 409 static FuncCmp l2l(String name, final LongUnaryOperator a, final LongUnaryOperator b) { in l2l() argument 410 return new FuncCmp(name, (v) -> a.applyAsLong(v) == b.applyAsLong(v)); in l2l() 412 static FuncCmp l2i(String name, final LongToIntFunction a, final LongToIntFunction b) { in l2i() argument 413 return new FuncCmp(name, (v) -> a.applyAsInt(v) == b.applyAsInt(v)); in l2i() 417 static interface LI2IFunction { public long applyToLongInt(long a, int b); } in applyToLongInt() argument 419 static FuncCmp li2l(String name, final Random r, final LI2IFunction a, final LI2IFunction b) { in li2l() argument 423 return a.applyToLongInt(v, i) == b.applyToLongInt(v, i); in li2l()
|
/art/test/964-default-iface-init-gen/util-src/ |
D | generate_java.py | 83 return filter_blanks("\n".join(a.get_expected() for a in all_tests)) 217 return "\n".join(map(lambda a: self.TOUCH_OUTPUT_TEMPLATE.format( 219 iface_name = a.get_name(), 220 touch_output = a.get_touch_output()).strip(), 233 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces)) 234 touches = '\n'.join(map(lambda a: self.TOUCH_CALL_TEMPLATE.format(class_name = self.class_name, 235 iface_name = a.get_name()), 277 return TestInterface(tuple(map(lambda a: a.clone(), self.ifaces)), self.default) 325 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces)) 353 return tuple(a.clone() for a in l)
|
/art/test/1989-transform-bad-monitor/src/art/ |
D | Test1989.java | 77 Object a = new Object(); in doTest() local 79 t.sayHi(a, b); in doTest() 82 t.sayHi(a, b); in doTest() 88 synchronized(a) { in doTest()
|
/art/cmdline/ |
D | README.md | 15 The `CmdlineParser` class provides a fluent interface using a domain-specific language to quickly 16 generate a type-safe value parser that process a user-provided list of strings (`argv`). Currently, 17 it can parse a string into a `VariantMap`, although in the future it might be desirable to parse 20 To use, create a `CmdlineParser::Builder` and then chain the `Define` methods together with 24 For example, to save the values into a user-defined variant map: 33 // See variant_map_test.cc for how to completely define a custom map. 69 In the above code sample, we define a parser which is capable of parsing something like `--help 80 The simplest kind of argument just tests for presence, but we often want to parse out a particular 81 type of value (such as an int or double as in the above `FruitVariantMap` example). To do that, a 93 Everything that follows a `WithType<T>()` call is thus type checked to only take `T` values. [all …]
|
/art/test/076-boolean-put/ |
D | info.txt | 1 This checks a case where javac generates code that stores a byte into a
|
/art/test/551-implicit-null-checks/src/ |
D | Main.java | 54 public void $opt$noinline$testPutLong(long a) throws Exception { in $opt$noinline$testPutLong() argument 55 inst.i1 = a; in $opt$noinline$testPutLong() 64 public void $opt$noinline$testPutDouble(double a) throws Exception { in $opt$noinline$testPutDouble() argument 65 inst.i2 = a; in $opt$noinline$testPutDouble()
|
/art/tools/jfuzz/ |
D | README.md | 4 JFuzz is a tool for generating random programs with the objective 9 (**divergence**) may indicate a bug in one of the execution modes. 21 -s : defines a deterministic random seed 23 -d : defines a fuzzing depth for expressions 25 -l : defines a fuzzing length for statement lists 27 -i : defines a fuzzing nest for if/switch statements 29 -n : defines a fuzzing nest for for/while/do-while loops 31 -t : defines a fuzzing nest for try-catch-finally blocks 37 a fixed testing class named Test. So a typical test run looks as follows. 108 Although test suites are extremely useful to validate the correctness of a [all …]
|
/art/test/546-regression-simplify-catch/smali/ |
D | TestCase.smali | 5 # You may obtain a copy of the License at 19 # because it did expect at least a control-flow instruction (b/25494450). 39 # Test simplification of a dead catch block with some code but no control-flow 61 # Test simplification of a dead catch block with normal-predecessors but 62 # starting with a move-exception. Verifier does not check trivially dead code 63 # and this used to trip a DCHECK (b/25492628). 81 # Test simplification of a live catch block with dead normal-predecessors and 82 # starting with a move-exception. Verifier does not check trivially dead code 83 # and this used to trip a DCHECK (b/25492628).
|
/art/test/1962-multi-thread-events/ |
D | info.txt | 3 Due to a mistake in the single-thread deopt CL we would incorrectly only update a threads 4 deoptimization count if it was the first thread of a particular event type to be activated. This
|
/art/runtime/mirror/ |
D | object_test.cc | 160 MutableHandle<Array> a = hs.NewHandle( in TEST_F() local 162 EXPECT_TRUE(c.Get() == a->GetClass()); in TEST_F() 163 EXPECT_EQ(1, a->GetLength()); in TEST_F() 166 a.Assign(Array::Alloc(soa.Self(), c.Get(), 1, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 167 EXPECT_TRUE(c.Get() == a->GetClass()); in TEST_F() 168 EXPECT_EQ(1, a->GetLength()); in TEST_F() 171 a.Assign(Array::Alloc(soa.Self(), c.Get(), 1, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 172 EXPECT_TRUE(c.Get() == a->GetClass()); in TEST_F() 173 EXPECT_EQ(1, a->GetLength()); in TEST_F() 181 MutableHandle<Array> a = hs.NewHandle( in TEST_F() local [all …]
|