/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | Size.java | 26 * Size objects are immutable. 28 public class Size { class 33 * An instance of Size with 0 for all categories. 35 public static Size ZERO = new Size(0, 0); 38 * Constructs a new instance of Size. 44 public Size(long javaSize, long registeredNativeSize) { method in class:Size 86 * Returns a new Size object that is the sum of this size and the other. 91 public Size plus(Size othe [all...] |
H A D | AhatPlaceHolderClassObj.java | 32 @Override public Size getSize() { 33 return Size.ZERO; 36 @Override public Size getRetainedSize(AhatHeap heap) { 37 return Size.ZERO; 40 @Override public Size getTotalRetainedSize() { 41 return Size.ZERO;
|
H A D | AhatPlaceHolderInstance.java | 35 @Override public Size getSize() { 36 return Size.ZERO; 43 @Override public Size getRetainedSize(AhatHeap heap) { 44 return Size.ZERO; 47 @Override public Size getTotalRetainedSize() { 48 return Size.ZERO;
|
H A D | AhatHeap.java | 28 private Size mSize = Size.ZERO; 57 void addToSize(Size size) { 84 public Size getSize() {
|
H A D | Site.java | 55 private Size[] mSizesByHeap; 92 public Size numBytes; 104 this.numBytes = Size.ZERO; 209 mSizesByHeap = new Size[numHeaps]; 211 mSizesByHeap[i] = Size.ZERO; 218 Size size = inst.getSize(); 249 public Size getSize(AhatHeap heap) { 318 public Size getTotalSize() { 319 Size total = Size [all...] |
H A D | AhatInstance.java | 61 private Size[] mRetainedSizes; 103 public Size getSize() { 104 return new Size(mClassObj.getInstanceSize() + getExtraJavaSize(), mRegisteredNativeSize); 126 public Size getRetainedSize(AhatHeap heap) { 131 return Size.ZERO; 141 public Size getTotalRetainedSize() { 142 Size size = Size.ZERO; 686 inst.mRetainedSizes = new Size[numHeaps]; 688 inst.mRetainedSizes[i] = Size [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
H A D | OverviewHandler.java | 21 import com.android.ahat.heapdump.Size; 60 Size totalSize = Size.ZERO; 61 Size totalBase = Size.ZERO; 63 Size size = heap.getSize(); 64 Size base = heap.getBaseline().getSize();
|
H A D | SizeTable.java | 19 import com.android.ahat.heapdump.Size; 25 * Class for rendering a table that includes all categories of Size. 28 * |left column|Java Size|Native Size|...|Total Size|custom columns...| 31 * |Java Size|Native Size|...|Total Size|custom columns...| 37 * |left column|Java Size|Native Size| [all...] |
/art/dexlayout/ |
H A D | dex_container.h | 40 // Size in bytes. 41 virtual size_t Size() const = 0; 51 return Begin() + Size(); 64 size_t Size() const OVERRIDE {
|
/art/test/596-monitor-inflation/ |
H A D | monitor_inflation.cc | 31 return Runtime::Current()->GetMonitorList()->Size();
|
/art/libartbase/base/ |
H A D | variant_map_test.cc | 70 EXPECT_EQ(size_t(2), fm.Size()); 77 EXPECT_EQ(size_t(0), fm.Size()); 102 EXPECT_EQ(size_t(0), fmEmpty.Size()); 108 EXPECT_EQ(size_t(2), fmFilled.Size()); 112 EXPECT_EQ(size_t(0), fmEmptyCopy.Size()); 116 EXPECT_EQ(size_t(2), fmFilledCopy.Size()); 123 EXPECT_EQ(size_t(2), fmFilledCopy2.Size()); 129 EXPECT_EQ(size_t(0), fmFilledCopy.Size()); 130 EXPECT_EQ(size_t(2), fmMoved.Size()); 139 EXPECT_EQ(size_t(0), fmFilledCopy2.Size()); [all...] |
/art/compiler/utils/ |
H A D | assembler.cc | 43 CHECK_EQ(Size(), 0U); 65 MemoryRegion from(reinterpret_cast<void*>(contents()), Size()); 76 size_t old_size = Size(); 92 CHECK_EQ(Size(), old_size);
|
H A D | assembler.h | 108 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); 113 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); 126 DCHECK_LE(oldposition + size, Size()); 127 DCHECK_LE(newposition + size, Size()); 134 fixup->set_position(Size()); 160 size_t Size() const { function in class:art::AssemblerBuffer 185 buffer->ExtendCapacity(buffer->Size() + kMinimumGap); 214 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); } 226 buffer->ExtendCapacity(buffer->Size() + kMinimumGap); 363 // Size o [all...] |
/art/cmdline/ |
H A D | token_range.h | 156 size_t Size() const { function in struct:art::TokenRange 162 return Size() > 0; 167 assert(offset < Size()); 179 if (Size() != other.Size()) { 188 assert(index >= 0 && static_cast<size_t>(index) < Size()); 198 if (Size() < other.Size()) { 202 auto& smaller = Size() < other.Size() [all...] |
/art/runtime/ |
H A D | mem_map_test.cc | 88 size_t size0 = m0->Size(); 89 EXPECT_EQ(m0->Size(), 2 * page_size); 100 EXPECT_EQ(m0->Size(), page_size); 104 size_t size1 = m1->Size(); 200 ASSERT_EQ(dest->Size(), static_cast<size_t>(kPageSize)); 202 ASSERT_EQ(memcmp(dest->Begin(), data.data(), dest->Size()), 0); 240 ASSERT_EQ(dest->Size(), static_cast<size_t>(kPageSize)); 245 ASSERT_EQ(dest->Size(), static_cast<size_t>(3 * kPageSize)); 250 ASSERT_EQ(memcmp(dest->Begin(), data.data(), dest->Size()), 0); 276 ASSERT_EQ(dest->Size(), static_cas [all...] |
H A D | image-inl.h | 55 for (size_t pos = 0; pos < section.Size();) { 73 for (size_t pos = 0; pos < section.Size(); ) {
|
H A D | image.cc | 144 return os << "size=" << section.Size() << " range=" << section.Offset() << "-" << section.End(); 153 for (size_t pos = kStartPos; pos < objects.Size(); ) { 162 for (size_t pos = 0; pos < fields.Size(); ) { 175 const size_t method_size = ArtMethod::Size(pointer_size); 177 for (size_t pos = 0; pos < methods.Size(); ) { 185 for (size_t pos = 0; pos < runtime_methods.Size(); ) {
|
/art/compiler/dex/ |
H A D | dex_to_dex_decompiler_test.cc | 74 updated_dex_file->Size()); 80 cmp = memcmp(original_dex_file->Begin(), updated_dex_file->Begin(), updated_dex_file->Size()); 112 cmp = memcmp(original_dex_file->Begin(), updated_dex_file->Begin(), updated_dex_file->Size());
|
/art/runtime/gc/space/ |
H A D | space_test.h | 161 EXPECT_LE(space->Size(), growth_limit); 165 EXPECT_GE(space->Size(), footprint); 202 EXPECT_GE(space->Size(), footprint); // invariant 229 EXPECT_LE(space->Size(), growth_limit); 233 EXPECT_GE(space->Size(), amount_allocated); 249 EXPECT_GE(space->Size(), amount_allocated); 250 EXPECT_LE(space->Size(), growth_limit); 272 EXPECT_GE(space->Size(), footprint); // invariant 304 EXPECT_GE(space->Size(), footprint); 305 EXPECT_LE(space->Size(), growth_limi [all...] |
/art/openjdkjvmti/ |
H A D | fixed_up_dex_file.cc | 95 dex.Size(), 143 CHECK_EQ(dex_container->GetDataSection()->Size(), 0u); 146 data.resize(original.Size()); 147 memcpy(data.data(), original.Begin(), original.Size());
|
H A D | fixed_up_dex_file.h | 63 size_t Size() { function in class:openjdkjvmti::FixedUpDexFile
|
H A D | ti_class_definition.cc | 60 CHECK_LE(fixed_dex_file->Size(), temp_mmap_->Size()); 61 CHECK_EQ(temp_mmap_->Size(), dex_data_mmap_->Size()); 63 memcpy(temp_mmap_->Begin(), fixed_dex_file->Begin(), fixed_dex_file->Size()); 137 dex_data->resize(fixed_dex_file->Size()); 138 memcpy(dex_data->data(), fixed_dex_file->Begin(), fixed_dex_file->Size()); 267 dex_data_mmap_->Size()); 274 current_dex_file_ = art::ArrayRef<const unsigned char>(cur_dex.Begin(), cur_dex.Size()); 298 current_dex_file_ = art::ArrayRef<const unsigned char>(cur_dex.Begin(), cur_dex.Size()); [all...] |
/art/runtime/gc/collector/ |
H A D | immune_region.h | 69 size_t Size() const { function in class:art::gc::collector::ImmuneRegion
|
/art/compiler/optimizing/ |
H A D | nodes_shared.cc | 47 int result_size = DataType::Size(result_type); 48 int input_size = DataType::Size(input_type);
|
/art/runtime/utils/ |
H A D | dex_cache_arrays_layout.h | 53 return Size() != 0u; 56 size_t Size() const { function in class:art::DexCacheArraysLayout
|