Home
last modified time | relevance | path

Searched refs:Contains (Results 1 – 25 of 66) 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.h101 inline bool HandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains() function
161 inline bool BaseHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains() function
163 ? AsHandleScope()->Contains(handle_scope_entry) in Contains()
164 : AsVariableSized()->Contains(handle_scope_entry); in Contains()
236 inline bool VariableSizedHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) in Contains() function
240 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;
255 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
Dthread_list.h185 bool Contains(Thread* thread) REQUIRES(Locks::thread_list_lock_);
186 bool Contains(pid_t tid) REQUIRES(Locks::thread_list_lock_);
Dthread_list.cc99 contains = Contains(self); in ShutDown()
118 bool ThreadList::Contains(Thread* thread) { in Contains() function in art::ThreadList
122 bool ThreadList::Contains(pid_t tid) { in Contains() function in art::ThreadList
187 contains = Contains(tid); in DumpUnattachedThreads()
849 if (!Contains(thread)) { in Resume()
929 if (!Contains(thread)) { in SuspendThreadByPeer()
1047 DCHECK(Contains(thread)); in SuspendThreadByThreadId()
1411 CHECK(!Contains(self)); in Register()
1455 if (!Contains(self)) { in Unregister()
/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.h304 bool Contains(Location other) const { in Contains() function
315 bool overlap = Contains(other) || other.Contains(*this); in OverlapsWith()
320 DCHECK(!Contains(other.ToLow())); in OverlapsWith()
321 DCHECK(!Contains(other.ToHigh())); in OverlapsWith()
457 return Contains(core_registers_, id); in ContainsCoreRegister()
461 return Contains(floating_point_registers_, id); in ContainsFloatingPointRegister()
464 static bool Contains(uint32_t register_set, uint32_t reg) { in Contains() function
625 return RegisterSet::Contains(register_mask_, reg_id); in RegisterContainsObject()
Dloop_analysis.cc36 if (!loop_info->Contains(*successor)) { in CalculateLoopBasicProperties()
45 if (hif != nullptr && !loop_info->Contains(*hif->InputAt(0)->GetBlock())) { in CalculateLoopBasicProperties()
Dsuperblock_cloner_test.cc258 EXPECT_TRUE(loop_info->Contains(*loop_body)); in TEST_F()
542 EXPECT_TRUE(loop1->Contains(*loop2_header)); in TEST_F()
543 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
544 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
599 EXPECT_TRUE(loop1_header->GetLoopInformation()->Contains(*loop3_long_exit)); in TEST_F()
608 EXPECT_TRUE(loop1->Contains(*loop3_long_exit)); in TEST_F()
612 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
613 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
Dlinear_order.cc67 if (loop->Contains(*block)) { in IsLinearOrderWellFormed()
/art/runtime/gc/space/
Dlarge_object_space.h100 bool Contains(const mirror::Object* obj) const override { in Contains() function
163 bool Contains(const mirror::Object* obj) const override NO_THREAD_SAFETY_ANALYSIS;
203 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.cc85 bool Contains(const mirror::Object* obj) const override { in Contains() function in art::gc::space::MemoryToolLargeObjectMapSpace
86 return LargeObjectMapSpace::Contains(ObjectWithRedzone(obj)); in Contains()
218 CHECK(Contains(ptrs[i])); in FreeList()
241 bool LargeObjectMapSpace::Contains(const mirror::Object* obj) const { in Contains() function in art::gc::space::LargeObjectMapSpace
424 DCHECK(Contains(obj)) << reinterpret_cast<void*>(Begin()) << " " << obj << " " in Free()
482 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()
/art/libartbase/base/
Dmemory_type_table.h56 bool Contains(uintptr_t address) const { in Contains() function
106 DCHECK(ranges_[m].Contains(address)) in Lookup()
273 if (it != ranges_.end() && it->second.Contains(address)) { in Lookup()
Dmemory_type_table_test.cc34 EXPECT_FALSE(r.Contains(0x0fffu)); in TEST()
35 EXPECT_TRUE(r.Contains(0x1000u)); in TEST()
36 EXPECT_TRUE(r.Contains(0x1fffu)); in TEST()
37 EXPECT_FALSE(r.Contains(0x2000u)); in TEST()
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
/art/tools/veridex/
Dhidden_api.cc40 if (sdk_uses_only != membership.Contains(hiddenapi::ApiList::Whitelist())) { in HiddenApi()

123