Home
last modified time | relevance | path

Searched refs:numericValue (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_relative_time_format_test.cpp86 JSHandle<JSTaggedValue> &numericValue) in JSRelativeTimeFormatCreateWithLocaleTest() argument
95 JSObject::SetProperty(thread, optionsObj, typeKey, numericValue); in JSRelativeTimeFormatCreateWithLocaleTest()
116 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("auto")); // the default value in HWTEST_F_L0() local
119 thread, locale, numericValue)); in HWTEST_F_L0()
141 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("auto")); in HWTEST_F_L0() local
144 thread, locale, numericValue)); in HWTEST_F_L0()
166 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("auto")); // the default value in HWTEST_F_L0() local
169 thread, locale, numericValue)); in HWTEST_F_L0()
191 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("always")); // the default value in HWTEST_F_L0() local
194 thread, locale, numericValue)); in HWTEST_F_L0()
[all …]
Dbuiltins_bigint_test.cpp68 JSHandle<JSTaggedValue> numericValue(thread, JSTaggedValue(123)); in HWTEST_F_L0() local
72 ecmaRuntimeCallInfo->SetCallArg(0, numericValue.GetTaggedValue()); in HWTEST_F_L0()
85 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("456")); in HWTEST_F_L0() local
90 ecmaRuntimeCallInfo->SetCallArg(0, numericValue.GetTaggedValue()); in HWTEST_F_L0()
103 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("9223372036854775807")); in HWTEST_F_L0() local
110 ecmaRuntimeCallInfo->SetCallArg(1, numericValue.GetTaggedValue()); in HWTEST_F_L0()
127 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("9223372036854775808")); in HWTEST_F_L0() local
134 ecmaRuntimeCallInfo->SetCallArg(1, numericValue.GetTaggedValue()); in HWTEST_F_L0()
151 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("18446744073709551615")); in HWTEST_F_L0() local
158 ecmaRuntimeCallInfo->SetCallArg(1, numericValue.GetTaggedValue()); in HWTEST_F_L0()
[all …]
Dbuiltins_locale_test.cpp78 JSHandle<JSTaggedValue> numericValue(thread, JSTaggedValue::True()); in HWTEST_F_L0() local
82 JSObject::SetProperty(thread, optionsObj, numericKey, numericValue); in HWTEST_F_L0()
129 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("true")); in JSLocaleCreateWithOptionTest() local
130 JSObject::SetProperty(thread, optionsObj, numericKey, numericValue); // test true in JSLocaleCreateWithOptionTest()
Dbuiltins_collator_test.cpp81 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("true")); in HWTEST_F_L0() local
93 JSObject::SetProperty(thread, optionsObj, numericKey, numericValue); in HWTEST_F_L0()
Dbuiltins_json_test.cpp558 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("123456789123456789")); in HWTEST_F_L0() local
563 ecmaRuntimeCallInfo1->SetCallArg(0, numericValue.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_relative_time_format.cpp520 JSHandle<JSTaggedValue> numericValue; in ResolvedOptions() local
522 numericValue = globalConst->GetHandledAlwaysString(); in ResolvedOptions()
524 numericValue = globalConst->GetHandledAutoString(); in ResolvedOptions()
528 PropertyDescriptor numericDesc(thread, numericValue, true, true, true); in ResolvedOptions()
Djs_collator.cpp445 JSHandle<JSTaggedValue> numericValue(thread, JSTaggedValue(collator->GetNumeric())); in ResolvedOptions() local
446 …SObject::CreateDataProperty(thread, options, globalConst->GetHandledNumericString(), numericValue); in ResolvedOptions()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_locale_test.cpp544 JSHandle<JSTaggedValue> numericValue(thread, JSTaggedValue::True()); in HWTEST_F_L0() local
547 JSObject::SetProperty(thread, optionsObj, numericProperty, numericValue); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp1755 JSHandle<JSTaggedValue> numericValue; in With() local
1757 numericValue = JSHandle<JSTaggedValue>(thread, JSTaggedValue::ToBigInt(thread, value)); in With()
1759 numericValue = JSHandle<JSTaggedValue>(thread, JSTaggedValue::ToNumber(thread, value)); in With()
1788 fromValue.Update(numericValue); in With()