/art/libartbase/base/ |
D | globals.h | 27 static constexpr size_t KB = 1024; variable 28 static constexpr size_t MB = KB * KB; 29 static constexpr size_t GB = KB * KB * KB;
|
D | arena_allocator-inl.h | 29 : 128 * KB;
|
D | utils_test.cc | 36 EXPECT_EQ("1024B", PrettySize(1 * KB)); in TEST_F() 37 EXPECT_EQ("10KB", PrettySize(10 * KB)); in TEST_F() 38 EXPECT_EQ("100KB", PrettySize(100 * KB)); in TEST_F()
|
D | utils.cc | 228 10*KB, // KB up to... in PrettySize() 232 static const uint64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
/art/compiler/utils/ |
D | stack_checks.h | 27 static constexpr size_t kLargeFrameSize = 2 * KB; 32 static constexpr size_t kSmallFrameSize = 1 * KB;
|
D | assembler.cc | 30 static const size_t kInitialBufferCapacity = 4 * KB; in AssemblerBuffer()
|
/art/runtime/ |
D | thread_linux.cc | 37 32 * KB < MINSIGSTKSZ ? MINSIGSTKSZ : 32 * KB;
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 519 size == 1 * KB || size == 2 * KB)); in BracketSizeToIndex() 521 if (UNLIKELY(size == 1 * KB)) { in BracketSizeToIndex() 523 } else if (UNLIKELY(size == 2 * KB)) { in BracketSizeToIndex() 551 } else if (UNLIKELY(size <= 1 * KB)) { in RoundToBracketSize() 552 return 1 * KB; in RoundToBracketSize() 554 DCHECK_LE(size, 2 * KB); in RoundToBracketSize() 555 return 2 * KB; in RoundToBracketSize() 566 } else if (size <= 1 * KB) { in SizeToIndex() 569 DCHECK_LE(size, 2 * KB); in SizeToIndex() 585 } else if (size <= 1 * KB) { in SizeToIndexAndBracketSize() [all …]
|
/art/runtime/gc/space/ |
D | space_test.h | 368 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1KB, spaceName, spaceFn, 1 * KB) \ 369 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4KB, spaceName, spaceFn, 4 * KB) \ 383 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1KB, spaceName, spaceFn, 1 * KB) \ 384 TEST_SizeFootPrintGrowthLimitAndTrimRandom(4KB, spaceName, spaceFn, 4 * KB) \
|
D | large_object_space_test.cc | 167 thread_pool->AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 188 rss_histogram_.AddValue(rss / KB); in ExtractRssFromMincore() 217 freed_bytes_histogram_.AddValue(std::max<int64_t>(freed_bytes / KB, 0)); in Run() 408 << ": Avg: " << PrettySize(rss_histogram_.Mean() * KB) in DumpPerformanceInfo() 409 << " Max: " << PrettySize(rss_histogram_.Max() * KB) in DumpPerformanceInfo() 410 << " Min: " << PrettySize(rss_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo() 418 << ": Avg: " << PrettySize(freed_bytes_histogram_.Mean() * KB) in DumpPerformanceInfo() 419 << " Max: " << PrettySize(freed_bytes_histogram_.Max() * KB) in DumpPerformanceInfo() 420 << " Min: " << PrettySize(freed_bytes_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo()
|
D | immune_spaces_test.cc | 197 FakeSpace a(base, base + 45 * KB); in TEST_F() 198 FakeSpace b(a.Limit(), a.Limit() + 813 * KB); in TEST_F()
|
/art/dex2oat/linker/ |
D | image_test.cc | 70 uint32_t image_roots = ART_BASE_ADDRESS + (1 * KB); in TEST_F() 74 uint32_t oat_data_end = ART_BASE_ADDRESS + (2 * kElfSegmentAlignment + 1 * KB); in TEST_F() 75 uint32_t oat_file_end = ART_BASE_ADDRESS + (2 * kElfSegmentAlignment + 2 * KB); in TEST_F() 223 uint32_t image_roots = ART_BASE_ADDRESS + (1 * KB); in TEST_F()
|
D | image_write_read_test.cc | 156 TestWriteRead(ImageHeader::kStorageModeLZ4HC, /*max_image_block_size=*/KB); in TEST_F()
|
/art/libelffile/elf/ |
D | xz_utils.h | 27 constexpr size_t kXzDefaultBlockSize = 16 * KB;
|
/art/compiler/utils/riscv64/ |
D | jni_macro_assembler_riscv64_test.cc | 179 __ IncreaseFrameSize(6 * KB); in TEST_F() 183 __ DecreaseFrameSize(6 * KB); in TEST_F() 188 __ IncreaseFrameSize(6 * KB + 16); in TEST_F() 192 __ DecreaseFrameSize(6 * KB + 16); in TEST_F() 211 __ Store(AsManaged(S3), MemberOffset(4 * KB), AsManaged(T1), kWordSize); in TEST_F() 218 __ Store(AsManaged(S4), MemberOffset(4 * KB + 16), AsManaged(FT10), kWordSize); in TEST_F() 225 __ StoreRawPtr(FrameOffset(6 * KB), AsManaged(S11)); in TEST_F() 232 __ StoreStackPointerToThread(ThreadOffset64(3 * KB), /*tag_sp=*/ true); in TEST_F() 251 __ Load(AsManaged(T1), AsManaged(S3), MemberOffset(4 * KB), kWordSize); in TEST_F() 258 __ Load(AsManaged(FT10), AsManaged(S4), MemberOffset(4 * KB + 16), kWordSize); in TEST_F() [all …]
|
D | assembler_riscv64_test.cc | 603 size_t MaxOffset9BackwardDistance() const { return KB / 4; } in MaxOffset9BackwardDistance() 604 size_t MaxOffset9ForwardDistance() const { return KB / 4 - 2; } in MaxOffset9ForwardDistance() 606 size_t MaxOffset13BackwardDistance() const { return 4 * KB; } in MaxOffset13BackwardDistance() 607 size_t MaxOffset13ForwardDistance() const { return 4 * KB - 2; } in MaxOffset13ForwardDistance() 609 size_t MaxOffset13BackwardDistance_WithoutC() const { return 4 * KB; } in MaxOffset13BackwardDistance_WithoutC() 610 size_t MaxOffset13ForwardDistance_WithoutC() const { return 4 * KB - 4; } in MaxOffset13ForwardDistance_WithoutC() 8522 TestBcondForward("BcondForward3KiB", 3 * KB, "1", GetPrintBcond()); in TEST_F() 8527 TestBcondForward("BcondForward3KiB", 3 * KB, "1", GetPrintBcond(), /*is_bare=*/ true); in TEST_F() 8532 TestBcondBackward("BcondBackward3KiB", 3 * KB, "1", GetPrintBcond()); in TEST_F() 8537 TestBcondBackward("BcondBackward3KiB", 3 * KB, "1", GetPrintBcond(), /*is_bare=*/ true); in TEST_F() [all …]
|
/art/runtime/interpreter/mterp/ |
D | nterp.h | 44 constexpr size_t kNterpMaxFrame = 3 * KB;
|
/art/libelffile/stream/ |
D | buffered_output_stream.h | 41 static const size_t kBufferSize = 8 * KB;
|
/art/compiler/debug/ |
D | elf_debug_writer.cc | 123 buffer.reserve(KB); in MakeMiniDebugInfoInternal() 185 buffer.reserve(KB); in MakeElfFileForJIT() 254 inner_elf_file.reserve(1 * KB); // Approximate size of ELF file with a single symbol. in PackElfFileForJIT() 333 outer_elf_file.reserve(KB + gnu_debugdata.size()); in PackElfFileForJIT() 356 buffer.reserve(KB); in WriteDebugElfFileForClasses()
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 143 {0, RoundUp(10 * KB, gObjectAlignment) + gObjectAlignment}, in TYPED_TEST() 147 {RoundUp(1 * KB, gObjectAlignment) + gObjectAlignment, in TYPED_TEST() 148 RoundUp(2 * KB, gObjectAlignment) + 5 * gObjectAlignment}, in TYPED_TEST()
|
D | read_barrier_table.h | 87 static constexpr size_t kRegionSize = 256 * KB;
|
/art/libartbase/base/unix_file/ |
D | fd_file_test.cc | 44 static constexpr size_t kChunkSize = 64 * art::KB; 481 std::vector<size_t> outer_regions = {0, 128, 2 * art::KB, 32 * art::KB}; in TEST_F() 483 for (size_t discard = 0; discard <= 8 * art::KB; discard += 1 * art::KB) { in TEST_F() 591 constexpr int64_t length = 17 * art::KB; in TEST_F()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 66 static constexpr size_t kCodeSizeLogThreshold = 50 * KB; 67 static constexpr size_t kStackMapSizeLogThreshold = 50 * KB; 1745 << GetCurrentRegion()->GetUsedMemoryForCode() / KB << "KB / " in Dump() 1746 << GetCurrentRegion()->GetResidentMemoryForCode() / KB << "KB\n" in Dump() 1748 << GetCurrentRegion()->GetUsedMemoryForData() / KB << "KB / " in Dump() 1749 << GetCurrentRegion()->GetResidentMemoryForData() / KB << "KB\n"; in Dump() 1752 << shared_region_.GetUsedMemoryForCode() / KB << "KB / " in Dump() 1753 << shared_region_.GetResidentMemoryForCode() / KB << "KB\n" in Dump() 1755 << shared_region_.GetUsedMemoryForData() / KB << "KB / " in Dump() 1756 << shared_region_.GetResidentMemoryForData() / KB << "KB\n"; in Dump()
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 37 static constexpr size_t kBlockSize = 32 * KB;
|