Home
last modified time | relevance | path

Searched refs:Contains (Results 1 - 25 of 29) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dstack_like_allocator_test.cpp182 ASSERT_FALSE(alloc.Contains(invalidAddr)); // NOLINT(clang-analyzer-unix.Malloc) in TEST_F()
185 ASSERT_TRUE(alloc.Contains(addr1Inside)); in TEST_F()
186 ASSERT_FALSE(alloc.Contains(invalidAddr)); // NOLINT(clang-analyzer-unix.Malloc) in TEST_F()
189 ASSERT_FALSE(alloc.Contains(addr1Inside)); in TEST_F()
190 ASSERT_FALSE(alloc.Contains(invalidAddr)); in TEST_F()
195 ASSERT_TRUE(alloc.Contains(addr1Inside)); in TEST_F()
196 ASSERT_TRUE(alloc.Contains(addr2Inside)); in TEST_F()
197 ASSERT_FALSE(alloc.Contains(invalidAddr)); in TEST_F()
H A Dframe_allocator_test.cpp191 ASSERT_FALSE(alloc.Contains(invalidAddr)); in CheckAddrInsideAllocator()
196 ASSERT_TRUE(alloc.Contains(addr1Inside)); in CheckAddrInsideAllocator()
197 ASSERT_FALSE(alloc.Contains(invalidAddr)); in CheckAddrInsideAllocator()
200 ASSERT_FALSE(alloc.Contains(addr1Inside)); in CheckAddrInsideAllocator()
201 ASSERT_FALSE(alloc.Contains(invalidAddr)); in CheckAddrInsideAllocator()
208 ASSERT_TRUE(alloc.Contains(addr1Inside)); in CheckAddrInsideAllocator()
209 ASSERT_TRUE(alloc.Contains(addr2Inside)); in CheckAddrInsideAllocator()
210 ASSERT_FALSE(alloc.Contains(invalidAddr)); in CheckAddrInsideAllocator()
/arkcompiler/runtime_core/static_core/verification/util/
H A Daddr_map.h164 return addrRange_.Contains(addr); in IsInAddressSpace()
169 if (!addrRange_.Contains(addrFrom) || !addrRange_.Contains(addrTo)) { in Mark()
179 if (!addrRange_.Contains(addrFrom) || !addrRange_.Contains(addrTo)) { in Clear()
189 if (!addrRange_.Contains(addrFrom) || !addrRange_.Contains(addrTo)) { in HasMarks()
H A Drange.h119 bool Contains(Int point) const in Contains() function in ark::verifier::Range
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dcondition_chain_cache.cpp28 static bool Contains(const ConditionChain *chain0, const ConditionChain *chain1) in Contains() function
53 return Contains(chain0, chain1) && Contains(chain1, chain0); in Equal()
H A Dcondition_chain.h103 bool Contains(const BasicBlock *bb) const in Contains() function in ark::compiler::ConditionChain
H A Dlicm_conditions.cpp131 if (!chain->Contains(pred) && pred != singlePredSucc) { in IsHoistPhiAvailable()
159 if (!chain->Contains(pred)) { in SamePhiInputFromChain()
327 phiInst->AppendInput(chain->Contains(pred) ? oneCnst : zeroCnst); in AddPhiInst()
357 if (chain->Contains(bb)) { in UpdateMultiplePredecessorsSuccessorsPreds()
/arkcompiler/toolchain/tooling/base/
H A Dpt_json.cpp63 ASSERT(key != nullptr && !Contains(key)); in Add()
96 ASSERT(key != nullptr && !Contains(key)); in Add()
114 ASSERT(key != nullptr && !Contains(key)); in Add()
132 ASSERT(key != nullptr && !Contains(key)); in Add()
231 ASSERT(key != nullptr && Contains(key)); in Remove()
237 bool PtJson::Contains(const char *key) const in Contains() function in panda::ecmascript::tooling::PtJson
H A Dpt_json.h72 bool Contains(const char *key) const;
H A Dpt_params.cpp549 if (!params.Contains("urlRegex")) { in AddRequireParams()
552 if (!params.Contains("scriptHash")) { in AddRequireParams()
555 if (!params.Contains("columnNumber")) { in AddRequireParams()
558 if (!params.Contains("condition")) { in AddRequireParams()
/arkcompiler/runtime_core/libpandabase/mem/
H A Dmem_range.h55 bool Contains(const MemRange &other) const in Contains() function in panda::mem::MemRange
60 bool Contains(uintptr_t addr) const in Contains() function in panda::mem::MemRange
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dmem_range.h53 bool Contains(const MemRange &other) const in Contains() function in ark::mem::final
58 bool Contains(uintptr_t addr) const in Contains() function in ark::mem::final
H A Dstack_like_allocator-inl.h94 ASSERT(Contains(mem)); in Free()
112 inline bool StackLikeAllocator<ALIGNMENT, MAX_SIZE>::Contains(void *mem) in Contains() function in ark::mem::StackLikeAllocator
H A Dstack_like_allocator.h44 bool Contains(void *mem);
/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Dliveness_analyzer.h42 bool Contains(const LiveRange &other) const in Contains() function in panda::compiler::LiveRange
47 bool Contains(LifeNumber number) const in Contains() function in panda::compiler::LiveRange
139 } else if (!live_ranges_.front().Contains(live_range)) { in AppendRange()
162 if (live_ranges_.front().Contains(live_ranges_[i])) { in AppendGroupRange()
165 } else if (live_ranges_.front().Contains(live_ranges_[i].GetBegin())) { in AppendGroupRange()
478 if (GetBlockLiveRange(bb).Contains(ln)) {
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dliveness_analyzer.h43 bool Contains(const LiveRange &other) const in Contains() function in ark::compiler::LiveRange
48 bool Contains(LifeNumber number) const in Contains() function in ark::compiler::LiveRange
143 } else if (!liveRanges_.back().Contains(liveRange)) { in AppendRange()
168 if (firstRange.Contains(liveRanges_.back())) { in AppendGroupRange()
170 } else if (firstRange.Contains(liveRanges_.back().GetBegin())) { in AppendGroupRange()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dmem_hooks.h58 bool Contains(uintptr_t addr) const in Contains() function in ark::os::unix::mem_hooks::PandaHooks::AddrRange
H A Dmem_hooks.cpp75 return !ignoreCodeRange_.Contains(ToUintPtr(caller)); in ShouldCountAllocation()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dframe_allocator.h62 bool Contains(void *mem);
H A Dheap_verifier.cpp254 if (memRange.Contains(ToUintPtr(object))) { in InCollectableSpace()
265 if (memRange.Contains(ToUintPtr(object))) { in InAliveSpace()
H A Dframe_allocator-inl.h233 inline bool FrameAllocator<ALIGNMENT, USE_MEMSET>::Contains(void *mem) in Contains() function in ark::mem::FrameAllocator
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
H A Dutils.h135 bool Contains(const std::vector<T> &container, const T &data)
/arkcompiler/runtime_core/compiler/tests/
H A Dliveness_analyzer_new_test.cpp563 * @tc.desc: Verify the Contains function.
571 EXPECT_TRUE(live_range.Contains(live_range)); in HWTEST_F()
573 EXPECT_FALSE(live_range.Contains(number)); in HWTEST_F()
/arkcompiler/toolchain/tooling/test/
H A Dpt_json_test.cpp135 ASSERT_TRUE(child1->Contains("ch")); in HWTEST_F_L0()
139 ASSERT_TRUE(child2->Contains("ch")); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/verification/util/tests/
H A Dset_operations_property_test.cpp43 RC_CLASSIFY(i.Contains(size), std::to_string(i)); in ClassifySize()

Completed in 13 milliseconds

12