Home
last modified time | relevance | path

Searched refs:DefineOwnProperty (Results 1 – 25 of 53) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_array_test.cpp136 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 …]
Dbuiltins_list_format_test.cpp151 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 …]
Dbuiltins_collator_test.cpp181 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()
Dbuiltins_promise_test.cpp325 …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()
Dbuiltins_intl_test.cpp106 JSArray::DefineOwnProperty(thread, JSHandle<JSObject>(obj), key, desc); in HWTEST_F_L0()
Dbuiltins_proxy_test.cpp102 JSObject::DefineOwnProperty(thread, handler, key, desc); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dtemplate_string.cpp50 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()
Djs_array.h41 …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,
Djs_arguments.h39 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSArguments> &args,
Djs_arguments.cpp44 bool JSArguments::DefineOwnProperty(JSThread *thread, const JSHandle<JSArguments> &args, in DefineOwnProperty() function in panda::ecmascript::JSArguments
Djs_proxy.h43 …static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JST…
Djs_relative_time_format.cpp501 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()
Djs_array.cpp292 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
Djs_tagged_value.cpp750 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()
Djs_typed_array.h51 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
/arkcompiler/ets_runtime/ecmascript/tests/
Dtemplate_string_test.cpp82 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()
Djs_array_test.cpp86 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()
Djs_proxy_test.cpp225 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()
Djs_arguments_test.cpp124 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()
Dlocale_helper_test.cpp118 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/
Derror_helper.cpp166 …[[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/
Djs_module_namespace.h42 static bool DefineOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
Djs_module_namespace.cpp58 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/
Dbuiltins.cpp404 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/
Djson_stringifier_test.cpp262 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()

123