Home
last modified time | relevance | path

Searched refs:handleKey (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_operator_test.cpp142 JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(1)); in HWTEST_F_L0() local
145 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0()
157 JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(1)); in HWTEST_F_L0() local
158 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0()
172 JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(1)); in HWTEST_F_L0() local
173 ObjectOperator objectOperator(thread, handleHolder, handleKey); in HWTEST_F_L0()
226 JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(1)); in HWTEST_F_L0() local
227 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0()
259 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("property")); in HWTEST_F_L0() local
277 ObjectOperator objectOperator(thread, handleHolder, handleKey); in HWTEST_F_L0()
[all …]
Dglobal_dictionary_test.cpp328 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII(nameKey[i])); in HWTEST_F_L0() local
338 handleDict->SetEntry(thread, i, handleKey.GetTaggedValue(), in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_handler_test.cpp82 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local
87 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0()
93 ObjectOperator handleOp2(thread, handleHolder, handleKey); in HWTEST_F_L0()
149 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local
154 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
155 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0()
162 ObjectOperator handleOp2(thread, handleReceiver, handleKey); in HWTEST_F_L0()
189 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local
191 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
194 ObjectOperator handleOp(thread, handleHolder, handleKey); in HWTEST_F_L0()
[all …]
Dproperties_cache_test.cpp99 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("10")); in HWTEST_F_L0() local
104 handleProCache->Set(FuncHClass, handleKey.GetTaggedValue(), 10); in HWTEST_F_L0()
105 EXPECT_EQ(handleProCache->Get(FuncHClass, handleKey.GetTaggedValue()), 10); in HWTEST_F_L0()
107 …EXPECT_EQ(handleProCache->Get(FuncHClass, handleKey.GetTaggedValue()), -1); // PropertiesCache::NO… in HWTEST_F_L0()
Dic_runtime_stub_test.cpp162 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local
172 handleKey.GetTaggedValue(), handleStoreVal.GetTaggedValue(), 0); in HWTEST_F_L0()
175 handleKey.GetTaggedValue(), 0); in HWTEST_F_L0()
187 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local
195 handleKey.GetTaggedValue(), handleStoreVal.GetTaggedValue(), 0); in HWTEST_F_L0()
198 handleKey.GetTaggedValue(), 0); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp184 JSHandle<JSTaggedValue> handleKey(nameResult); in HWTEST_F_L0() local
186 …JSHandle<JSTaggedValue> lenResult = JSObject::GetProperty(thread, handleKey, lengthKey).GetValue(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_object.cpp174 JSMutableHandle<JSTaggedValue> handleKey(thread, JSTaggedValue::Undefined()); in ObjectDefineProperties() local
177 handleKey.Update(handleKeys->Get(i)); in ObjectDefineProperties()
179 …= JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(props), handleKey, propDesc); in ObjectDefineProperties()
185 … JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(props), handleKey).GetValue(); in ObjectDefineProperties()
200 …aybe_unused]] bool setSuccess = JSTaggedValue::DefinePropertyOrThrow(thread, obj, handleKey, desc); in ObjectDefineProperties()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_hash_array.cpp48 JSHandle<JSTaggedValue> handleKey(thread, key); in GetNode() local
49 return RBTreeNode::GetTreeNode(thread, node, hash, handleKey); in GetNode()
Djs_object.cpp1475 JSMutableHandle<JSTaggedValue> handleKey(thread, key); in SetIntegrityLevel() local
1478 handleKey.Update(taggedKey); in SetIntegrityLevel()
1480 … JSTaggedValue::DefinePropertyOrThrow(thread, JSHandle<JSTaggedValue>(obj), handleKey, descNoConf); in SetIntegrityLevel()
1489 JSMutableHandle<JSTaggedValue> handleKey(thread, key); in SetIntegrityLevel() local
1492 handleKey.Update(taggedKey); in SetIntegrityLevel()
1495 … JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>(obj), handleKey, currentDesc); in SetIntegrityLevel()
1500 … JSTaggedValue::DefinePropertyOrThrow(thread, JSHandle<JSTaggedValue>(obj), handleKey, desc); in SetIntegrityLevel()
1529 JSMutableHandle<JSTaggedValue> handleKey(thread, key); in TestIntegrityLevel() local
1532 handleKey.Update(taggedKey); in TestIntegrityLevel()
1535 … JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>(obj), handleKey, currentDesc); in TestIntegrityLevel()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_json_test.cpp231 JSHandle<JSTaggedValue> handleKey(nameResult); in HWTEST_F_L0() local
233 …JSHandle<JSTaggedValue> lenResult = JSObject::GetProperty(thread, handleKey, lengthKey).GetValue(); in HWTEST_F_L0()