Home
last modified time | relevance | path

Searched refs:Capacity (Results 1 – 22 of 22) sorted by relevance

/art/runtime/
Dindirect_reference_table_test.cc96 EXPECT_EQ(0U, irt.Capacity()); in TEST_F()
118 ASSERT_EQ(0U, irt.Capacity()); in TEST_F()
130 ASSERT_EQ(3U, irt.Capacity()); in TEST_F()
146 ASSERT_EQ(0U, irt.Capacity()); in TEST_F()
167 ASSERT_EQ(4U, irt.Capacity()) << "hole not filled"; in TEST_F()
175 ASSERT_EQ(3U, irt.Capacity()) << "should be 3 after two deletions"; in TEST_F()
182 ASSERT_EQ(0U, irt.Capacity()) << "not empty after split remove"; in TEST_F()
198 ASSERT_EQ(0U, irt.Capacity()) << "switching del not empty"; in TEST_F()
216 ASSERT_EQ(0U, irt.Capacity()) << "temporal del not empty"; in TEST_F()
241 ASSERT_EQ(kTableInitial + 1, irt.Capacity()); in TEST_F()
[all …]
Dindirect_reference_table.h323 size_t Capacity() const { in Capacity() function
329 return IrtIterator(table_, 0, Capacity()); in begin()
333 return IrtIterator(table_, Capacity(), Capacity()); in end()
Djni_env_ext-inl.h33 size_t entry_count = locals.Capacity(); in AddLocalReference()
Dindirect_reference_table.cc156 for (size_t i = 0; i < Capacity(); ++i) { in AssertEmpty()
266 const size_t top_index = Capacity(); in Trim()
285 for (size_t i = 0; i < Capacity(); ++i) { in Dump()
Djava_vm_ext.cc587 os << "; globals=" << globals_.Capacity(); in DumpForSigQuit()
591 if (weak_globals_.Capacity() > 0) { in DumpForSigQuit()
592 os << " (plus " << weak_globals_.Capacity() << " weak)"; in DumpForSigQuit()
Djni_internal.cc2338 const size_t capacity = soa.Env()->locals.Capacity(); in EnsureLocalCapacityInternal()
/art/compiler/utils/
Dassembler.cc61 CHECK_EQ(Capacity(), kInitialBufferCapacity); in AssemblerBuffer()
68 arena_->MakeInaccessible(contents_, Capacity()); in ~AssemblerBuffer()
96 size_t old_capacity = Capacity(); in ExtendCapacity()
110 CHECK_EQ(Capacity(), new_capacity); in ExtendCapacity()
Dassembler.h115 if (new_size > Capacity()) { in Resize()
211 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); } in ComputeGap()
238 size_t Capacity() const { in Capacity() function
/art/runtime/gc/space/
Dmalloc_space.cc139 CHECK_LE(new_end, Begin() + Capacity()); in MoreCore()
182 << "Capacity " << Capacity(); in CreateZygoteSpace()
226 << ",size=" << PrettySize(Size()) << ",capacity=" << PrettySize(Capacity()) in Dump()
252 size_t new_capacity = Capacity(); in ClampGrowthLimit()
Dspace.h303 virtual size_t Capacity() const { in Capacity() function
377 return Capacity(); in NonGrowthLimitCapacity()
Dmalloc_space.h109 size_t Capacity() const { in Capacity() function
Dbump_pointer_space.h84 size_t Capacity() const { in Capacity() function
Dspace_test.h334 EXPECT_EQ(space->Capacity(), growth_limit); in SizeFootPrintGrowthLimitAndTrimDriver()
346 EXPECT_EQ(space->Capacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver()
Ddlmalloc_space.cc135 size_t max_allowed = Capacity(); in AllocWithGrowth()
Drosalloc_space.cc161 size_t max_allowed = Capacity(); in AllocWithGrowth()
/art/runtime/gc/accounting/
Datomic_stack.h174 size_t Capacity() const { in Capacity() function
/art/runtime/gc/collector/
Dmark_compact.cc269 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
270 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
Dmark_sweep.cc358 ResizeMarkStack(mark_stack_->Capacity() * 2); in ExpandMarkStack()
363 if (UNLIKELY(mark_stack_->Size() < mark_stack_->Capacity())) { in ResizeMarkStack()
384 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkObjectNonNullParallel()
512 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in PushOnMarkStack()
Dsemi_space.cc468 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
469 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
Dconcurrent_copying.cc146 accounting::ContinuousSpaceBitmap::Create(bitmap_name, space->Begin(), space->Capacity()); in BindBitmaps()
152 space->Begin(), space->Capacity()); in BindBitmaps()
573 const size_t new_size = gc_mark_stack_->Capacity() * 2; in ExpandGcMarkStack()
/art/runtime/gc/
Dheap.cc438 non_moving_space_->SetFootprintLimit(non_moving_space_->Capacity()); in Heap()
679 malloc_space->SetFootprintLimit(malloc_space->Capacity()); in CreateMallocSpaceFromMemMap()
808 mprotect(con_space->Begin(), con_space->Capacity(), PROT_READ | PROT_WRITE); in DumpObject()
2476 madvise(main_space_->Begin(), main_space_->Capacity(), MADV_DONTNEED); in PreZygoteFork()
2531 non_moving_space_->SetFootprintLimit(non_moving_space_->Capacity()); in PreZygoteFork()
3653 malloc_space->SetFootprintLimit(malloc_space->Capacity()); in ClearGrowthLimit()
3659 main_space_backup_->SetFootprintLimit(main_space_backup_->Capacity()); in ClearGrowthLimit()
/art/compiler/utils/arm/
Dassembler_thumb2.cc271 if (required_capacity > buffer_.Capacity()) { in EmitJumpTables()