Home
last modified time | relevance | path

Searched refs:Contains (Results 1 – 25 of 68) 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()
Dclass_table_test.cc103 EXPECT_FALSE(table.Contains(h_Y.Get())); in TEST_F()
107 EXPECT_TRUE(table.Contains(h_X.Get())); in TEST_F()
108 EXPECT_TRUE(table.Contains(h_Y.Get())); in TEST_F()
145 EXPECT_FALSE(table.Contains(h_X.Get())); in TEST_F()
156 EXPECT_TRUE(table2.Contains(h_X.Get())); in TEST_F()
157 EXPECT_TRUE(table2.Contains(h_Y.Get())); in TEST_F()
Dhandle_scope-inl.h103 inline bool HandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains() function
164 inline bool BaseHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains() function
166 ? AsHandleScope()->Contains(handle_scope_entry) in Contains()
167 : AsVariableSized()->Contains(handle_scope_entry); in Contains()
241 inline bool VariableSizedHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) in Contains() function
245 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()
Dmanaged_stack.cc49 if (current_frame->Contains(shadow_frame_entry)) { in ShadowFramesContain()
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;
256 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
121 bool ThreadList::Contains(pid_t tid) { in Contains() function in art::ThreadList
185 contains = Contains(tid); in DumpUnattachedThreads()
844 if (!Contains(thread)) { in Resume()
924 if (!Contains(thread)) { in SuspendThreadByPeer()
1042 DCHECK(Contains(thread)); in SuspendThreadByThreadId()
1274 CHECK(!Contains(self)); in Register()
1318 if (!Contains(self)) { in Unregister()
Dthread_list.h109 bool Contains(Thread* thread) REQUIRES(Locks::thread_list_lock_);
192 bool Contains(pid_t tid) REQUIRES(Locks::thread_list_lock_);
Doat_quick_method_header.h116 bool Contains(uintptr_t pc) const { in Contains() function
/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
638 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.cc36 if (!loop_info->Contains(*successor)) { in CalculateLoopBasicProperties()
45 if (hif != nullptr && !loop_info->Contains(*hif->InputAt(0)->GetBlock())) { in CalculateLoopBasicProperties()
/art/runtime/gc/space/
Ddlmalloc_space-inl.h62 CHECK(Contains(result)) << "Allocation (" << reinterpret_cast<void*>(result) in AllocWithoutGrowthLocked()
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()
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()
Dspace.h96 virtual bool Contains(const mirror::Object* obj) const = 0;
313 bool Contains(const mirror::Object* obj) const { in Contains() function
/art/libartbase/base/
Darray_slice.h141 bool Contains(const T* element) const { in Contains() function
148 DCHECK(Contains(element)); in OffsetOf()
Darena_allocator.cc313 bool ArenaAllocator::Contains(const void* ptr) const { in Contains() function in art::ArenaAllocator
318 if (cur_arena->Contains(ptr)) { in Contains()
/art/libdexfile/dex/
Ddex_file_layout.h76 bool Contains(uint32_t offset) const { in Contains() function

123