Home
last modified time | relevance | path

Searched refs:desc2 (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_vtable_builder.cpp30 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 Dobject.js212 let desc2 = Object.getOwnPropertyDescriptors(obj2);
219 print(JSON.stringify(desc2.abc));
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_shared_array_test.cpp116 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 Djs_proxy_test.cpp150 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 Djs_object_test.cpp293 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 Dlocale_helper_test.cpp88 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 Dbuiltins_collator_test.cpp191 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 Dbuiltins_array_test.cpp981 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 Dbuiltins_shared_array_test.cpp779 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 Dbuiltins_string_test.cpp907 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 Djsnapi_first_tests.cpp1337 PropertyDescriptor desc2 = PropertyDescriptor(thread_, defaultString); in HWTEST_F_L0() local
1338 JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(noProtoFunc), addString, desc2); in HWTEST_F_L0()

Completed in 18 milliseconds