Searched refs:unitValue (Results 1 - 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_relative_time_format_test.cpp | 78 JSHandle<JSTaggedValue> &numberValue, JSHandle<JSTaggedValue> &unitValue) in FormatCommon() 85 ecmaRuntimeCallInfo->SetCallArg(1, unitValue.GetTaggedValue()); in FormatCommon() 102 JSHandle<JSTaggedValue> unitValue(factory->NewFromASCII("day")); in HWTEST_F_L0() 104 auto result = FormatCommon(thread, jsPluralRules, numberValue, unitValue); in HWTEST_F_L0() 119 JSHandle<JSTaggedValue> unitValue(factory->NewFromASCII("day")); in HWTEST_F_L0() 121 auto result = FormatCommon(thread, jsPluralRules, numberValue, unitValue); in HWTEST_F_L0() 136 JSHandle<JSTaggedValue> unitValue(factory->NewFromASCII("day")); in HWTEST_F_L0() 139 auto result = FormatCommon(thread, jsPluralRules, numberValue, unitValue); in HWTEST_F_L0() 154 JSHandle<JSTaggedValue> unitValue(factory->NewFromASCII("day")); in HWTEST_F_L0() 157 auto result = FormatCommon(thread, jsPluralRules, numberValue, unitValue); in HWTEST_F_L0() 77 FormatCommon(JSThread *thread, JSHandle<JSRelativeTimeFormat> &jsPluralRules, JSHandle<JSTaggedValue> &numberValue, JSHandle<JSTaggedValue> &unitValue) FormatCommon() argument [all...] |
H A D | builtins_number_format_test.cpp | 177 JSHandle<JSTaggedValue> unitValue(factory->NewFromASCII("liter")); in HWTEST_F_L0() 183 JSObject::SetProperty(thread, optionsObj, unitKey, unitValue); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_relative_time_format.cpp | 109 JSHandle<JSTaggedValue> unitValue = GetCallArg(argv, 1); in Format() local 110 JSHandle<EcmaString> unit = JSTaggedValue::ToString(thread, unitValue); in Format() 142 JSHandle<JSTaggedValue> unitValue = GetCallArg(argv, 1); in FormatToParts() local 143 JSHandle<EcmaString> unit = JSTaggedValue::ToString(thread, unitValue); in FormatToParts()
|
Completed in 2 milliseconds