/arkcompiler/ets_runtime/ecmascript/tests/ |
D | object_operator_first_test.cpp | 142 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() 260 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("property")); in HWTEST_F_L0() local 278 ObjectOperator objectOperator(thread, handleHolder, handleKey); in HWTEST_F_L0() [all …]
|
D | object_operator_second_test.cpp | 78 JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(1)); in HWTEST_F_L0() local 81 ObjectOperator objectOperator1(thread, handleKey, type); in HWTEST_F_L0() 86 ObjectOperator objectOperator2(thread, handleKey, type); in HWTEST_F_L0() 97 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 100 ObjectOperator objectOperator1(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 103 ObjectOperator objectOperator2(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 114 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 117 ObjectOperator objectOperator1(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 120 ObjectOperator objectOperator2(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 186 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local [all …]
|
D | object_operator_third_test.cpp | 80 JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(2)); in HWTEST_F_L0() local 84 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0() 112 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 124 ObjectOperator objectOperator(thread, handleGlobalObject, handleKey); in HWTEST_F_L0() 130 thread, globalDict, handleKey, JSHandle<JSTaggedValue>(cellHandle1), PropertyAttributes(4)); in HWTEST_F_L0() 134 int resultEntry = handleProperties->FindEntry(handleKey.GetTaggedValue()); in HWTEST_F_L0() 150 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 161 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObject), handleKey, handleValue); in HWTEST_F_L0() 162 ObjectOperator objectOperator1(thread, handleKey); in HWTEST_F_L0() 167 int resultEntry = resultDict->FindEntry(handleKey.GetTaggedValue()); in HWTEST_F_L0() [all …]
|
D | global_dictionary_test.cpp | 328 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/ |
D | ic_handler_test.cpp | 65 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 66 ObjectOperator handleOp(thread, handleKey); in HWTEST_F_L0() 85 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 90 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0() 96 ObjectOperator handleOp2(thread, handleHolder, handleKey); in HWTEST_F_L0() 152 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local 157 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0() 158 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0() 165 ObjectOperator handleOp2(thread, handleReceiver, handleKey); in HWTEST_F_L0() 192 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII("key")); in HWTEST_F_L0() local [all …]
|
D | properties_cache_test.cpp | 99 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()
|
D | ic_runtime_stub_test.cpp | 162 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/ |
D | json_parser_test.cpp | 184 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/ |
D | builtins_object.cpp | 211 JSHandle<JSTaggedValue> handleKey(thread, handleKeys->Get(i)); in ObjectDefineProperties() local 213 …= JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(props), handleKey, propDesc); in ObjectDefineProperties() 219 … JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(props), handleKey).GetValue(); in ObjectDefineProperties() 227 desc.SetKey(handleKey); in ObjectDefineProperties() 427 JSMutableHandle<JSTaggedValue> handleKey(thread, JSTaggedValue::Undefined()); in GetOwnPropertyDescriptors() local 429 handleKey.Update(ownKeys->Get(i)); in GetOwnPropertyDescriptors() 431 … JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>::Cast(handle), handleKey, desc); in GetOwnPropertyDescriptors() 435 JSObject::CreateDataPropertyOrThrow(thread, descriptors, handleKey, descriptor); in GetOwnPropertyDescriptors()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 1366 JSHandle<JSTaggedValue> handleKey(thread, key); in RuntimeLdPrivateProperty() 1367 if (handleKey->IsJSFunction()) { // getter in RuntimeLdPrivateProperty() 1370 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, handleKey, handleObj, unde… in RuntimeLdPrivateProperty() 1377 if (!JSTaggedValue::IsPropertyKey(handleKey) || in RuntimeLdPrivateProperty() 1378 !JSTaggedValue::GetOwnProperty(thread, handleObj, handleKey, desc)) { in RuntimeLdPrivateProperty() 1397 JSHandle<JSTaggedValue> handleKey(thread, key); in RuntimeStPrivateProperty() 1399 if (handleKey->IsJSFunction()) { // setter in RuntimeStPrivateProperty() 1402 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, handleKey, handleObj, unde… in RuntimeStPrivateProperty() 1410 if (!JSTaggedValue::IsPropertyKey(handleKey) || in RuntimeStPrivateProperty() 1411 !JSTaggedValue::GetOwnProperty(thread, handleObj, handleKey, desc)) { in RuntimeStPrivateProperty() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_hash_array.cpp | 49 JSHandle<JSTaggedValue> handleKey(thread, key); in GetNode() local 50 return RBTreeNode::GetTreeNode(thread, node, hash, handleKey); in GetNode()
|
D | js_object.cpp | 1733 JSMutableHandle<JSTaggedValue> handleKey(thread, key); in SetIntegrityLevel() local 1736 handleKey.Update(taggedKey); in SetIntegrityLevel() 1738 … JSTaggedValue::DefinePropertyOrThrow(thread, JSHandle<JSTaggedValue>(obj), handleKey, descNoConf); in SetIntegrityLevel() 1747 JSMutableHandle<JSTaggedValue> handleKey(thread, key); in SetIntegrityLevel() local 1750 handleKey.Update(taggedKey); in SetIntegrityLevel() 1753 … JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>(obj), handleKey, currentDesc); in SetIntegrityLevel() 1758 … JSTaggedValue::DefinePropertyOrThrow(thread, JSHandle<JSTaggedValue>(obj), handleKey, desc); in SetIntegrityLevel() 1787 JSMutableHandle<JSTaggedValue> handleKey(thread, key); in TestIntegrityLevel() local 1790 handleKey.Update(taggedKey); in TestIntegrityLevel() 1793 … JSTaggedValue::GetOwnProperty(thread, JSHandle<JSTaggedValue>(obj), handleKey, currentDesc); in TestIntegrityLevel()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_json_test.cpp | 231 JSHandle<JSTaggedValue> handleKey(nameResult); in HWTEST_F_L0() local 233 …JSHandle<JSTaggedValue> lenResult = JSObject::GetProperty(thread, handleKey, lengthKey).GetValue(); in HWTEST_F_L0()
|