Home
last modified time | relevance | path

Searched refs:equal (Results 1 - 25 of 46) sorted by relevance

12

/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Druntime_adapter.cpp25 bool equal = true; in IsEqual() local
30 auto visitType = [&equal, &shorties, &shortyIt, &refTypes, &refTypeIt, &pf](panda_file::Type type, in IsEqual()
32 if (!equal) { in IsEqual()
36 equal = false; in IsEqual()
41 equal = false; in IsEqual()
45 return equal && shortyIt == shorties.end() && refTypeIt == refTypes.end(); in IsEqual()
/arkcompiler/runtime_core/libpandabase/tests/
H A Dsmall_vector_test.cpp72 ASSERT_TRUE(std::equal(values.begin(), values.begin() + 5, vector.begin())); in TestVectorGrow()
103 ASSERT_TRUE(std::equal(vector.begin(), vector.end(), values.begin())); in TestVectorFind()
127 ASSERT_TRUE(std::equal(const_vector.begin(), const_vector.end(), values.begin())); in TestVectorFind()
140 ASSERT_TRUE(std::equal(vector.begin(), vector.end(), values.begin())); in TestVectorResize()
144 ASSERT_TRUE(std::equal(vector.begin(), vector.end(), values.begin())); in TestVectorResize()
349 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), vector2.begin())); in TEST_F()
365 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), vector2.begin())); in TEST_F()
386 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), values.begin())); in TEST_F()
402 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), values.begin())); in TEST_F()
419 ASSERT_TRUE(std::equal(vector in TEST_F()
[all...]
H A Dlist_test.cpp63 return std::equal(list1.begin(), list1.end(), list2.begin()); in IsEqual()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dsmall_vector_test.cpp77 ASSERT_TRUE(std::equal(values.begin(), values.begin() + 5U, vector.begin())); in TestVectorGrow()
129 ASSERT_TRUE(std::equal(vector.begin(), vector.end(), values.begin())); in TestVectorIteration()
142 ASSERT_TRUE(std::equal(constVector.begin(), constVector.end(), values.begin())); in TestVectorIteration()
148 ASSERT_TRUE(std::equal(vector.begin(), vector.end(), values.begin())); in TestVectorIteration()
354 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), vector2.begin())); in TEST_F()
373 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), values.begin())); in TEST_F()
384 ASSERT_TRUE(std::equal(vector2.begin(), vector2.end(), vector1.begin())); in TEST_F()
396 ASSERT_TRUE(std::equal(vector2.begin(), vector2.end(), values.begin())); in TEST_F()
417 ASSERT_TRUE(std::equal(vector1.begin(), vector1.end(), vector2.begin())); in TEST_F()
434 ASSERT_TRUE(std::equal(vector in TEST_F()
[all...]
H A Dlist_test.cpp64 return std::equal(list1.begin(), list1.end(), list2.begin()); in IsEqual()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/
H A Dreturn_promise_to_js_test.js18 function equal(actual, expected) { function
48 if (equal(value, expectedValue)) {
/arkcompiler/runtime_core/compiler/tests/
H A Dgraph_comparator.h47 return std::equal(graph1->GetBlocksRPO().begin(), graph1->GetBlocksRPO().end(), graph2->GetBlocksRPO().begin(), in Compare()
77 return std::equal(block1->AllInsts().begin(), block1->AllInsts().end(), block2->AllInsts().begin(), in Compare()
176 return std::equal(inst1_begin, inst1_end, inst2_begin, eq_lambda); in CompareNonPhiInputs()
212 same = same && std::equal(imms1.begin(), imms1.end(), imms2.begin(), imms2.end()); in CompareIntrinsicInst()
288 if (!std::equal(sv_st1->GetImmediates()->begin(), sv_st1->GetImmediates()->end(), in CompareSaveStateInst()
H A Dgraph_cloner_new_test.cpp75 return std::equal(insts1.begin(), insts1.end(), insts2.begin(), insts2.end(), in CompareInstsOpcode()
81 return std::equal(insts1.begin(), insts1.end(), insts2.begin(), insts2.end(), in CompareInstsOpcode()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
H A Darray_native_test.cpp105 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
144 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
183 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
222 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
261 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
300 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
339 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
378 ASSERT_TRUE(std::equal(src.begin() + half, src.end(), vec.begin())); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
H A Dstring_utils.h106 return std::equal(end.rbegin(), end.rend(), str.rbegin()); in EndsWith()
115 return std::equal(start.cbegin(), start.cend(), str.cbegin()); in StartsWith()
H A Dcl_option.h174 void SetEqualType(EqualType equal) in SetEqualType() argument
176 equalSign = equal; in SetEqualType()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dhcr_gate_meta_data.h46 bool equal(const GateMetaData &other) const override
48 if (!GateMetaData::equal(other)) {
H A Dshare_gate_meta_data.h79 virtual bool equal(const GateMetaData &other) const in equal() function in panda::ecmascript::kungfu::GateMetaData
264 bool equal(const GateMetaData &other) const override
266 if (!GateMetaData::equal(other)) {
305 bool equal(const GateMetaData &other) const override
307 if (!GateMetaData::equal(other)) {
352 bool equal(const GateMetaData &other) const override
354 if (!GateMetaData::equal(other)) {
H A Dmcr_gate_meta_data.h181 bool equal(const GateMetaData &other) const override
183 if (!OneParameterMetaData::equal(other)) {
H A Dbuiltins_lowering.cpp186 GateRef equal = builder_.Equal(value, exceptionVal); in ReplaceHirWithValue() local
187 auto ifBranch = builder_.Branch(state, equal, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithValue()
/arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/
H A Dconstant_propagation.h116 LatticeElement *FoldingGreater(const ConstantElement *left, const ConstantElement *right, bool equal = false);
117 LatticeElement *FoldingLess(const ConstantElement *left, const ConstantElement *right, bool equal = false);
H A Dconstant_propagation.cpp514 bool equal) in FoldingGreater()
521 auto result = equal ? left_value >= right_value : left_value > right_value; in FoldingGreater()
525 LatticeElement *ConstantPropagation::FoldingLess(const ConstantElement *left, const ConstantElement *right, bool equal) in FoldingLess() argument
532 auto result = equal ? left_value <= right_value : left_value < right_value; in FoldingLess()
513 FoldingGreater(const ConstantElement *left, const ConstantElement *right, bool equal) FoldingGreater() argument
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dgraph_comparator.h41 return std::equal(graph1->GetBlocksRPO().begin(), graph1->GetBlocksRPO().end(), graph2->GetBlocksRPO().begin(), in Compare()
69 return std::equal(block1->AllInsts().begin(), block1->AllInsts().end(), block2->AllInsts().begin(), in Compare()
89 if (!std::equal(inst1Begin, inst1End, inst2Begin, eqLambda)) { in InstInitialCompare()
263 if (!std::equal(svSt1->GetImmediates()->begin(), svSt1->GetImmediates()->end(), in InstSaveStateCompare()
/arkcompiler/runtime_core/static_core/runtime/
H A Dmethod.cpp80 bool equal = true; in operator ==() local
83 pda.EnumerateTypes([&equal, &shorties, &shortyIdx](panda_file::Type type) { in operator ==()
84 equal = equal && shortyIdx < shorties.size() && type == shorties[shortyIdx]; in operator ==()
87 if (!equal || shortyIdx != shorties.size() || pda.GetRefNum() != refTypes.size()) { in operator ==()
H A Druntime_controller.cpp37 return (s.size() >= prefix.size()) && std::equal(prefix.begin(), prefix.end(), s.begin()); in StartsWith()
/arkcompiler/ets_runtime/test/moduletest/container/
H A Dcontainer_list.js46 map.set("test list equal:", list.equal(list1));
49 map.set("test list equal:", list.equal(list1) === false);
226 map.set("test list equal:", proxy.equal(proxy1) === false);
H A Dcontainer_lightweightset.js79 res.set("test equal:", !dProxy.equal(obj));
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
H A Dcommon.h291 return std::equal(graph1->GetBlocksRPO().begin(), graph1->GetBlocksRPO().end(), graph2->GetBlocksRPO().begin(), in Compare()
320 return std::equal(block1->AllInsts().begin(), block1->AllInsts().end(), block2->AllInsts().begin(), in Compare()
349 bool equal = in Compare() local
350 std::equal(inst1->GetInputs().begin(), inst1->GetInputs().end(), inst2->GetInputs().begin(), in Compare()
352 if (!equal) { in Compare()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
H A Dcommon.h282 return std::equal(graph1->GetBlocksRPO().begin(), graph1->GetBlocksRPO().end(), graph2->GetBlocksRPO().begin(), in Compare()
300 return std::equal(block1->AllInsts().begin(), block1->AllInsts().end(), block2->AllInsts().begin(), in Compare()
337 if (!std::equal( in Compare()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dclass-inl.h30 bool equal(const Item &m, const panda_file::File::StringData &name) const in equal() function
43 bool equal(const Item &m, panda_file::File::EntityId id) const in equal() function
74 if (!KeyComp().equal(item, key)) { in BinSearch()
304 if (KeyComp().equal(method, key) && PredComp(method, preds...)) { in FindDirectMethod()

Completed in 19 milliseconds

12