Home
last modified time | relevance | path

Searched refs:Size (Results 26 – 50 of 211) sorted by relevance

123456789

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSort.java38 public static final Comparator<Size> SIZE_BY_SIZE = new Comparator<Size>() {
40 public int compare(Size a, Size b) {
/art/runtime/
Dintern_table_test.cc54 TEST_F(InternTableTest, Size) { in TEST_F() argument
57 EXPECT_EQ(0U, t.Size()); in TEST_F()
63 EXPECT_EQ(1U, t.Size()); in TEST_F()
65 EXPECT_EQ(2U, t.Size()); in TEST_F()
127 EXPECT_EQ(4U, t.Size()); in TEST_F()
138 EXPECT_EQ(2U, t.Size()); in TEST_F()
144 EXPECT_EQ(3U, t.Size()); in TEST_F()
Dreference_table_test.cc91 EXPECT_EQ(0U, rt.Size()); in TEST_F()
96 EXPECT_EQ(0U, rt.Size()); in TEST_F()
100 EXPECT_EQ(0U, rt.Size()); in TEST_F()
105 EXPECT_EQ(1U, rt.Size()); in TEST_F()
116 EXPECT_EQ(i + 2, rt.Size()); in TEST_F()
135 EXPECT_EQ(10U, rt.Size()); in TEST_F()
144 EXPECT_EQ(9 - i, rt.Size()); in TEST_F()
Dintern_table.cc44 size_t InternTable::Size() const { in Size() function in art::InternTable
46 return strong_interns_.Size() + weak_interns_.Size(); in Size()
51 return strong_interns_.Size(); in StrongSize()
56 return weak_interns_.Size(); in WeakSize()
454 size_t InternTable::Table::Size() const { in Size() function in art::InternTable::Table
459 return sum + table.Size(); in Size()
Dparsed_options_test.cc78 ASSERT_NE(0u, map.Size()); in TEST_F()
126 ASSERT_NE(0u, map.Size()); in TEST_F()
143 ASSERT_NE(0u, map.Size()); in TEST_F()
Doat_file.cc441 index_bss_mapping_offset <= oat_file->Size() && in ReadIndexBssMapping()
443 oat_file->Size() - index_bss_mapping_offset >= IndexBssMapping::ComputeSize(0); in ReadIndexBssMapping()
450 UNLIKELY(oat_file->Size() - index_bss_mapping_offset < in ReadIndexBssMapping()
459 oat_file->Size(), in ReadIndexBssMapping()
501 (Size() >= sizeof(OatHeader)) ? GetOatHeader().GetKeyValueStoreSize() : 0u; in Setup()
502 if (Size() < sizeof(OatHeader) + key_value_store_size) { in Setup()
506 Size(), in Setup()
513 if (oat_dex_files_offset < GetOatHeader().GetHeaderSize() || oat_dex_files_offset > Size()) { in Setup()
519 Size()); in Setup()
820 if (UNLIKELY(class_offsets_offset > Size()) || in Setup()
[all …]
/art/test/596-monitor-inflation/
Dmonitor_inflation.cc31 return Runtime::Current()->GetMonitorList()->Size(); in Java_Main_monitorListSize()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h267 return std::min(min, cur.Size()); in CompleteArgument()
272 return std::max(max, cur.Size()); in CompleteArgument()
370 assert(arguments.Size() > 0); in ParseArgument()
377 if (best_match_size > arguments.Size()) { in ParseArgument()
384 *consumed_tokens = best_match_arg_def->Size(); in ParseArgument()
424 sub_idx < def_split_wildcards.Size() && sub_idx < arg_matches->Size(); ++sub_idx) { in ParseArgument()
/art/libdexfile/dex/
Dsignature-inl.h65 uint32_t params_size = params->Size();
66 DCHECK_EQ(params_size, rhs_params->Size()); // Parameter list size must match.
Ddex_file_layout.cc52 DCHECK_LT(start_offset_, dex_file->Size()); in Madvise()
53 DCHECK_LE(end_offset_, dex_file->Size()); in Madvise()
Dmethod_reference.h75 size_t param1_size = (params1 != nullptr) ? params1->Size() : 0u; in SlowCompare()
77 size_t param2_size = (params2 != nullptr) ? params2->Size() : 0u; in SlowCompare()
Dtype_lookup_table.h66 uint32_t Size() const { in Size() function
84 return Size() * sizeof(Entry); in RawDataLength()
/art/dexlayout/
Dcompact_dex_writer.h68 DCHECK_LE(a.offset_ + a.length_, section_->Size()); in operator()
69 DCHECK_LE(b.offset_ + b.length_, section_->Size()); in operator()
75 DCHECK_LE(range.offset_ + range.length_, section_->Size()); in operator()
Ddexlayout.cc407 if (index < header->TypeIds().Size()) { in IndexString()
415 if (index < header->StringIds().Size()) { in IndexString()
423 if (index < header->MethodIds().Size()) { in IndexString()
435 if (index < header->FieldIds().Size()) { in IndexString()
456 if (index < header->MethodIds().Size()) { in IndexString()
463 if (secondary_index < header->ProtoIds().Size()) { in IndexString()
599 fprintf(out_file_, "string_ids_size : %d\n", header_->StringIds().Size()); in DumpFileHeader()
602 fprintf(out_file_, "type_ids_size : %d\n", header_->TypeIds().Size()); in DumpFileHeader()
605 fprintf(out_file_, "proto_ids_size : %d\n", header_->ProtoIds().Size()); in DumpFileHeader()
608 fprintf(out_file_, "field_ids_size : %d\n", header_->FieldIds().Size()); in DumpFileHeader()
[all …]
/art/compiler/optimizing/
Dnodes_shared.cc47 int result_size = DataType::Size(result_type); in GetOpInfoFromInstruction()
48 int input_size = DataType::Size(input_type); in GetOpInfoFromInstruction()
Dlicm.cc46 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in InputsAreDefinedBeforeLoop()
69 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in UpdateLoopPhisIn()
/art/runtime/utils/
Ddex_cache_arrays_layout.h53 return Size() != 0u; in Valid()
56 size_t Size() const { in Size() function
/art/runtime/gc/accounting/
Datomic_stack.h161 DCHECK_GE(Size(), static_cast<size_t>(n)); in PopBackCount()
166 return Size() == 0; in IsEmpty()
170 return Size() == growth_limit_; in IsFull()
173 size_t Size() const { in Size() function
Dspace_bitmap.cc145 DCHECK_EQ(Size(), source_bitmap->Size()); in CopyFrom()
146 const size_t count = source_bitmap->Size() / sizeof(intptr_t); in CopyFrom()
176 CHECK_LT(end, live_bitmap.Size() / sizeof(intptr_t)); in SweepWalk()
/art/tools/ahat/etc/
Dahat_api.txt66 method public com.android.ahat.heapdump.Size getSize();
96 … method public com.android.ahat.heapdump.Size getRetainedSize(com.android.ahat.heapdump.AhatHeap);
100 method public com.android.ahat.heapdump.Size getSize();
102 method public com.android.ahat.heapdump.Size getTotalRetainedSize();
239 method public com.android.ahat.heapdump.Size getSize(com.android.ahat.heapdump.AhatHeap);
240 method public com.android.ahat.heapdump.Size getTotalSize();
250 field public com.android.ahat.heapdump.Size numBytes;
254 public class Size {
255 ctor public Size(long, long);
262 method public com.android.ahat.heapdump.Size plus(com.android.ahat.heapdump.Size);
[all …]
/art/test/1001-app-image-regions/
Dapp_image_regions.cc44 return image_header.GetObjectsSection().Size(); in Java_Main_checkAppImageSectionSize()
/art/openjdkjvmti/
Dfixed_up_dex_file.h63 size_t Size() { in Size() function
/art/runtime/gc/space/
Dmalloc_space.cc145 if (Size() > growth_limit_) { in SetGrowthLimit()
191 size_t size = RoundUp(Size(), kPageSize); in CreateZygoteSpace()
207 VLOG(heap) << "Size " << GetMemMap()->Size(); in CreateZygoteSpace()
254 << ",size=" << PrettySize(Size()) << ",capacity=" << PrettySize(Capacity()) in Dump()
/art/runtime/base/
Dmem_map_arena_pool.cc52 size_ = map_.Size(); in MemMapArena()
108 if (free_arenas_ != nullptr && LIKELY(free_arenas_->Size() >= size)) { in AllocArena()
/art/runtime/gc/collector/
Dimmune_region.h68 size_t Size() const { in Size() function

123456789