Home
last modified time | relevance | path

Searched refs:Contains (Results 1 – 25 of 67) sorted by relevance

123

/art/runtime/
Dlinear_alloc.cc51 bool LinearAlloc::Contains(void* ptr) const { in Contains() function in art::LinearAlloc
53 return allocator_.Contains(ptr); in Contains()
57 return allocator_.Contains(ptr); in ContainsUnsafe()
Dhandle_scope-inl.h106 inline bool HandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains() function
167 inline bool BaseHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains() function
169 ? AsHandleScope()->Contains(handle_scope_entry) in Contains()
170 : AsVariableSized()->Contains(handle_scope_entry); in Contains()
251 inline bool VariableSizedHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) in Contains() function
255 if (cur->Contains(handle_scope_entry)) { in Contains()
Dhandle_scope_test.cc109 EXPECT_TRUE(hs.Contains(handles.back().GetReference())); in TEST_F()
110 EXPECT_TRUE(base->Contains(handles.back().GetReference())); in TEST_F()
119 EXPECT_TRUE(base->Contains(ref)); in TEST_F()
Dlinear_alloc.h50 bool Contains(void* ptr) const REQUIRES(!lock_);
Dhandle_scope.h54 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
119 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
259 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
Dthread_list.cc98 contains = Contains(self); in ShutDown()
117 bool ThreadList::Contains(Thread* thread) { in Contains() function in art::ThreadList
835 if (!Contains(thread)) { in Resume()
916 if (!Contains(thread)) { in SuspendThreadByPeer()
1037 DCHECK(Contains(thread)); in SuspendThreadByThreadId()
1278 CHECK(!Contains(self)); in Register()
1322 if (!Contains(self)) { in Unregister()
Doat_quick_method_header.h105 bool Contains(uintptr_t pc) const { in Contains() function
Dart_method.cc566 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader()
572 OatQuickMethodHeader::NterpMethodHeader->Contains(pc)) { in GetOatQuickMethodHeader()
582 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader()
628 DCHECK(method_header->Contains(pc)) in GetOatQuickMethodHeader()
/art/test/616-cha-unloading/
Dcha_unload.cc40 is_found = alloc->Contains(ptr_); in Visit()
66 if (Runtime::Current()->GetLinearAlloc()->Contains(ptr)) { in Java_Main_reuseArenaOfMethod()
84 } while (!alloc->Contains(ptr)); in Java_Main_reuseArenaOfMethod()
/art/compiler/optimizing/
Dlocations.h317 bool Contains(Location other) const { in Contains() function
328 bool overlap = Contains(other) || other.Contains(*this); in OverlapsWith()
333 DCHECK(!Contains(other.ToLow())); in OverlapsWith()
334 DCHECK(!Contains(other.ToHigh())); in OverlapsWith()
470 return Contains(core_registers_, id); in ContainsCoreRegister()
474 return Contains(floating_point_registers_, id); in ContainsFloatingPointRegister()
477 static bool Contains(uint32_t register_set, uint32_t reg) { in Contains() function
655 return RegisterSet::Contains(register_mask_, reg_id); in RegisterContainsObject()
Dsuperblock_cloner_test.cc262 EXPECT_TRUE(loop_info->Contains(*loop_body)); in TEST_F()
548 EXPECT_TRUE(loop1->Contains(*loop2_header)); in TEST_F()
549 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
550 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
604 EXPECT_TRUE(loop1_header->GetLoopInformation()->Contains(*loop3_long_exit)); in TEST_F()
613 EXPECT_TRUE(loop1->Contains(*loop3_long_exit)); in TEST_F()
617 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
618 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
Dlinear_order.cc67 if (loop->Contains(*block)) { in IsLinearOrderWellFormed()
Dloop_analysis.cc37 if (!loop_info->Contains(*successor)) { in CalculateLoopBasicProperties()
46 if (hif != nullptr && !loop_info->Contains(*hif->InputAt(0)->GetBlock())) { in CalculateLoopBasicProperties()
/art/runtime/gc/space/
Dlarge_object_space.h100 bool Contains(const mirror::Object* obj) const override { in Contains() function
164 bool Contains(const mirror::Object* obj) const override NO_THREAD_SAFETY_ANALYSIS;
206 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); in GetSlotIndexForAddress()
Ddlmalloc_space-inl.h62 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result) in AllocWithoutGrowthLocked()
Drosalloc_space-inl.h47 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result) in AllocCommon()
Dlarge_object_space.cc86 bool Contains(const mirror::Object* obj) const override { in Contains() function in art::gc::space::MemoryToolLargeObjectMapSpace
87 return LargeObjectMapSpace::Contains(ObjectWithRedzone(obj)); in Contains()
223 CHECK(Contains(ptrs[i])); in FreeList()
246 bool LargeObjectMapSpace::Contains(const mirror::Object* obj) const { in Contains() function in art::gc::space::LargeObjectMapSpace
428 DCHECK(Contains(obj)) << reinterpret_cast<void*>(Begin()) << " " << obj << " " in Free()
490 DCHECK(Contains(obj)); in AllocationSize()
Ddlmalloc_space.cc187 CHECK(!kDebugSpaces || Contains(result)); in AllocWithGrowth()
230 CHECK(Contains(ptr)) << "Free (" << ptr << ") not in bounds of heap " << *this; in Free()
265 if (!Contains(ptrs[i])) { in FreeList()
Drosalloc_space.cc220 CHECK(!kDebugSpaces || result == nullptr || Contains(result)); in AllocWithGrowth()
263 CHECK(Contains(ptr)) << "Free (" << ptr << ") not in bounds of heap " << *this; in Free()
295 if (!Contains(ptrs[i])) { in FreeList()
Dregion_space.h203 bool Contains(const mirror::Object* obj) const override { in Contains() function
357 DCHECK(reg->Contains(ref)); in RegionIdxForRefUnchecked()
597 bool Contains(mirror::Object* ref) const { in Contains() function
672 DCHECK(reg->Contains(ref)); in RefToRegionLocked()
Dspace.h96 virtual bool Contains(const mirror::Object* obj) const = 0;
316 bool Contains(const mirror::Object* obj) const { in Contains() function
/art/libartbase/base/
Darray_slice.h146 bool Contains(const T* element) const { in Contains() function
153 DCHECK(Contains(element)); in OffsetOf()
Darena_allocator.cc314 bool ArenaAllocator::Contains(const void* ptr) const { in Contains() function in art::ArenaAllocator
319 if (cur_arena->Contains(ptr)) { in Contains()
Darena_allocator.h207 bool Contains(const void* ptr) const { in Contains() function
357 bool Contains(const void* ptr) const;
/art/libdexfile/dex/
Ddex_file_layout.h76 bool Contains(uint32_t offset) const { in Contains() function

123