/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_array_test.cpp | 136 JSArray::DefineOwnProperty(thread, obj, key, desc); in TestFlatMapFunc() 273 JSArray::DefineOwnProperty(thread, obj, key0, desc0); in HWTEST_F_L0() 276 JSArray::DefineOwnProperty(thread, obj, key1, desc1); in HWTEST_F_L0() 279 JSArray::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0() 282 JSArray::DefineOwnProperty(thread, obj, key3, desc3); in HWTEST_F_L0() 285 JSArray::DefineOwnProperty(thread, obj, key4, desc4); in HWTEST_F_L0() 399 JSArray::DefineOwnProperty(thread, obj, key0, desc0); in HWTEST_F_L0() 402 JSArray::DefineOwnProperty(thread, obj, key1, desc1); in HWTEST_F_L0() 405 JSArray::DefineOwnProperty(thread, obj, key2, desc2); in HWTEST_F_L0() 412 JSArray::DefineOwnProperty(thread, obj1, key4, desc4); in HWTEST_F_L0() [all …]
|
D | builtins_list_format_test.cpp | 151 JSArray::DefineOwnProperty(thread, value, key0, desc0); in HWTEST_F_L0() 154 JSArray::DefineOwnProperty(thread, value, key1, desc1); in HWTEST_F_L0() 157 JSArray::DefineOwnProperty(thread, value, key2, desc2); in HWTEST_F_L0() 189 JSArray::DefineOwnProperty(thread, value, key0, desc0); in HWTEST_F_L0() 192 JSArray::DefineOwnProperty(thread, value, key1, desc1); in HWTEST_F_L0() 195 JSArray::DefineOwnProperty(thread, value, key2, desc2); in HWTEST_F_L0() 225 JSArray::DefineOwnProperty(thread, value, key0, desc0); in HWTEST_F_L0() 257 JSArray::DefineOwnProperty(thread, value, key0, desc0); in HWTEST_F_L0() 260 JSArray::DefineOwnProperty(thread, value, key1, desc1); in HWTEST_F_L0() 263 JSArray::DefineOwnProperty(thread, value, key2, desc2); in HWTEST_F_L0() [all …]
|
D | builtins_collator_test.cpp | 181 JSArray::DefineOwnProperty(thread, jsObject, key0, desc0); in HWTEST_F_L0() 185 JSArray::DefineOwnProperty(thread, jsObject, key1, desc1); in HWTEST_F_L0() 189 JSArray::DefineOwnProperty(thread, jsObject, key2, desc2); in HWTEST_F_L0() 230 JSArray::DefineOwnProperty(thread, jsObject, key0, desc0); in HWTEST_F_L0() 234 JSArray::DefineOwnProperty(thread, jsObject, key1, desc1); in HWTEST_F_L0() 238 JSArray::DefineOwnProperty(thread, jsObject, key2, desc2); in HWTEST_F_L0() 287 JSArray::DefineOwnProperty(thread, jsObject, joinKey, desc); in HWTEST_F_L0()
|
D | builtins_promise_test.cpp | 325 …JSArray::DefineOwnProperty(thread, array, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), desc); in HWTEST_F_L0() 328 …JSArray::DefineOwnProperty(thread, array, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), desc1… in HWTEST_F_L0() 396 …JSArray::DefineOwnProperty(thread, array, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), desc); in HWTEST_F_L0() 399 …JSArray::DefineOwnProperty(thread, array, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), desc1… in HWTEST_F_L0() 494 …JSArray::DefineOwnProperty(thread, array, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), desc); in HWTEST_F_L0() 497 …JSArray::DefineOwnProperty(thread, array, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), desc1… in HWTEST_F_L0()
|
D | builtins_intl_test.cpp | 106 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(obj), key, desc); in HWTEST_F_L0()
|
D | builtins_proxy_test.cpp | 102 JSObject::DefineOwnProperty(thread, handler, key, desc); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | template_string.cpp | 50 JSArray::DefineOwnProperty(thread, templateObj, i, descCooked); in GetTemplateObject() 53 JSArray::DefineOwnProperty(thread, rawObj, i, descRaw); in GetTemplateObject() 59 JSArray::DefineOwnProperty(thread, templateObj, raw, desc); in GetTemplateObject()
|
D | js_array.h | 41 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<JS… 43 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index,
|
D | js_arguments.h | 39 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSArguments> &args,
|
D | js_arguments.cpp | 44 bool JSArguments::DefineOwnProperty(JSThread *thread, const JSHandle<JSArguments> &args, in DefineOwnProperty() function in panda::ecmascript::JSArguments
|
D | js_proxy.h | 43 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JST…
|
D | js_relative_time_format.cpp | 501 JSObject::DefineOwnProperty(thread, options, property, localeDesc); in ResolvedOptions() 515 JSObject::DefineOwnProperty(thread, options, property, styleDesc); in ResolvedOptions() 529 JSObject::DefineOwnProperty(thread, options, property, numericDesc); in ResolvedOptions() 535 JSObject::DefineOwnProperty(thread, options, property, numberingSystemDesc); in ResolvedOptions()
|
D | js_array.cpp | 292 success = JSObject::DefineOwnProperty(thread, array, lengthKeyHandle, readonly); in ArraySetLength() 307 bool JSArray::DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<J… in DefineOwnProperty() function in panda::ecmascript::JSArray 331 bool JSArray::DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index, in DefineOwnProperty() function in panda::ecmascript::JSArray
|
D | js_tagged_value.cpp | 750 bool success = DefineOwnProperty(thread, obj, key, desc); in DefinePropertyOrThrow() 759 bool JSTaggedValue::DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in DefineOwnProperty() function in panda::ecmascript::JSTaggedValue 763 return JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(obj), key, desc); in DefineOwnProperty() 767 return JSProxy::DefineOwnProperty(thread, JSHandle<JSProxy>(obj), key, desc); in DefineOwnProperty() 771 return JSTypedArray::DefineOwnProperty(thread, obj, key, desc); in DefineOwnProperty() 775 return ModuleNamespace::DefineOwnProperty(thread, obj, key, desc); in DefineOwnProperty() 782 return JSObject::DefineOwnProperty(thread, JSHandle<JSObject>(obj), key, desc); in DefineOwnProperty()
|
D | js_typed_array.h | 51 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | template_string_test.cpp | 82 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(jsArrayObj), arrayObjKey, propertyDesc); in HWTEST_F_L0() 87 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(jsArrayObj), arrayObjKey1, propertyDesc1); in HWTEST_F_L0() 92 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(jsArrayObj), arrayObjKey2, propertyDesc2); in HWTEST_F_L0()
|
D | js_array_test.cpp | 86 HWTEST_F_L0(JSArrayTest, DefineOwnProperty) in HWTEST_F_L0() argument 101 EXPECT_TRUE(JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(obj), key1, desc)); in HWTEST_F_L0() 113 EXPECT_TRUE(JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(obj), key100, desc)); in HWTEST_F_L0() 122 EXPECT_TRUE(JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(obj), keyx, desc)); in HWTEST_F_L0()
|
D | js_proxy_test.cpp | 225 HWTEST_F_L0(JSProxyTest, DefineOwnProperty) in HWTEST_F_L0() argument 243 EXPECT_TRUE(JSProxy::DefineOwnProperty(thread, proxyHandle, key, desc)); in HWTEST_F_L0() 257 EXPECT_FALSE(JSProxy::DefineOwnProperty(thread, proxyHandle, key, desc2)); in HWTEST_F_L0() 285 EXPECT_TRUE(JSProxy::DefineOwnProperty(thread, proxyHandle, key, desc)); in HWTEST_F_L0() 303 EXPECT_TRUE(JSProxy::DefineOwnProperty(thread, proxyHandle2, key, desc2)); in HWTEST_F_L0() 473 JSObject::DefineOwnProperty(thread, JSHandle<JSObject>::Cast(targetHandle), key, desc); in HWTEST_F_L0() 514 JSObject::DefineOwnProperty(thread, JSHandle<JSObject>::Cast(targetHandle), key, desc); in HWTEST_F_L0() 594 JSObject::DefineOwnProperty(argv->GetThread(), JSHandle<JSObject>::Cast(obj), key, desc); in HandlerConstruct() 606 JSObject::DefineOwnProperty(argv->GetThread(), JSHandle<JSObject>::Cast(obj), key, desc); in HandlerConFunc()
|
D | js_arguments_test.cpp | 124 HWTEST_F_L0(JsArgumentsTest, DefineOwnProperty) in HWTEST_F_L0() argument 142 EXPECT_TRUE(JSArguments::DefineOwnProperty(thread, JSHandle<JSArguments>(jsarg), key, Desc)); in HWTEST_F_L0()
|
D | locale_helper_test.cpp | 118 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(localeObj), key1, desc1); in HWTEST_F_L0() 123 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(localeObj), key2, desc2); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | error_helper.cpp | 166 …[[maybe_unused]] bool status = JSObject::DefineOwnProperty(thread, nativeInstanceObj, msgKey, msgD… in ErrorCommonConstructor() 182 …[[maybe_unused]] bool status = JSObject::DefineOwnProperty(thread, nativeInstanceObj, causeKey, ca… in ErrorCommonConstructor() 190 [[maybe_unused]] bool status = JSObject::DefineOwnProperty(thread, in ErrorCommonConstructor() 199 …[[maybe_unused]] bool status = JSObject::DefineOwnProperty(thread, nativeInstanceObj, stackkey, st… in ErrorCommonConstructor()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_namespace.h | 42 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
|
D | js_module_namespace.cpp | 58 JSObject::DefineOwnProperty(thread, mNpObj, toStringTag, des); in ModuleNamespaceCreate() 156 bool ModuleNamespace::DefineOwnProperty(JSThread *thread, in DefineOwnProperty() function in panda::ecmascript::ModuleNamespace
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 404 JSObject::DefineOwnProperty(thread_, object, key, descriptor); in SetLazyAccessor() 622 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbol() 727 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbolWithRealm() 860 JSObject::DefineOwnProperty(thread_, globalObject, nameString, descriptor); in InitializeBigIntWithRealm() 1033 JSObject::DefineOwnProperty(thread_, globalObject, nameString, descriptor); in InitializeExoticConstructor() 1056 JSObject::DefineOwnProperty(thread_, asyncFuncPrototype, constructorKey, asyncDesc); in InitializeAsyncFunction() 1173 JSObject::DefineOwnProperty(thread_, globalObject, nameString, descriptor); in SetErrorWithRealm() 1289 JSObject::DefineOwnProperty(thread_, prototype, constructorKey, descriptor1); in InitializeCtor() 1297 JSObject::DefineOwnProperty(thread_, globalObject, nameString, descriptor2); in InitializeCtor() 1341 JSObject::DefineOwnProperty(thread_, setFuncPrototype, keys, descriptor); in InitializeSet() [all …]
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | json_stringifier_test.cpp | 262 JSArray::DefineOwnProperty(thread, handleObj, handleKey1, handleDesc); in HWTEST_F_L0() 300 JSArray::DefineOwnProperty(thread, handleObj, handleKey0, handleDesc0); in HWTEST_F_L0() 304 JSArray::DefineOwnProperty(thread, handleObj, handleKey1, handleDesc1); in HWTEST_F_L0()
|