/art/test/DexToDexDecompiler/ |
D | Main.java | 26 m.foo(m.a); in main() 29 m.foo(((Main)o).a); in main() 32 int a; field in Main 33 void foo(int a) {} in foo() argument
|
/art/test/013-math2/src/ |
D | Main.java | 22 int a, b, res; in math_013() local 24 a = 3; in math_013() 28 a += 32000; in math_013() 30 System.out.println("a:" + a); in math_013()
|
/art/runtime/interpreter/ |
D | safe_math.h | 34 static inline typename select_bigger<T1, T2>::type SafeMath(T1 a, T2 b) { in SafeMath() argument 39 unsigned_biggest_T val1 = static_cast<unsigned_biggest_T>(static_cast<biggest_T>(a)); in SafeMath() 46 static inline typename select_bigger<T1, T2>::type SafeAdd(T1 a, T2 b) { in SafeAdd() argument 47 return SafeMath<std::plus>(a, b); in SafeAdd() 52 static inline typename select_bigger<T1, T2>::type SafeSub(T1 a, T2 b) { in SafeSub() argument 53 return SafeMath<std::minus>(a, b); in SafeSub() 58 static inline typename select_bigger<T1, T2>::type SafeMul(T1 a, T2 b) { in SafeMul() argument 59 return SafeMath<std::multiplies>(a, b); in SafeMul()
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestFloatDouble.java | 29 public static final float testDotProdSimpleFloat(float[] a, float[] b) { in testDotProdSimpleFloat() argument 32 sum += a[i] * b[i]; in testDotProdSimpleFloat() 41 public static final double testDotProdSimpleDouble(double[] a, double[] b) { in testDotProdSimpleDouble() argument 44 sum += a[i] * b[i]; in testDotProdSimpleDouble() 67 double[] a = new double[1024]; in run() local 68 for (int i = 0; i != 1024; ++i) a[i] = MAX_D; in run() 71 expectEquals(0.0, testDotProdSimpleDouble(a,b)); in run()
|
/art/test/952-invoke-custom/src/ |
D | TestLinkerUnrelatedBSM.java | 41 private static float addf(float a, float b) { in addf() argument 46 public static float _addf(float a, float b) { in _addf() argument 47 return a + b; in _addf() 67 private static float subf(float a, float b) { in subf() argument 72 private static float _subf(float a, float b) { in _subf() argument 73 return a - b; in _subf()
|
/art/test/429-ssa-builder/src/ |
D | Main.java | 25 float a = floatField; in $opt$TestFloatPhi() local 29 a = otherFloatField; in $opt$TestFloatPhi() 40 a = b; in $opt$TestFloatPhi() 42 return a; in $opt$TestFloatPhi()
|
/art/test/655-checker-simd-arm-opt/src/ |
D | Main.java | 50 …private static void encodableConstants(byte[] b, short[] s, char[] c, int[] a, long[] l, float[] f… in encodableConstants() argument 61 a[i] += -219; in encodableConstants() 64 a[i] += 219; in encodableConstants() 83 …private static int sumArray(byte[] b, short[] s, char[] c, int[] a, long[] l, float[] f, double[] … in sumArray() argument 86 sum += b[i] + s[i] + c[i] + a[i] + l[i] + f[i] + d[i]; in sumArray() 97 int[] a = new int[ARRAY_SIZE]; in main() local 102 encodableConstants(b, s, c, a, l, f, d); in main() 103 expectEquals(32640, sumArray(b, s, c, a, l, f, d)); in main()
|
/art/test/674-vdex-uncompress/src/ |
D | Main.java | 26 m.foo(m.a); in main() 29 m.foo(((Main)o).a); in main() 32 int a; field in Main 33 void foo(int a) { in foo() argument
|
/art/test/628-vdex/src/ |
D | Main.java | 26 m.foo(m.a); in main() 29 m.foo(((Main)o).a); in main() 32 int a; field in Main 33 void foo(int a) { in foo() argument
|
/art/test/478-checker-inline-noreturn/ |
D | info.txt | 1 Tests inlining a function with a no-exit loop into a loop. LinearOrder 3 a loop without an exit.
|
/art/test/dexdump/ |
D | checkers.txt | 47 name : 'a' 68 name : 'a' 76 0014a4: |[0014a4] com.google.android.checkers.Checkers.a:(Z)V 81 … |0008: invoke-virtual {v0, v1}, Landroid/view/Window;.addFlags:(I)V // method@003a 84 … |0010: iget-object v0, v2, Lcom/google/android/checkers/Checkers;.a:Lcom/google/android/… 88 … |0018: invoke-virtual {v0, v1}, Landroid/view/Window;.addFlags:(I)V // method@003a 126 …a: 6e20 4a00 5600 |0005: invoke-virtual {v6, v5}, Lcom/google/android/chec… 128 001534: 6e20 4000 1600 |000a: invoke-virtual {v6, v1}, Lcom/google/android/… 129 00153a: 0c02 |000d: move-result-object v2 131 … |0011: iput-object v0, v6, Lcom/google/android/checkers/Checkers;.a:Lcom/google/android/… [all …]
|
/art/test/420-const-class/src/ |
D | Main.java | 22 static int a; field in Main.OtherWithClinit 25 a = 42; 30 static int a; field in Main.OtherWithClinit2 33 a = 43; 69 System.out.println(OtherWithClinit.a); in $opt$ClinitCheckAndLoad() 75 System.out.println(OtherWithClinit2.a); in $opt$LoadAndClinitCheck()
|
/art/test/024-illegal-access/ |
D | info.txt | 1 Test that an attempt to access a private field results in a verification 2 error. Also try to access a non-public class in a different package with
|
/art/compiler/optimizing/ |
D | induction_var_analysis.cc | 101 HInstruction* a, in IsGuardedBy() argument 130 if (if_expr->InputAt(0) == a && if_expr->InputAt(1) == b) { in IsGuardedBy() 132 } else if (if_expr->InputAt(1) == a && if_expr->InputAt(0) == b) { in IsGuardedBy() 552 InductionInfo* a = LookupInfo(loop, inputs[input_index]); in TransferPhi() local 555 if (!InductionEqual(a, b)) { in TransferPhi() 559 return a; in TransferPhi() 562 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferAddSub(InductionInfo* a, in TransferAddSub() argument 568 if (a != nullptr && b != nullptr) { in TransferAddSub() 569 if (IsNarrowingLinear(a) || IsNarrowingLinear(b)) { in TransferAddSub() 571 } else if (a->induction_class == kInvariant && b->induction_class == kInvariant) { in TransferAddSub() [all …]
|
D | induction_var_analysis.h | 103 InductionInfo* a, in InductionInfo() 109 op_a(a), in InductionInfo() 125 InductionInfo* CreateInvariantOp(InductionOp op, InductionInfo* a, InductionInfo* b) { in CreateInvariantOp() argument 126 DCHECK(((op != kNeg && a != nullptr) || (op == kNeg && a == nullptr)) && b != nullptr); in CreateInvariantOp() 127 return CreateSimplifiedInvariant(op, a, b); in CreateInvariantOp() 137 InductionInfo* a, in CreateTripCount() argument 140 DCHECK(a != nullptr && b != nullptr); in CreateTripCount() 141 return new (graph_->GetAllocator()) InductionInfo(kInvariant, op, a, b, nullptr, type); in CreateTripCount() 146 InductionInfo* a, in CreateInduction() argument 150 DCHECK(a != nullptr && b != nullptr); in CreateInduction() [all …]
|
/art/test/909-attach-agent/src-art/ |
D | Main.java | 33 for(String a : args) { in main() 34 if(a.startsWith("agent:")) { in main() 35 agent = a.substring(6); in main() 36 } else if (a.equals("disallow-debugging")) { in main() 57 for(String a : args) { in attachWithClassLoader() 58 if(a.startsWith("agent:")) { in attachWithClassLoader() 59 String agentName = a.substring(6, a.indexOf('=')); in attachWithClassLoader() 66 String agent = a.substring(6).replace(agentName, newAgentName); in attachWithClassLoader()
|
/art/test/521-regression-integer-field-set/ |
D | info.txt | 1 Regression test for Optimizing's x86-64 code generator, where moving a 2 32-bit immediate (integer or reference) into a field used to generate 3 a `movw` instruction instead of a `movl` instruction.
|
/art/test/557-checker-ref-equivalent/src/ |
D | Main.java | 34 Main a = null; in testLoopPhisWithNullAndCrossUses() local 36 while (a == null) { in testLoopPhisWithNullAndCrossUses() 38 a = b; in testLoopPhisWithNullAndCrossUses() 40 b = a; in testLoopPhisWithNullAndCrossUses()
|
/art/test/164-resolution-trampoline-dex-cache/ |
D | info.txt | 2 ArtMethod to a DexCache for a MethodId referencing a class missing from the 3 associated ClassTable. This discrepancy then led to a crash when JITting.
|
/art/test/483-dce-block/src/ |
D | Main.java | 18 public static void foo(Object o, int a) { in foo() argument 23 while (a != 3) { in foo() 24 if (a == 2) { in foo() 25 a++; in foo()
|
/art/test/411-optimizing-arith/src/ |
D | NegTest.java | 172 private static void $opt$noinline$InplaceNegOneInt(int a) { in $opt$noinline$InplaceNegOneInt() argument 173 a = -a; in $opt$noinline$InplaceNegOneInt() 174 assertEquals(-1, a); in $opt$noinline$InplaceNegOneInt() 177 private static void $opt$noinline$InplaceNegOneLong(long a) { in $opt$noinline$InplaceNegOneLong() argument 178 a = -a; in $opt$noinline$InplaceNegOneLong() 179 assertEquals(-1L, a); in $opt$noinline$InplaceNegOneLong() 182 private static int $opt$noinline$NegInt(int a){ in $opt$noinline$NegInt() argument 183 return -a; in $opt$noinline$NegInt() 186 private static long $opt$noinline$NegLong(long a){ in $opt$noinline$NegLong() argument 187 return -a; in $opt$noinline$NegLong() [all …]
|
/art/test/ |
D | README.chroot.md | 3 This file documents the use of a chroot environment in on-device testing of the 4 Android Runtime (ART). Using a chroot allows tests to run a standalone ART from 5 a locally built source tree on a device running (almost any) system image and 10 The Android Runtime (ART) supports testing in a chroot-based environment, by 11 setting up a chroot directory in a `ART_TEST_CHROOT` directory located under 12 `/data/local` (e.g. `ART_TEST_CHROOT=/data/local/art-test-chroot`) on a device, 17 This way to run tests using a "standalone ART" ("guest system") only affects 22 * no need to build and flash a whole device to do ART testing (or "overwriting" 24 * the possibility to use a smaller AOSP Android manifest 27 * no instability due to updating/replacing ART on the system partition (a [all …]
|
/art/test/465-checker-clinit-gvn/src/ |
D | Main.java | 19 a = 42; 23 static int a; field in OtherClass 41 return OtherClass.b - OtherClass.a; in accessTwoStatics() 58 return b - OtherClass.a; in accessTwoStaticsCallInBetween()
|
/art/test/2030-long-running-child/src/ |
D | Main.java | 30 int [][] a = new int[10][]; in run() local 32 a[j] = new int[50000 * j + 20]; in run() 33 a[j][17] = 1; in run() 40 sum += a[j][16] /* = 0 */ + a[j][17] /* = 1 */; in run()
|
/art/test/971-iface-super/util-src/ |
D | generate_java.py | 90 filters = (lambda a: a.is_default(), lambda a: not a.is_default()) 91 converters = (lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.default)), 92 lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.empty))) 96 …tops = set(filter(lambda a: iface_filter(a) and not any(map(lambda i: a in i.get_super_types(), if…
|