/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_binaryop_test.cpp | 69 JSTaggedValue resInSlowPath1 = SlowRuntimeStub::Add2(thread, arg1.GetTaggedValue(),
in HWTEST_F_L0() 70 arg2.GetTaggedValue());
in HWTEST_F_L0() 72 JSTaggedValue resInICPath1 = ICBinaryOP::AddWithTSType(thread, arg1.GetTaggedValue(), arg2.GetTaggedValue(),
in HWTEST_F_L0() 74 EXPECT_EQ(slowHandle1.GetTaggedValue(), resInICPath1);
in HWTEST_F_L0() 76 JSTaggedValue resInSlowPath2 = SlowRuntimeStub::Add2(thread, arg1.GetTaggedValue(),
in HWTEST_F_L0() 77 arg3.GetTaggedValue());
in HWTEST_F_L0() 79 JSTaggedValue resInICPath2 = ICBinaryOP::AddWithTSType(thread, arg1.GetTaggedValue(), arg3.GetTaggedValue(),
in HWTEST_F_L0() 81 EXPECT_EQ(slowHandle2.GetTaggedValue(), resInICPath in HWTEST_F_L0() [all...] |
H A D | ic_compareop_test.cpp | 81 ecmaRuntimeCallInfo->SetFunction(boolean.GetTaggedValue()); in HWTEST_F_L0() 82 ecmaRuntimeCallInfo->SetThis(globalObject.GetTaggedValue()); in HWTEST_F_L0() 88 JSTaggedValue resInSlowPath1 = SlowRuntimeStub::Eq(thread, arg1Handle.GetTaggedValue(), in HWTEST_F_L0() 89 arg2Handle.GetTaggedValue()); in HWTEST_F_L0() 90 JSTaggedValue resInSlowPath2 = SlowRuntimeStub::Eq(thread, Str1.GetTaggedValue(), arg1Handle.GetTaggedValue()); in HWTEST_F_L0() 91 JSTaggedValue resInSlowPath3 = SlowRuntimeStub::Eq(thread, Str1.GetTaggedValue(), arg3Handle.GetTaggedValue()); in HWTEST_F_L0() 92 JSTaggedValue resInSlowPath4 = SlowRuntimeStub::Eq(thread, Str1.GetTaggedValue(), arg4Handle.GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | ic_invoke_test.cpp | 55 func.GetTaggedValue().GetTaggedObject()->GetClass()->SetClassConstructor(true);
in HWTEST_F_L0() 60 thread, static_cast<ProfileTypeInfo *>(*array), slotId, func.GetTaggedValue(), JSTaggedValue(123));
in HWTEST_F_L0() 62 ASSERT_EQ(array->Get(thread, slotId), func.GetTaggedValue());
in HWTEST_F_L0() 74 func0.GetTaggedValue().GetTaggedObject()->GetClass()->SetClassConstructor(true);
in HWTEST_F_L0() 75 array1->Set(thread, 0, func0.GetTaggedValue());
in HWTEST_F_L0() 78 func1.GetTaggedValue().GetTaggedObject()->GetClass()->SetClassConstructor(true);
in HWTEST_F_L0() 79 array1->Set(thread, 1, func1.GetTaggedValue());
in HWTEST_F_L0() 82 func2.GetTaggedValue().GetTaggedObject()->GetClass()->SetClassConstructor(true);
in HWTEST_F_L0() 83 array1->Set(thread, 2, func2.GetTaggedValue());
in HWTEST_F_L0() 89 thread, static_cast<ProfileTypeInfo *>(*array), slotId, 3, array1.GetTaggedValue(), array in HWTEST_F_L0() [all...] |
H A D | ic_runtime_stub_test.cpp | 77 handleTaggedArray->Set(thread, 0, handleBoxValue.GetTaggedValue()); in HWTEST_F_L0() 87 SlowRuntimeStub::StGlobalRecord(thread, propKey.GetTaggedValue(), handleValue.GetTaggedValue(), false); in HWTEST_F_L0() 90 globalValue.GetTaggedValue(), propKey.GetTaggedValue(), 1, true); in HWTEST_F_L0() 108 handleTaggedArray->Set(thread, 0, handleBoxValue.GetTaggedValue()); in HWTEST_F_L0() 119 SlowRuntimeStub::StGlobalRecord(thread, propKey.GetTaggedValue(), handleBoxValue.GetTaggedValue(), false); in HWTEST_F_L0() 121 ICRuntimeStub::StoreGlobalICByName(thread, *handleProfileTypeInfo, globalValue.GetTaggedValue(), in HWTEST_F_L0() 122 propKey.GetTaggedValue(), handleValu in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | symbol_table_test.cpp | 66 JSTaggedValue symbolTableOther = symbolTableString.GetTaggedValue(); in HWTEST_F_L0() 74 JSTaggedValue symbolTableName3 = symbolTableString.GetTaggedValue(); in HWTEST_F_L0() 91 EXPECT_EQ(SymbolTable::Hash(jsObJect.GetTaggedValue()), JSSymbol::ComputeHash()); in HWTEST_F_L0() 96 EXPECT_EQ(SymbolTable::Hash(nameStringUtf8Obj1.GetTaggedValue()), 1026U); // 1026 = (1 << 5 - 1 + 2) << 5 - 2 + 3 in HWTEST_F_L0() 101 EXPECT_EQ(SymbolTable::Hash(nameStringUtf8Obj2.GetTaggedValue()), 106079U); in HWTEST_F_L0() 119 EXPECT_EQ(SymbolTable::Hash(nameStringUtf16Obj1.GetTaggedValue()), 1026U); // 1026 = (1 << 5 - 1 + 2) << 5 - 2 + 3 in HWTEST_F_L0() 124 EXPECT_EQ(SymbolTable::Hash(nameStringUtf16Obj2.GetTaggedValue()), 33U); // 33 = (0 << 5 - 0 + 1) << 5 - 1 + 2 in HWTEST_F_L0() 161 EXPECT_EQ(symbolTable->ContainsKey(symbolTableStringKey1.GetTaggedValue()), false); in HWTEST_F_L0() 164 EXPECT_EQ(symbolTable->ContainsKey(symbolTableStringKey1.GetTaggedValue()), false); in HWTEST_F_L0() 167 EXPECT_EQ(symbolTable->ContainsKey(symbolTableStringKey1.GetTaggedValue()), fals in HWTEST_F_L0() [all...] |
H A D | js_bigint_test.cpp | 44 EXPECT_EQ(BigInt::Compare(bigint1.GetTaggedValue(), bigint1.GetTaggedValue()), ComparisonResult::EQUAL); in HWTEST_F_L0() 45 EXPECT_EQ(BigInt::Compare(bigint3.GetTaggedValue(), bigint2.GetTaggedValue()), ComparisonResult::LESS); in HWTEST_F_L0() 46 EXPECT_EQ(BigInt::Compare(bigint1.GetTaggedValue(), bigint2.GetTaggedValue()), ComparisonResult::LESS); in HWTEST_F_L0() 47 EXPECT_EQ(BigInt::Compare(bigint2.GetTaggedValue(), bigint1.GetTaggedValue()), ComparisonResult::GREAT); in HWTEST_F_L0() 48 EXPECT_EQ(BigInt::Compare(bigint2.GetTaggedValue(), bigint3.GetTaggedValue()), ComparisonResul in HWTEST_F_L0() [all...] |
H A D | rb_tree_node_test.cpp | 46 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue());
in RBTreeNodeInit() 47 JSHandle<JSTaggedValue> value(thread, factory->NewFromStdString(iValue).GetTaggedValue());
in RBTreeNodeInit() 48 int hash = TaggedNode::Hash(thread, factory->NewFromStdString(iKey).GetTaggedValue());
in RBTreeNodeInit() 61 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue());
in RBTreeValueCheck() 62 JSHandle<JSTaggedValue> value(thread, factory->NewFromStdString(iValue).GetTaggedValue());
in RBTreeValueCheck() 63 int hash = TaggedNode::Hash(thread, key.GetTaggedValue());
in RBTreeValueCheck() 64 JSHandle<JSTaggedValue> rootNodeVa(thread, rootNode.GetTaggedValue());
in RBTreeValueCheck() 67 EXPECT_EQ(resValue, value.GetTaggedValue());
in RBTreeValueCheck() 77 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(k).GetTaggedValue());
in HWTEST_F_L0() 78 JSHandle<JSTaggedValue> value(thread, factory->NewFromStdString(v).GetTaggedValue());
in HWTEST_F_L0() [all...] |
H A D | js_api_tree_map_test.cpp | 64 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 65 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 78 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 79 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 83 EXPECT_EQ(gvalue, value.GetTaggedValue()); in HWTEST_F_L0() 102 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 103 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 110 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 118 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 119 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | js_finalization_registry_test.cpp | 52 ecmaRuntimeCallInfo->SetFunction(finaRegFunc.GetTaggedValue()); in CreateFinalizationRegistry() 54 ecmaRuntimeCallInfo->SetCallArg(0, callbackFunc.GetTaggedValue()); in CreateFinalizationRegistry() 88 JSHandle<JSFinalizationRegistry> finaRegObj(thread, constructor.GetTaggedValue()); in HWTEST_F_L0() 92 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0() 101 EXPECT_EQ(finRegLists.GetTaggedValue().GetRawData(), in HWTEST_F_L0() 102 JSHandle<JSTaggedValue>::Cast(finaRegObj).GetTaggedValue().GetRawData()); in HWTEST_F_L0() 103 EXPECT_EQ(expectNoUnregister.GetTaggedValue().GetRawData(), noUnregister.GetTaggedValue().GetRawData()); in HWTEST_F_L0() 122 JSHandle<JSFinalizationRegistry> finaRegObj(thread, constructor.GetTaggedValue()); in HWTEST_F_L0() 126 cellRecord->SetToWeakRefTarget(thread, target.GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | layout_info_test.cpp | 47 layoutInfoHandle->SetPropertyInit(thread, 0, key.GetTaggedValue(), defaultAttr); in HWTEST_F_L0() 48 EXPECT_EQ(layoutInfoHandle->GetKey(0), key.GetTaggedValue()); in HWTEST_F_L0() 63 layoutInfoHandle->SetPropertyInit(thread, 0, key1.GetTaggedValue(), defaultAttr); in HWTEST_F_L0() 64 layoutInfoHandle->SetPropertyInit(thread, 1, key2.GetTaggedValue(), defaultAttr); in HWTEST_F_L0() 67 EXPECT_EQ(layoutInfoHandle->GetSortedKey(0), key2.GetTaggedValue()); in HWTEST_F_L0() 87 layoutInfoHandle->AddKey(thread, i, elementsKey.GetTaggedValue(), defaultAttr); in HWTEST_F_L0() 91 result = layoutInfoHandle->FindElementWithCache(thread, nullptr, key1.GetTaggedValue(), propertiesNumber); in HWTEST_F_L0() 93 result = layoutInfoHandle->FindElementWithCache(thread, nullptr, key5.GetTaggedValue(), propertiesNumber); in HWTEST_F_L0() 101 newLayoutInfo->AddKey(thread, i, elementsKey.GetTaggedValue(), defaultAttr); in HWTEST_F_L0() 103 result = newLayoutInfo->FindElementWithCache(thread, nullptr, key4.GetTaggedValue(), newPropertiesLengt in HWTEST_F_L0() [all...] |
H A D | js_api_hashmap_test.cpp | 48 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in Update() 49 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in Update() 91 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() 92 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 95 JSTaggedValue gValue = hashMap->Get(thread, key.GetTaggedValue()); in HWTEST_F_L0() 96 EXPECT_EQ(gValue, value.GetTaggedValue()); in HWTEST_F_L0() 130 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() 131 [[maybe_unused]] JSTaggedValue rValue = JSAPIHashMap::Remove(thread, hashMap, key.GetTaggedValue()); in HWTEST_F_L0() 138 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() 139 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | tagged_hash_array_test.cpp | 57 int keyHash = TaggedNode::Hash(thread, hashKey.GetTaggedValue()); in HWTEST_F_L0() 62 EXPECT_EQ(linkedNode->GetKey(), hashKey.GetTaggedValue()); in HWTEST_F_L0() 63 EXPECT_EQ(linkedNode->GetValue(), hashKeyValue.GetTaggedValue()); in HWTEST_F_L0() 78 int keyHash = TaggedNode::Hash(thread, hashKey.GetTaggedValue()); in HWTEST_F_L0() 95 JSHandle<JSTaggedValue> treeKey(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HashCommon1() 96 JSHandle<JSTaggedValue> treeValue(thread, factory->NewFromStdString(iValue).GetTaggedValue()); in HashCommon1() 97 auto keyHash = TaggedNode::Hash(thread, treeKey.GetTaggedValue()); in HashCommon1() 101 taggedHashArray->Set(thread, hashArrayIndex, rootTreeWithValueNode.GetTaggedValue()); in HashCommon1() 112 JSHandle<JSTaggedValue> listKey(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HashCommon2() 113 JSHandle<JSTaggedValue> listValue(thread, factory->NewFromStdString(iValue).GetTaggedValue()); in HashCommon2() [all...] |
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_compare_op.cpp | 46 leftDouble = leftHandle.GetTaggedValue().GetNumber(); in EqualWithIC() 76 ret = EqualWithIC(thread, leftHandle.GetTaggedValue(), in EqualWithIC() 77 rightPrimitive.GetTaggedValue(), CompareOpType::NUMBER_NUMBER); in EqualWithIC() 79 ret = EqualWithIC(thread, leftHandle.GetTaggedValue(), in EqualWithIC() 80 rightPrimitive.GetTaggedValue(), CompareOpType::NUMBER_STRING); in EqualWithIC() 82 ret = EqualWithIC(thread, leftHandle.GetTaggedValue(), in EqualWithIC() 83 rightPrimitive.GetTaggedValue(), CompareOpType::NUMBER_BOOLEAN); in EqualWithIC() 104 if (rightHandle.GetTaggedValue().GetRawData() == JSTaggedValue::VALUE_TRUE) { in EqualWithIC() 122 ret = EqualWithIC(thread, leftHandle.GetTaggedValue(), in EqualWithIC() 123 rightPrimitive.GetTaggedValue(), CompareOpTyp in EqualWithIC() [all...] |
H A D | profile_type_info.cpp | 26 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, GetWeakRef(hclass.GetTaggedValue()), in AddElementHandler() 27 index + 1, handler.GetTaggedValue()); in AddElementHandler() 32 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, GetWeakRef(hclass.GetTaggedValue()), in AddElementHandler() 33 index + 1, handler.GetTaggedValue()); in AddElementHandler() 57 newArr->Set(thread_, i, GetWeakRef(hclass.GetTaggedValue())); in AddWithoutKeyPoly() 58 newArr->Set(thread_, i + 1, handler.GetTaggedValue()); in AddWithoutKeyPoly() 59 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, newArr.GetTaggedValue(), index + 1, JSTaggedValue::Hole()); in AddWithoutKeyPoly() 67 profileTypeInfo_->SetIcSlot(thread_, index, handler.GetTaggedValue()); in AddHandlerWithoutKey() 73 profileTypeInfo_->SetMultiIcSlotLocked(thread_, index, GetWeakRef(hclass.GetTaggedValue()), in AddHandlerWithoutKey() 74 index + 1, handler.GetTaggedValue()); in AddHandlerWithoutKey() [all...] |
/arkcompiler/ets_runtime/ecmascript/require/ |
H A D | js_require_manager.cpp | 33 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), exportsKey.GetTaggedValue(), in InitializeCommonJS() 34 exports.GetTaggedValue()); in InitializeCommonJS() 40 SlowRuntimeStub::StObjByName(thread, require.GetTaggedValue(), parentKey.GetTaggedValue(), in InitializeCommonJS() 41 module.GetTaggedValue()); in InitializeCommonJS() 46 SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in InitializeCommonJS() 47 cacheKey.GetTaggedValue(), false, JSTaggedValue::Undefined()); in InitializeCommonJS() 51 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheKey.GetTaggedValue(), in InitializeCommonJS() [all...] |
H A D | js_cjs_module.cpp | 32 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), dirKey.GetTaggedValue(), in InitializeModule() 33 dirname.GetTaggedValue()); in InitializeModule() 35 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), filenameKey.GetTaggedValue(), in InitializeModule() 36 filename.GetTaggedValue()); in InitializeModule() 37 module->SetFilename(thread, filename.GetTaggedValue()); in InitializeModule() 38 module->SetPath(thread, dirname.GetTaggedValue()); in InitializeModule() 49 JSTaggedValue modCache = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in SearchFromModuleCache() 50 cacheName.GetTaggedValue(), in SearchFromModuleCache() [all...] |
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_treemap_test.cpp | 128 objCallInfo->SetThis(value.GetTaggedValue()); in InitializeTreeMapConstructor() 142 objCallInfo->SetFunction(newTarget.GetTaggedValue()); in CreateJSAPITreeMap() 143 objCallInfo->SetNewTarget(newTarget.GetTaggedValue()); in CreateJSAPITreeMap() 145 objCallInfo->SetCallArg(0, compareHandle.GetTaggedValue()); in CreateJSAPITreeMap() 163 objCallInfo->SetFunction(newTarget.GetTaggedValue()); in HWTEST_F_L0() 164 objCallInfo->SetNewTarget(newTarget.GetTaggedValue()); in HWTEST_F_L0() 195 callInfo->SetThis(tmap.GetTaggedValue()); in HWTEST_F_L0() 215 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 216 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 220 callInfo->SetThis(tmap.GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | containers_hashmap_test.cpp | 91 objCallInfo->SetThis(value.GetTaggedValue()); in InitializeHashMapConstructor() 104 objCallInfo->SetFunction(newTarget.GetTaggedValue()); in CreateJSAPIHashMap() 105 objCallInfo->SetNewTarget(newTarget.GetTaggedValue()); in CreateJSAPIHashMap() 123 objCallInfo->SetFunction(newTarget.GetTaggedValue()); in HWTEST_F_L0() 124 objCallInfo->SetNewTarget(newTarget.GetTaggedValue()); in HWTEST_F_L0() 152 callInfo->SetThis(tMap.GetTaggedValue()); in HWTEST_F_L0() 166 callInfo->SetThis(tMap.GetTaggedValue()); in HWTEST_F_L0() 184 callInfo->SetThis(tMap.GetTaggedValue()); in HWTEST_F_L0() 200 callInfo->SetThis(tMap.GetTaggedValue()); in HWTEST_F_L0() 212 callInfo->SetThis(tMap.GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | containers_treeset_test.cpp | 67 EXPECT_EQ(key.GetTaggedValue(), value.GetTaggedValue()); in TestForEachFunc() 125 objCallInfo->SetThis(value.GetTaggedValue()); in InitializeTreeSetConstructor() 139 objCallInfo->SetFunction(newTarget.GetTaggedValue()); in CreateJSAPITreeSet() 140 objCallInfo->SetNewTarget(newTarget.GetTaggedValue()); in CreateJSAPITreeSet() 142 objCallInfo->SetCallArg(0, compareHandle.GetTaggedValue()); in CreateJSAPITreeSet() 160 objCallInfo->SetFunction(newTarget.GetTaggedValue()); in HWTEST_F_L0() 161 objCallInfo->SetNewTarget(newTarget.GetTaggedValue()); in HWTEST_F_L0() 191 callInfo->SetThis(tset.GetTaggedValue()); in HWTEST_F_L0() 208 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_string_test.cpp | 47 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, regexp.GetTaggedValue(), 8); in CreateBuiltinsStringRegExpObjByPatternAndFlags() 48 ecmaRuntimeCallInfo->SetFunction(regexp.GetTaggedValue()); in CreateBuiltinsStringRegExpObjByPatternAndFlags() 49 ecmaRuntimeCallInfo->SetThis(globalObject.GetTaggedValue()); in CreateBuiltinsStringRegExpObjByPatternAndFlags() 50 ecmaRuntimeCallInfo->SetCallArg(0, pattern.GetTaggedValue()); in CreateBuiltinsStringRegExpObjByPatternAndFlags() 51 ecmaRuntimeCallInfo->SetCallArg(1, flags.GetTaggedValue()); in CreateBuiltinsStringRegExpObjByPatternAndFlags() 153 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, string.GetTaggedValue(), 6); in HWTEST_F_L0() 154 ecmaRuntimeCallInfo->SetFunction(string.GetTaggedValue()); in HWTEST_F_L0() 155 ecmaRuntimeCallInfo->SetThis(globalObject.GetTaggedValue()); in HWTEST_F_L0() 156 ecmaRuntimeCallInfo->SetCallArg(0, string2.GetTaggedValue()); in HWTEST_F_L0() 210 auto result = StringAlgorithm(thread, thisVal.GetTaggedValue(), arg in HWTEST_F_L0() [all...] |
H A D | builtins_set_test.cpp | 46 JSTaggedValue key = GetCallArg(argv, 0).GetTaggedValue(); in TestFunc() 64 ecmaRuntimeCallInfo->SetFunction(newTarget.GetTaggedValue()); in CreateBuiltinsSet() 115 ecmaRuntimeCallInfo->SetThis(set.GetTaggedValue()); in HWTEST_F_L0() 132 ecmaRuntimeCallInfo1->SetFunction(newTarget.GetTaggedValue()); in HWTEST_F_L0() 133 ecmaRuntimeCallInfo1->SetThis(set.GetTaggedValue()); in HWTEST_F_L0() 134 ecmaRuntimeCallInfo1->SetCallArg(0, values.GetTaggedValue()); in HWTEST_F_L0() 135 ecmaRuntimeCallInfo1->SetNewTarget(newTarget.GetTaggedValue()); in HWTEST_F_L0() 150 JSHandle<JSTaggedValue> key(thread, factory->NewFromASCII("key").GetTaggedValue()); in HWTEST_F_L0() 154 ecmaRuntimeCallInfo->SetThis(set.GetTaggedValue()); in HWTEST_F_L0() 155 ecmaRuntimeCallInfo->SetCallArg(0, key.GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | builtins_weak_ref_test.cpp | 52 ecmaRuntimeCallInfo->SetFunction(weakRef.GetTaggedValue()); in CreateWeakRefConstructor() 53 ecmaRuntimeCallInfo->SetThis(globalObject.GetTaggedValue()); in CreateWeakRefConstructor() 74 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, weakRef.GetTaggedValue(), 6); in HWTEST_F_L0() 75 ecmaRuntimeCallInfo->SetFunction(weakRef.GetTaggedValue()); in HWTEST_F_L0() 76 ecmaRuntimeCallInfo->SetThis(globalObject.GetTaggedValue()); in HWTEST_F_L0() 77 ecmaRuntimeCallInfo->SetCallArg(0, target.GetTaggedValue()); in HWTEST_F_L0() 93 JSTaggedValue result = CreateWeakRefConstructor(thread, target.GetTaggedValue()); in HWTEST_F_L0() 97 ecmaRuntimeCallInfo->SetThis(jsWeakRef.GetTaggedValue()); in HWTEST_F_L0() 102 ASSERT_EQ(result1, target.GetTaggedValue()); in HWTEST_F_L0() 118 JSTaggedValue result = CreateWeakRefConstructor(thread, target.GetTaggedValue()); in HWTEST_F_L0() [all...] |
H A D | builtins_shared_set_test.cpp | 46 JSTaggedValue key = GetCallArg(argv, 0).GetTaggedValue();
in TestFunc() 64 ecmaRuntimeCallInfo->SetFunction(newTarget.GetTaggedValue());
in CreateBuiltinsSharedSet() 84 return JSSet::Cast(set.GetTaggedValue().GetTaggedObject());
in CreateJSSet() 154 ecmaRuntimeCallInfo->SetThis(set.GetTaggedValue());
in HWTEST_F_L0() 171 ecmaRuntimeCallInfo1->SetFunction(newTarget.GetTaggedValue());
in HWTEST_F_L0() 172 ecmaRuntimeCallInfo1->SetThis(set.GetTaggedValue());
in HWTEST_F_L0() 173 ecmaRuntimeCallInfo1->SetCallArg(0, values.GetTaggedValue());
in HWTEST_F_L0() 174 ecmaRuntimeCallInfo1->SetNewTarget(newTarget.GetTaggedValue());
in HWTEST_F_L0() 189 JSHandle<JSTaggedValue> key(thread, factory->NewFromASCII("key").GetTaggedValue());
in HWTEST_F_L0() 193 ecmaRuntimeCallInfo->SetThis(set.GetTaggedValue());
in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_set.cpp | 53 return set.GetTaggedValue(); in SetConstructor() 60 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, adder.GetTaggedValue()); in SetConstructor() 63 THROW_TYPE_ERROR_AND_RETURN(thread, "adder is not callable", adder.GetTaggedValue()); in SetConstructor() 68 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, iter.GetTaggedValue()); in SetConstructor() 73 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, next.GetTaggedValue()); in SetConstructor() 78 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, nextValue.GetTaggedValue()); in SetConstructor() 81 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, nextValue.GetTaggedValue()); in SetConstructor() 82 info->SetCallArg(nextValue.GetTaggedValue()); in SetConstructor() 85 info->SetCallArg(prop.GetTaggedValue()); in SetConstructor() 95 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, next.GetTaggedValue()); in SetConstructor() [all...] |
/arkcompiler/ets_runtime/ecmascript/require/tests/ |
H A D | js_cjs_module_test.cpp | 78 SlowRuntimeStub::StObjByName(thread, module1.GetTaggedValue(), exportsName.GetTaggedValue(), in HWTEST_F_L0() 79 exports.GetTaggedValue()); in HWTEST_F_L0() 80 SlowRuntimeStub::StObjByName(thread, module2.GetTaggedValue(), exportsName.GetTaggedValue(), in HWTEST_F_L0() 81 exports.GetTaggedValue()); in HWTEST_F_L0() 87 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheName.GetTaggedValue(), in HWTEST_F_L0() 88 cache.GetTaggedValue()); in HWTEST_F_L0() 116 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), exportsNam in HWTEST_F_L0() [all...] |