/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_vtable_builder.cpp | 30 auto *desc2 = info2.GetClassName(); in IsInSamePackage() local 36 while (ClassHelper::IsArrayDescriptor(desc2)) { in IsInSamePackage() 37 desc2 = ClassHelper::GetComponentDescriptor(desc2); in IsInSamePackage() 41 Span sp2(desc2, 1); in IsInSamePackage()
|
/arkcompiler/ets_runtime/test/moduletest/object/ |
H A D | object.js | 212 let desc2 = Object.getOwnPropertyDescriptors(obj2); 219 print(JSON.stringify(desc2.abc));
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_shared_array_test.cpp | 116 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(6)), true, true, true); in HWTEST_F_L0() 118 ASSERT_FALSE(JSSharedArray::ArraySetLength(thread, obj, desc2)); in HWTEST_F_L0() 153 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), false, true, true); in HWTEST_F_L0() 155 ASSERT_FALSE(JSSharedArray::ArraySetLength(thread, obj, desc2)); in HWTEST_F_L0()
|
H A D | js_proxy_test.cpp | 150 PropertyDescriptor desc2(thread); in HWTEST_F_L0() 151 EXPECT_FALSE(JSProxy::GetOwnProperty(thread, proxyHandle2, key2, desc2)); in HWTEST_F_L0() 237 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(10))); in HWTEST_F_L0() 238 EXPECT_FALSE(JSProxy::DefineOwnProperty(thread, proxyHandle, key, desc2)); in HWTEST_F_L0() 276 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), true, true, true); in HWTEST_F_L0() 277 EXPECT_TRUE(JSProxy::DefineOwnProperty(thread, proxyHandle2, key, desc2)); in HWTEST_F_L0()
|
H A D | js_object_test.cpp | 293 PropertyDescriptor desc2(thread, false, true, true); in HWTEST_F_L0() 294 success = JSTaggedValue::DefinePropertyOrThrow(thread, JSHandle<JSTaggedValue>(obj), key, desc2); in HWTEST_F_L0() 627 PropertyDescriptor desc2(thread); in HWTEST_F_L0() 628 desc2.SetValue(JSHandle<JSTaggedValue>(thread, JSTaggedValue(1))); in HWTEST_F_L0() 629 success1 = JSObject::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0() 665 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), true, true, true); in HWTEST_F_L0() 666 success1 = JSObject::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0() 749 PropertyDescriptor desc2(thread); in HWTEST_F_L0() 750 desc2.SetGetter(unGetter); in HWTEST_F_L0() 751 bool success2 = JSObject::DefineOwnProperty(thread, obj, key, desc2); in HWTEST_F_L0() [all...] |
H A D | locale_helper_test.cpp | 88 PropertyDescriptor desc2(thread, localeStr2, true, true, true); in HWTEST_F_L0() 90 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(localeObj), key2, desc2); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_collator_test.cpp | 191 PropertyDescriptor desc2(thread, value2, true, true, true); in HWTEST_F_L0() 192 JSArray::DefineOwnProperty(thread, jsObject, key2, desc2); in HWTEST_F_L0() 229 PropertyDescriptor desc2(thread, value2, true, true, true); in HWTEST_F_L0() 230 JSArray::DefineOwnProperty(thread, jsObject, key2, desc2); in HWTEST_F_L0()
|
H A D | builtins_array_test.cpp | 981 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(3)), true, true, true); in HWTEST_F_L0() 982 JSArray::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0() 1034 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(3)), true, true, true); in HWTEST_F_L0() 1035 JSArray::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0() 1382 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(3)), true, true, true); in HWTEST_F_L0() 1383 JSArray::DefineOwnProperty(thread, obj2, key1, desc2); in HWTEST_F_L0()
|
H A D | builtins_shared_array_test.cpp | 779 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(3)), true, true, true); in HWTEST_F_L0() 780 JSSharedArray::DefineOwnProperty(thread, obj, key2, desc2, SCheckMode::SKIP); in HWTEST_F_L0() 810 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(3)), true, true, true); in HWTEST_F_L0() 811 JSSharedArray::DefineOwnProperty(thread, obj, key2, desc2, SCheckMode::SKIP); in HWTEST_F_L0()
|
H A D | builtins_string_test.cpp | 907 PropertyDescriptor desc2(thread, baz); in HWTEST_F_L0() 908 JSArray::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_first_tests.cpp | 1337 PropertyDescriptor desc2 = PropertyDescriptor(thread_, defaultString); in HWTEST_F_L0() local 1338 JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(noProtoFunc), addString, desc2); in HWTEST_F_L0()
|