Home
last modified time | relevance | path

Searched refs:KB (Results 1 – 25 of 55) sorted by relevance

123

/art/libartbase/base/
Dglobals.h25 static constexpr size_t KB = 1024; variable
26 static constexpr size_t MB = KB * KB;
27 static constexpr size_t GB = KB * KB * KB;
Dutils_test.cc34 EXPECT_EQ("1024B", PrettySize(1 * KB)); in TEST_F()
35 EXPECT_EQ("10KB", PrettySize(10 * KB)); in TEST_F()
36 EXPECT_EQ("100KB", PrettySize(100 * KB)); in TEST_F()
Dutils.cc83 static const int64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
/art/dex2oat/linker/
Dimage_test.cc60 uint32_t image_size_ = 16 * KB; in TEST_F()
61 uint32_t image_roots = ART_BASE_ADDRESS + (1 * KB); in TEST_F()
63 uint32_t oat_file_begin = ART_BASE_ADDRESS + (4 * KB); // page aligned in TEST_F()
64 uint32_t oat_data_begin = ART_BASE_ADDRESS + (8 * KB); // page aligned in TEST_F()
65 uint32_t oat_data_end = ART_BASE_ADDRESS + (9 * KB); in TEST_F()
66 uint32_t oat_file_end = ART_BASE_ADDRESS + (10 * KB); in TEST_F()
/art/compiler/utils/
Dstack_checks.h26 static constexpr size_t kLargeFrameSize = 2 * KB;
31 static constexpr size_t kSmallFrameSize = 1 * KB;
Dassembler.cc30 static const size_t kInitialBufferCapacity = 4 * KB; in AssemblerBuffer()
/art/runtime/
Dthread_linux.cc45 32 * KB < MINSIGSTKSZ ? MINSIGSTKSZ : 32 * KB;
Dparsed_options_test.cc88 EXPECT_PARSED_EQ(4 * KB, Opt::MemoryMaximumSize); in TEST_F()
/art/runtime/gc/allocator/
Drosalloc.h521 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/
Dspace_test.h367 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1KB, spaceName, spaceFn, 1 * KB) \
368 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4KB, spaceName, spaceFn, 4 * KB) \
382 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1KB, spaceName, spaceFn, 1 * KB) \
383 TEST_SizeFootPrintGrowthLimitAndTrimRandom(4KB, spaceName, spaceFn, 4 * KB) \
Dlarge_object_space_test.cc166 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
/art/runtime/base/
Darena_allocator-inl.h29 : 128 * KB;
Dfile_utils.cc73 std::vector<char> buf(8 * KB); in ReadFileToString()
/art/tools/amm/models/
DSoCode.md14 native library that loads 36 KB worth of memory regions, `BaseClassLoader` will
17 taking up 36 KB.
DDexCode.md15 that is 500 KB uncompressed, the `DexFile` instance for
17 Taking up 500 KB (or the best available approximation thereof).
DGraphics.md22 be shown as taking up 128 KB.
/art/compiler/linker/
Dbuffered_output_stream.h42 static const size_t kBufferSize = 8 * KB;
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc106 {0, 10 * KB + kObjectAlignment}, in TEST_F()
110 {1 * KB + kObjectAlignment, 2 * KB + 5 * kObjectAlignment}, in TEST_F()
Dread_barrier_table.h85 static constexpr size_t kRegionSize = 256 * KB;
/art/compiler/debug/
Delf_debug_writer.cc152 buffer.reserve(KB); in MakeElfFileForJITInternal()
209 buffer.reserve(KB); in WriteDebugElfFileForClassesInternal()
Delf_gnu_debugdata_writer.h89 buffer.reserve(KB); in MakeMiniDebugInfoInternal()
/art/runtime/gc/
Dheap_test.cc38 16 * KB, in SetUp()
/art/runtime/jit/
Djit_code_cache.h82 static constexpr size_t kInitialCapacity = kIsDebugBuild ? 8 * KB : 64 * KB;
/art/runtime/gc/collector/
Dimmune_spaces_test.cc193 DummySpace a(base, base + 45 * KB); in TEST_F()
194 DummySpace b(a.Limit(), a.Limit() + 813 * KB); in TEST_F()
/art/compiler/optimizing/
Doptimizing_unit_test.h125 static constexpr size_t kDexDataSize = 4 * KB; in CreateGraph()

123