/art/compiler/optimizing/ |
D | live_interval_test.cc | 31 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() 37 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() 48 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() 58 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() 76 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() 86 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() 104 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator); in TEST() 106 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator); in TEST() 113 LiveInterval* interval1 = BuildInterval(ranges1, arraysize(ranges1), &allocator); in TEST() 115 LiveInterval* interval2 = BuildInterval(ranges2, arraysize(ranges2), &allocator); in TEST() [all …]
|
D | parallel_move_test.cc | 86 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TEST() 93 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TEST() 105 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TEST() 112 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TEST() 119 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TEST() 126 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TEST()
|
D | register_allocator_test.cc | 65 intervals.Add(BuildInterval(ranges, arraysize(ranges), &allocator, 0)); in TEST() 66 intervals.Add(BuildInterval(ranges, arraysize(ranges), &allocator, 1)); in TEST() 79 intervals.Add(BuildInterval(ranges1, arraysize(ranges1), &allocator, 0)); in TEST() 81 intervals.Add(BuildInterval(ranges2, arraysize(ranges2), &allocator, 1)); in TEST() 94 intervals.Add(BuildInterval(ranges1, arraysize(ranges1), &allocator, 0)); in TEST() 96 intervals.Add(BuildInterval(ranges2, arraysize(ranges2), &allocator, 1)); in TEST() 109 intervals.Add(BuildInterval(ranges1, arraysize(ranges1), &allocator, 0)); in TEST() 111 intervals.Add(BuildInterval(ranges2, arraysize(ranges2), &allocator, 1)); in TEST() 124 intervals.Add(BuildInterval(ranges1, arraysize(ranges1), &allocator, 0)); in TEST() 127 intervals.Add(BuildInterval(ranges2, arraysize(ranges2), &allocator, 1)); in TEST()
|
D | code_generator_x86_64.h | 32 static constexpr size_t kParameterCoreRegistersLength = arraysize(kParameterCoreRegisters);
|
D | code_generator_x86.h | 34 static constexpr size_t kParameterCoreRegistersLength = arraysize(kParameterCoreRegisters);
|
D | code_generator_arm.h | 34 static constexpr size_t kParameterCoreRegistersLength = arraysize(kParameterCoreRegisters);
|
/art/runtime/ |
D | leb128_test.cc | 95 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST() 114 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST() 134 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST() 138 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST() 154 uint8_t encoded_data[5 * arraysize(uleb128_tests)]; in TEST() 156 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST() 161 for (size_t i = 0; i < arraysize(uleb128_tests); ++i) { in TEST() 176 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST() 195 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST() 215 for (size_t i = 0; i < arraysize(sleb128_tests); ++i) { in TEST() [all …]
|
D | thread_android.cc | 85 for (size_t i = 0; i < arraysize(kNiceValues); i++) { in GetNativePriority()
|
D | jni_internal.h | 36 RegisterNativeMethods(env, jni_class_name, gMethods, arraysize(gMethods))
|
/art/compiler/dex/quick/arm/ |
D | target_arm.cc | 375 snprintf(tbuf, arraysize(tbuf), ", %s %d", shift_names[operand & 0x3], operand >> 2); in BuildInsnString() 415 snprintf(tbuf, arraysize(tbuf), "%d [%#x]", operand, operand); in BuildInsnString() 419 snprintf(tbuf, arraysize(tbuf), "%d [%#x]", operand, operand); in BuildInsnString() 422 snprintf(tbuf, arraysize(tbuf), "s%d", RegStorage::RegNum(operand)); in BuildInsnString() 425 snprintf(tbuf, arraysize(tbuf), "d%d", RegStorage::RegNum(operand)); in BuildInsnString() 428 snprintf(tbuf, arraysize(tbuf), "%04x", operand); in BuildInsnString() 432 snprintf(tbuf, arraysize(tbuf), "%d", operand); in BuildInsnString() 438 snprintf(tbuf, arraysize(tbuf), "%s", core_reg_names[operand]); in BuildInsnString() 441 snprintf(tbuf, arraysize(tbuf), "%d", operand*4); in BuildInsnString() 444 snprintf(tbuf, arraysize(tbuf), "%d", operand*2); in BuildInsnString() [all …]
|
/art/compiler/dex/quick/mips/ |
D | target_mips.cc | 221 snprintf(tbuf, arraysize(tbuf), "$f%d", RegStorage::RegNum(operand)); in BuildInsnString() 225 snprintf(tbuf, arraysize(tbuf), "$f%d", RegStorage::RegNum(operand)); in BuildInsnString() 228 snprintf(tbuf, arraysize(tbuf), "%04x", operand); in BuildInsnString() 232 snprintf(tbuf, arraysize(tbuf), "%d", operand); in BuildInsnString() 235 snprintf(tbuf, arraysize(tbuf), "%d", operand+1); in BuildInsnString() 238 snprintf(tbuf, arraysize(tbuf), "%d", operand*4); in BuildInsnString() 241 snprintf(tbuf, arraysize(tbuf), "%d", operand*2); in BuildInsnString() 244 snprintf(tbuf, arraysize(tbuf), "0x%08" PRIxPTR " (L%p)", in BuildInsnString() 249 snprintf(tbuf, arraysize(tbuf), "0x%08x", operand << 2); in BuildInsnString() 257 snprintf(tbuf, arraysize(tbuf), "%p", reinterpret_cast<void*>(target)); in BuildInsnString() [all …]
|
/art/compiler/dex/quick/arm64/ |
D | target_arm64.cc | 362 DecodeRegExtendOrShift(operand, tbuf, arraysize(tbuf)); in BuildInsnString() 371 DecodeRegExtendOrShift(operand, tbuf, arraysize(tbuf)); in BuildInsnString() 401 snprintf(tbuf, arraysize(tbuf), "s%d", operand & RegStorage::kRegNumMask); in BuildInsnString() 404 snprintf(tbuf, arraysize(tbuf), "d%d", operand & RegStorage::kRegNumMask); in BuildInsnString() 407 snprintf(tbuf, arraysize(tbuf), "%c%d", (IS_FWIDE(lir->opcode)) ? 'd' : 's', in BuildInsnString() 413 snprintf(tbuf, arraysize(tbuf), "%" PRId64 " (%#" PRIx64 ")", imm, imm); in BuildInsnString() 417 snprintf(tbuf, arraysize(tbuf), "%f", DecodeImmSingle(operand)); in BuildInsnString() 423 snprintf(tbuf, arraysize(tbuf), ", lsl #%d", 16*operand); in BuildInsnString() 426 snprintf(tbuf, arraysize(tbuf), "%d", operand); in BuildInsnString() 430 snprintf(tbuf, arraysize(tbuf), "w%d", operand & RegStorage::kRegNumMask); in BuildInsnString() [all …]
|
/art/compiler/dex/ |
D | global_value_numbering_test.cc | 582 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 654 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 723 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 790 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 855 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 917 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 965 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 1080 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 1163 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() 1237 ASSERT_EQ(arraysize(mirs), value_names_.size()); in TEST_F() [all …]
|
D | mir_optimization_test.cc | 258 ASSERT_EQ(arraysize(expected_ignore_clinit_check), mir_count_); in TEST_F() 259 for (size_t i = 0u; i != arraysize(mirs); ++i) { in TEST_F() 331 ASSERT_EQ(arraysize(expected_ignore_clinit_check), mir_count_); in TEST_F() 332 for (size_t i = 0u; i != arraysize(mirs); ++i) { in TEST_F() 365 ASSERT_EQ(arraysize(expected_ignore_clinit_check), mir_count_); in TEST_F() 366 for (size_t i = 0u; i != arraysize(mirs); ++i) { in TEST_F() 419 ASSERT_EQ(arraysize(expected_ignore_clinit_check), mir_count_); in TEST_F() 420 for (size_t i = 0u; i != arraysize(mirs); ++i) { in TEST_F()
|
D | pass_driver_me_post_opt.cc | 54 arraysize(PassDriver<PassDriverMEPostOpt>::g_passes);
|
D | local_value_numbering_test.cc | 256 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F() 278 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F() 300 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F() 325 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F() 349 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F() 515 for (size_t i = 9; i != arraysize(mirs); ++i) { in TEST_F() 518 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F() 538 for (size_t i = 0; i != arraysize(mirs); ++i) { in TEST_F()
|
D | pass_driver_me_opts.cc | 50 arraysize(PassDriver<PassDriverMEOpts>::g_passes);
|
D | frontend.cc | 456 arraysize(kAllOpcodes), 458 arraysize(kAllOpcodes), 470 arraysize(kAllOpcodes),
|
/art/compiler/utils/ |
D | arena_allocator.cc | 56 std::fill_n(alloc_stats_, arraysize(alloc_stats_), 0u); in ArenaAllocatorStatsImpl() 62 std::copy(other.alloc_stats_, other.alloc_stats_ + arraysize(alloc_stats_), alloc_stats_); in Copy() 79 return std::accumulate(alloc_stats_, alloc_stats_ + arraysize(alloc_stats_), init); in BytesAllocated() 105 COMPILE_ASSERT(arraysize(kAllocNames) == kNumArenaAllocKinds, check_arraysize_kAllocNames); in Dump()
|
/art/compiler/dex/quick/ |
D | resource_mask.cc | 89 COMPILE_ASSERT(arraysize(kSingleRegMasks) == arraysize(kNoRegMasks) * 32, check_arraysizes); 118 COMPILE_ASSERT(arraysize(kTwoRegsMasks) == 16 * 15 / 2, check_arraysize_kTwoRegsMasks); 158 DCHECK_LT(index, arraysize(kNoRegMasks)); in GetMask()
|
D | dex_file_method_inliner.cc | 69 COMPILE_ASSERT(arraysize(kIntrinsicIsStatic) == kInlineOpNop, check_arraysize_kIntrinsicIsStatic); 397 COMPILE_ASSERT(arraysize(kClassCacheNames) == kClassCacheLast, bad_arraysize_kClassCacheNames); in DexFileMethodInliner() 399 COMPILE_ASSERT(arraysize(kNameCacheNames) == kNameCacheLast, bad_arraysize_kNameCacheNames); in DexFileMethodInliner() 401 COMPILE_ASSERT(arraysize(kProtoCacheDefs) == kProtoCacheLast, bad_arraysize_kProtoCacheNames); in DexFileMethodInliner() 677 std::fill_n(class_indexes, arraysize(class_indexes), kIndexUnresolved); in IndexCache() 678 std::fill_n(name_indexes, arraysize(name_indexes), kIndexUnresolved); in IndexCache() 679 std::fill_n(proto_indexes, arraysize(proto_indexes), kIndexUnresolved); in IndexCache()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 47 jobjectArray result = env->NewObjectArray(arraysize(features), in VMDebug_getVmFeatureList() 51 for (size_t i = 0; i < arraysize(features); ++i) { in VMDebug_getVmFeatureList()
|
/art/runtime/base/ |
D | macros.h | 99 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
|
/art/runtime/gc/space/ |
D | space_test.h | 347 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody() 359 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody() 362 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody() 372 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody()
|
/art/disassembler/ |
D | disassembler_mips.cc | 187 for (size_t i = 0; i < arraysize(gMipsInstructions); ++i) { in Dump()
|