/art/libartbase/base/ |
D | globals.h | 25 static constexpr size_t KB = 1024; variable 26 static constexpr size_t MB = KB * KB; 27 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 | 219 10*KB, // KB up to... in PrettySize() 223 static const uint64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
/art/dex2oat/linker/ |
D | image_test.cc | 68 uint32_t image_size_ = 16 * KB; in TEST_F() 69 uint32_t image_roots = ART_BASE_ADDRESS + (1 * KB); in TEST_F() 71 uint32_t oat_file_begin = ART_BASE_ADDRESS + (4 * KB); // page aligned in TEST_F() 72 uint32_t oat_data_begin = ART_BASE_ADDRESS + (8 * KB); // page aligned in TEST_F() 73 uint32_t oat_data_end = ART_BASE_ADDRESS + (9 * KB); in TEST_F() 74 uint32_t oat_file_end = ART_BASE_ADDRESS + (10 * KB); in TEST_F()
|
D | image_write_read_test.cc | 105 } else if (image_file_size > 16 * KB) { in TestWriteRead() 156 TestWriteRead(ImageHeader::kStorageModeLZ4HC, /*max_image_block_size=*/KB); in TEST_F()
|
/art/compiler/utils/ |
D | stack_checks.h | 26 static constexpr size_t kLargeFrameSize = 2 * KB; 31 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;
|
D | parsed_options_test.cc | 92 EXPECT_PARSED_EQ(4 * KB, Opt::MemoryMaximumSize); in TEST_F()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 150 rss_histogram_.AddValue(rss / KB); in ExtractRssFromMincore() 179 freed_bytes_histogram_.AddValue(std::max<int64_t>(freed_bytes / KB, 0)); in Run() 334 << ": Avg: " << PrettySize(rss_histogram_.Mean() * KB) in DumpPerformanceInfo() 335 << " Max: " << PrettySize(rss_histogram_.Max() * KB) in DumpPerformanceInfo() 336 << " Min: " << PrettySize(rss_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo() 344 << ": Avg: " << PrettySize(freed_bytes_histogram_.Mean() * KB) in DumpPerformanceInfo() 345 << " Max: " << PrettySize(freed_bytes_histogram_.Max() * KB) in DumpPerformanceInfo() 346 << " Min: " << PrettySize(freed_bytes_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo()
|
D | immune_spaces_test.cc | 174 FakeSpace a(base, base + 45 * KB); in TEST_F() 175 FakeSpace b(a.Limit(), a.Limit() + 813 * KB); in TEST_F()
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 521 size == 1 * KB || size == 2 * KB)); in BracketSizeToIndex() 523 if (UNLIKELY(size == 1 * KB)) { in BracketSizeToIndex() 525 } else if (UNLIKELY(size == 2 * KB)) { in BracketSizeToIndex() 553 } else if (UNLIKELY(size <= 1 * KB)) { in RoundToBracketSize() 554 return 1 * KB; in RoundToBracketSize() 556 DCHECK_LE(size, 2 * KB); in RoundToBracketSize() 557 return 2 * KB; in RoundToBracketSize() 568 } else if (size <= 1 * KB) { in SizeToIndex() 571 DCHECK_LE(size, 2 * KB); in SizeToIndex() 587 } 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 | 166 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
|
/art/runtime/interpreter/mterp/ |
D | nterp.h | 44 constexpr size_t kNterpMaxFrame = 3 * KB;
|
/art/libelffile/elf/ |
D | xz_utils.h | 27 constexpr size_t kXzDefaultBlockSize = 16 * 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() 186 buffer.reserve(KB); in MakeElfFileForJIT() 255 inner_elf_file.reserve(1 * KB); // Approximate size of ELF file with a single symbol. in PackElfFileForJIT() 332 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 | 106 {0, 10 * KB + kObjectAlignment}, in TEST_F() 110 {1 * KB + kObjectAlignment, 2 * KB + 5 * kObjectAlignment}, in TEST_F()
|
D | read_barrier_table.h | 87 static constexpr size_t kRegionSize = 256 * KB;
|
/art/runtime/gc/ |
D | heap_test.cc | 39 16 * KB, in SetUp()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 65 static constexpr size_t kCodeSizeLogThreshold = 50 * KB; 66 static constexpr size_t kStackMapSizeLogThreshold = 50 * KB; 1765 << GetCurrentRegion()->GetUsedMemoryForCode() / KB << "KB / " in Dump() 1766 << GetCurrentRegion()->GetResidentMemoryForCode() / KB << "KB\n" in Dump() 1768 << GetCurrentRegion()->GetUsedMemoryForData() / KB << "KB / " in Dump() 1769 << GetCurrentRegion()->GetResidentMemoryForData() / KB << "KB\n"; in Dump() 1772 << shared_region_.GetUsedMemoryForCode() / KB << "KB / " in Dump() 1773 << shared_region_.GetResidentMemoryForCode() / KB << "KB\n" in Dump() 1775 << shared_region_.GetUsedMemoryForData() / KB << "KB / " in Dump() 1776 << shared_region_.GetResidentMemoryForData() / KB << "KB\n"; in Dump()
|
D | jit_code_cache.h | 185 static constexpr size_t kInitialCapacity = kIsDebugBuild ? 8 * KB : 64 * KB;
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 37 static constexpr size_t kBlockSize = 32 * KB;
|