/art/runtime/ |
D | leb128_test.cc | 102 for (size_t j = 0; j < 5; ++j) { in TEST() local 103 if (j < builder.GetData().size()) { in TEST() 104 EXPECT_EQ(data_ptr[j], encoded_data_ptr[j]) << " i = " << i << " j = " << j; in TEST() 106 EXPECT_EQ(data_ptr[j], 0U) << " i = " << i << " j = " << j; in TEST() 121 for (size_t j = 0; j < 5; ++j) { in TEST() local 122 if (j < data_size) { in TEST() 123 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j; in TEST() 125 EXPECT_EQ(data_ptr[j], 0U) << " i = " << i << " j = " << j; in TEST() 141 for (size_t j = 0; j < UnsignedLeb128Size(uleb128_tests[i].decoded); ++j) { in TEST() local 142 EXPECT_EQ(data_ptr[j], encoded_data_ptr[j]) << " i = " << i << " j = " << j; in TEST() [all …]
|
D | jvalue.h | 34 JValue() : j(0) {} in PACKED() 40 j = ((static_cast<int64_t>(new_b) << 56) >> 56); // Sign-extend to 64 bits. in PACKED() 45 j = static_cast<int64_t>(new_c); // Zero-extend to 64 bits. in PACKED() 56 j = ((static_cast<int64_t>(new_i) << 32) >> 32); // Sign-extend to 64 bits. in PACKED() 59 int64_t GetJ() const { return j; } in PACKED() 60 void SetJ(int64_t new_j) { j = new_j; } in PACKED() 69 j = ((static_cast<int64_t>(new_s) << 48) >> 48); // Sign-extend to 64 bits. in PACKED() 74 j = static_cast<int64_t>(new_z); // Zero-extend to 64 bits. in PACKED() 85 int64_t j; in PACKED() local
|
/art/test/153-reference-stress/src/ |
D | Main.java | 46 for (int j = 0; j < weakReferences.length; ++j) { in GcThread() 47 weakReferences[j] = new WeakReference(temp); in GcThread() 53 for (int j = 0; j < weakReferences.length; ++j) { in run() 54 weakReferences[j] = new WeakReference(o); in run() 64 for (int j = 0; j < weakReferences.length; ++j) { in run() 65 keepAlive = weakReferences[j].get(); in run() 67 for (int j = 0; j < weakReferences.length; ++j) { in run() 68 weakReferences[j].clear(); in run()
|
/art/test/565-checker-rotate/src/ |
D | Main.java | 367 int j = i & 31; in testRotateLeftBoolean() local 383 int j = i & 31; in testRotateLeftByte() local 386 expectEqualsInt((1 << j), rotateLeftByte((byte)0x0001, i)); in testRotateLeftByte() 387 expectEqualsInt((0x12 << j) | (0x12 >>> -j), rotateLeftByte((byte)0x12, i)); in testRotateLeftByte() 401 int j = i & 31; in testRotateLeftShort() local 404 expectEqualsInt((1 << j), rotateLeftShort((short)0x0001, i)); in testRotateLeftShort() 405 expectEqualsInt((0x1234 << j) | (0x1234 >>> -j), rotateLeftShort((short)0x1234, i)); in testRotateLeftShort() 420 int j = i & 31; in testRotateLeftChar() local 422 expectEqualsInt((1 << j), rotateLeftChar((char)0x0001, i)); in testRotateLeftChar() 423 expectEqualsInt((0x1234 << j) | (0x1234 >>> -j), rotateLeftChar((char)0x1234, i)); in testRotateLeftChar() [all …]
|
/art/test/530-checker-loops1/src/ |
D | Main.java | 96 for (int j = 0; j < a.length; j += i) { in hiddenStride() 97 result += a[j]; in hiddenStride() 570 for (int j = 0; j < b.length; j++) { in linearTriangularOnTwoArrayLengths() 572 a[j] += 1; in linearTriangularOnTwoArrayLengths() 574 b[j] += 1; in linearTriangularOnTwoArrayLengths() 591 for (int j = 0; j < i; j++) { in linearTriangularOnOneArrayLength() 593 a[j] += 1; in linearTriangularOnOneArrayLength() 595 b[j] += 1; in linearTriangularOnOneArrayLength() 612 for (int j = 0; j < i; j++) { in linearTriangularOnParameter() 614 a[j] += 1; in linearTriangularOnParameter() [all …]
|
/art/test/567-checker-compare/src/ |
D | Main.java | 386 for (byte j = -11; j <= 11; j++) { in testCompareBytes() 388 if (i < j) expected = -1; in testCompareBytes() 389 else if (i > j) expected = 1; in testCompareBytes() 390 expectEquals(expected, compareBytes(i, j)); in testCompareBytes() 421 for (short j = -11; j <= 11; j++) { in testCompareShorts() 423 if (i < j) expected = -1; in testCompareShorts() 424 else if (i > j) expected = 1; in testCompareShorts() 425 expectEquals(expected, compareShorts(i, j)); in testCompareShorts() 444 for (char j = 0; j <= 11; j++) { in testCompareChars() 446 if (i < j) expected = -1; in testCompareChars() [all …]
|
/art/test/625-checker-licm-regressions/src/ |
D | Main.java | 44 int j = 0; in foo() local 47 } while (j < arr.length); in foo() 69 int j = 0; in bar() local 71 j++; in bar() 72 sA = j; in bar() 73 } while (j < arr.length); in bar() 88 int j = 0; in catcher() local 91 j++; in catcher() 92 } while (j < arr.length); in catcher() 94 return -j; // flag exception with negative value in catcher() [all …]
|
/art/test/659-unpadded-array/src-art/ |
D | Main.java | 30 for (int j = 0; j < o.length; j++) { in main() 31 if (o[j] != null) { in main() 35 System.out.println("Unexpected value: " + o[j]); in main() 48 for (int j = 0; j < intArray.length; j++) { in allocateIntArray() 49 intArray[j] = 1; in allocateIntArray()
|
/art/test/706-checker-scheduler/src/ |
D | Main.java | 144 for (int j = 0; j < 100; j++) { in arrayAccessVariable() 212 for (int j = 0; j < 100; j++) { in arrayAccessSub() 272 for (int j = 0; j < 9; j++) { in arrayAccessLoopVariable() 273 array[j]++; in arrayAccessLoopVariable() 274 array[j + 1]++; in arrayAccessLoopVariable()
|
/art/test/530-checker-loops2/src/ |
D | Main.java | 37 for (int j = 0; j < i; j++) { in bubble() 38 if (a[j] > a[j+1]) { in bubble() 39 int tmp = a[j]; in bubble() 40 a[j] = a[j+1]; in bubble() 41 a[j+1] = tmp; in bubble() 331 for (int j = Integer.MIN_VALUE + 4; j < i - 5; j++) { in justRightTriangular1() 332 sResult += a[j - (Integer.MIN_VALUE + 4)]; in justRightTriangular1() 346 for (int j = 4; j < i - 5; j++) { in justRightTriangular2() 347 sResult += a[j - 4]; in justRightTriangular2() 363 for (int j = 4; j < i - 5; j++) { in justOOBTriangular() [all …]
|
/art/test/550-checker-multiply-accumulate/src/ |
D | Main.java | 440 for (int j = 0; j < 100; j++) { in SimdMulAdd() 441 array2[j] += 12345 * array1[j]; in SimdMulAdd() 458 for (int j = 0; j < 100; j++) { in SimdMulSub() 459 array2[j] -= 12345 * array1[j]; in SimdMulSub() 471 for (int j = 0; j < 100; j++) { in SimdMulMultipleUses() 472 int temp = 12345 * array1[j]; in SimdMulMultipleUses() 473 array2[j] -= temp; in SimdMulMultipleUses() 474 array1[j] = temp; in SimdMulMultipleUses()
|
/art/test/499-bce-phi-array-length/src/ |
D | Main.java | 24 for (int j = 0; j < 2; ++j) { in foo() 29 result += array[j]; in foo() 39 for (int j = 0; j < 2; ++j) { in bar() 40 result += array[j]; in bar()
|
/art/compiler/ |
D | compiled_method_test.cc | 35 for (size_t j = 0; j != arraysize(elems); ++j) { in TEST() local 36 bool expected = (i != 6u ? i : 4u) == (j != 6u ? j : 4u); in TEST() 37 EXPECT_EQ(expected, elems[i] == elems[j]) << i << " " << j; in TEST() 42 for (size_t j = 0; j != arraysize(elems); ++j) { in TEST() local 43 bool expected = (i != 6u ? i : 4u) < (j != 6u ? j : 4u); in TEST() 44 EXPECT_EQ(expected, elems[i] < elems[j]) << i << " " << j; in TEST() 180 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST() local 181 bool expected = (i != last_index ? i : 3u) == (j != last_index ? j : 3u); in TEST() 182 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST() 187 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST() local [all …]
|
/art/test/006-args/src/ |
D | ArgsTest.java | 33 void argTest(int a, char c, double d, long j, float f) { in argTest() argument 35 + Long.toHexString(mLongArray[1]) + " " + Long.toHexString(j)); in argTest() 37 + mLongArray[1] + " " + j); in argTest() 39 System.out.println(j); in argTest() 40 System.out.println("j = " + j); in argTest() 42 + " j=" + j + " f=" + f); in argTest()
|
/art/compiler/driver/ |
D | compiled_method_storage_test.cc | 106 for (size_t j = 0; j != compiled_methods.size(); ++j) { in TEST() local 108 CompiledMethod* rhs = compiled_methods[j]; in TEST() 109 bool same_code = ((i ^ j) & code_bit) == 0u; in TEST() 110 bool same_src_map = ((i ^ j) & src_map_bit) == 0u; in TEST() 111 bool same_vmap_table = ((i ^ j) & vmap_table_bit) == 0u; in TEST() 112 bool same_cfi_info = ((i ^ j) & cfi_info_bit) == 0u; in TEST() 113 bool same_patches = ((i ^ j) & patches_bit) == 0u; in TEST() 115 << i << " " << j; in TEST() 117 << i << " " << j; in TEST() 119 << i << " " << j; in TEST() [all …]
|
/art/test/473-remove-dead-block/src/ |
D | Main.java | 23 int j=4; in test() local 35 for (j = 1; j < 39; ++j) { in test() 36 j++; in test()
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 68 for (size_t j = 0; j < kBitsPerIntPtrT * 3; ++j) { in TEST_F() local 70 reinterpret_cast<mirror::Object*>(heap_begin + j * kObjectAlignment); in TEST_F() 82 for (size_t j = 0; j < static_cast<size_t>(kBitsPerIntPtrT * 2); ++j) { in TEST_F() local 84 reinterpret_cast<mirror::Object*>(heap_begin + (i + j) * kObjectAlignment); in TEST_F() 99 for (size_t j = 0; j < heap_capacity; j += kObjectAlignment) { in TEST_F() local 100 const mirror::Object* obj = reinterpret_cast<mirror::Object*>(heap_begin + j); in TEST_F() 168 for (int j = 0; j < 10000; ++j) { in RunTest() local 179 for (int j = 0; j < 50; ++j) { in RunTest() local
|
/art/test/618-checker-induction/src/ |
D | Main.java | 64 for (int j = 0; j < 4; j++) { in deadNestedLoops() 82 for (int j = 0; j < 4; j++) { in deadNestedAndFollowingLoops() 88 for (int j = 0; j < 4; j++) { in deadNestedAndFollowingLoops() 304 for (int j = 0; j < 10; j++) { in closedFormNested() 327 for (int j = 0; j < 23; j++) { in closedFormNestedAlt() 355 for (int j = 0; j < 10; j++) { in closedFormNestedN() 366 for (int j = 0; j < 23; j++) { in closedFormNestedNAlt() 377 for (int j = 0; j < n; j++) { in closedFormNestedMN() 388 for (int j = 0; j < n; j++) { in closedFormNestedMNAlt()
|
/art/test/482-checker-loop-back-edge-use/src/ |
D | Main.java | 96 for (long j = System.currentTimeMillis(); j != 42; ++j) { in loop5() 118 for (long j = System.currentTimeMillis(); j != 42; ++j) { in loop6() 119 System.out.print(j); // non-empty body in loop6()
|
/art/test/096-array-copy-concurrent-gc/src/ |
D | Main.java | 62 for (int j = 0; j < array.length; j++) { in stressArray() 72 for (int j = 0; j < array.length; j++) { in stressArray()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 36 TestClass(int i, int j) { in TestClass() argument 38 this.j = j; in TestClass() 41 int j; field in TestClass 55 int j; field in TestClass2 111 obj2.j = 2; in test1() 112 return obj1.i + obj2.j; in test1() 128 obj.j = 1; in test2() 129 obj.j = 1; in test2() 130 return obj.j; in test2() 162 obj1.j = 2; in test3() [all …]
|
/art/test/449-checker-bce/src/ |
D | Main.java | 866 int j = array.length - 1; in isPyramid() local 867 while (i <= j) { in isPyramid() 871 if (array[j] != i) { in isPyramid() 874 i++; j--; in isPyramid() 920 for (int j = 0; j < array.length - i - 1; j++) { in bubbleSort() 921 if (array[j] > array[j + 1]) { in bubbleSort() 922 int temp = array[j + 1]; in bubbleSort() 923 array[j + 1] = array[j]; in bubbleSort() 924 array[j] = temp; in bubbleSort() 996 for (int j = 0; j < n; j++) { in dynamicBCEAndIntrinsic() [all …]
|
/art/compiler/optimizing/ |
D | register_allocator.cc | 130 for (size_t j = it.CurrentRange()->GetStart(); j < it.CurrentRange()->GetEnd(); ++j) { in ValidateIntervals() local 131 if (liveness_of_spill_slot->IsBitSet(j)) { in ValidateIntervals() 134 message << "Spill slot conflict at " << j; in ValidateIntervals() 140 liveness_of_spill_slot->SetBit(j); in ValidateIntervals() 152 for (size_t j = it.CurrentRange()->GetStart(); j < it.CurrentRange()->GetEnd(); ++j) { in ValidateIntervals() local 153 if (liveness_of_register->IsBitSet(j)) { in ValidateIntervals() 159 message << "Register conflict at " << j << " "; in ValidateIntervals() 172 && interval->CoversSlow(j)) { in ValidateIntervals() 187 liveness_of_register->SetBit(j); in ValidateIntervals()
|
/art/test/103-string-append/src/ |
D | Main.java | 23 for (int j = 0; j < ROUNDS; j++) { in main()
|
/art/test/484-checker-register-hints/src/ |
D | Main.java | 47 int j = live0; in test1() local 59 live1 = e + f + g + j; in test1() 82 int j = live0; in test2() local 94 live1 = e + f + g + j; in test2() 119 int j = live0; in test3() local 135 live1 = e + f + g + j; in test3()
|