/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | runtime_adapter.cpp | 25 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 D | small_vector_test.cpp | 72 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 D | list_test.cpp | 63 return std::equal(list1.begin(), list1.end(), list2.begin()); in IsEqual()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | small_vector_test.cpp | 77 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 D | list_test.cpp | 64 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 D | return_promise_to_js_test.js | 18 function equal(actual, expected) { function 48 if (equal(value, expectedValue)) {
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | graph_comparator.h | 47 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 D | graph_cloner_new_test.cpp | 75 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 D | array_native_test.cpp | 105 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 D | string_utils.h | 106 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 D | cl_option.h | 174 void SetEqualType(EqualType equal) in SetEqualType() argument 176 equalSign = equal; in SetEqualType()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | hcr_gate_meta_data.h | 46 bool equal(const GateMetaData &other) const override 48 if (!GateMetaData::equal(other)) {
|
H A D | share_gate_meta_data.h | 79 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 D | mcr_gate_meta_data.h | 181 bool equal(const GateMetaData &other) const override 183 if (!OneParameterMetaData::equal(other)) {
|
H A D | builtins_lowering.cpp | 186 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 D | constant_propagation.h | 116 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 D | constant_propagation.cpp | 514 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 D | graph_comparator.h | 41 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 D | method.cpp | 80 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 D | runtime_controller.cpp | 37 return (s.size() >= prefix.size()) && std::equal(prefix.begin(), prefix.end(), s.begin()); in StartsWith()
|
/arkcompiler/ets_runtime/test/moduletest/container/ |
H A D | container_list.js | 46 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 D | container_lightweightset.js | 79 res.set("test equal:", !dProxy.equal(obj));
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
H A D | common.h | 291 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 D | common.h | 282 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 D | class-inl.h | 30 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()
|