Searched refs:Size (Results 1 - 25 of 206) sorted by relevance

123456789

/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DSize.java26 * 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 DAhatPlaceHolderClassObj.java32 @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 DAhatPlaceHolderInstance.java35 @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 DAhatHeap.java28 private Size mSize = Size.ZERO;
57 void addToSize(Size size) {
84 public Size getSize() {
H A DSite.java55 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 DAhatInstance.java61 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 DOverviewHandler.java21 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 DSizeTable.java19 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 Ddex_container.h40 // 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 Dmonitor_inflation.cc31 return Runtime::Current()->GetMonitorList()->Size();
/art/libartbase/base/
H A Dvariant_map_test.cc70 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 Dassembler.cc43 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 Dassembler.h108 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 Dtoken_range.h156 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 Dmem_map_test.cc88 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 Dimage-inl.h55 for (size_t pos = 0; pos < section.Size();) {
73 for (size_t pos = 0; pos < section.Size(); ) {
H A Dimage.cc144 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 Ddex_to_dex_decompiler_test.cc74 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 Dspace_test.h161 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 Dfixed_up_dex_file.cc95 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 Dfixed_up_dex_file.h63 size_t Size() { function in class:openjdkjvmti::FixedUpDexFile
H A Dti_class_definition.cc60 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 Dimmune_region.h69 size_t Size() const { function in class:art::gc::collector::ImmuneRegion
/art/compiler/optimizing/
H A Dnodes_shared.cc47 int result_size = DataType::Size(result_type);
48 int input_size = DataType::Size(input_type);
/art/runtime/utils/
H A Ddex_cache_arrays_layout.h53 return Size() != 0u;
56 size_t Size() const { function in class:art::DexCacheArraysLayout

Completed in 1562 milliseconds

123456789