Home
last modified time | relevance | path

Searched refs:NumberToString (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_number_test.cpp584 HWTEST_F_L0(BuiltinsNumberTest, NumberToString) in HWTEST_F_L0() argument
589 base::NumberHelper::NumberToString(thread, JSTaggedValue(100)), res), 0); in HWTEST_F_L0()
592 base::NumberHelper::NumberToString(thread, JSTaggedValue(11223344)), res), 0); in HWTEST_F_L0()
595 base::NumberHelper::NumberToString(thread, JSTaggedValue(1234567890)), res), 0); in HWTEST_F_L0()
598 base::NumberHelper::NumberToString(thread, JSTaggedValue(double(100.0))), res), 0); in HWTEST_F_L0()
601 base::NumberHelper::NumberToString(thread, JSTaggedValue(double(100.5))), res), 0); in HWTEST_F_L0()
604 base::NumberHelper::NumberToString(thread, JSTaggedValue(double(100.25))), res), 0); in HWTEST_F_L0()
607 base::NumberHelper::NumberToString(thread, JSTaggedValue(double(100.125))), res), 0); in HWTEST_F_L0()
610 base::NumberHelper::NumberToString(thread, JSTaggedValue(double(100.6125))), res), 0); in HWTEST_F_L0()
613 base::NumberHelper::NumberToString(thread, JSTaggedValue(double(0.0006125))), res), 0); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h89 return base::NumberHelper::NumberToString(thread, *this); in ToString()
Dobject_operator.cpp45 …key_ = JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread_, JSTaggedValue(key… in HandleKey()
73 …key_ = JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread_, key.GetTaggedValu… in HandleKey()
Djs_tagged_value.cpp441 return base::NumberHelper::NumberToString(thread, tagged.GetTaggedValue()); in ToString()
Djs_object.cpp1320 retArray->Set(thread, i, base::NumberHelper::NumberToString(thread, in GetAllPropertyKeys()
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h101 static JSHandle<EcmaString> NumberToString(const JSThread *thread, JSTaggedValue number);
Djson_stringifier.cpp352 … result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty()
658 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()
Dnumber_helper.cpp324 JSHandle<EcmaString> NumberHelper::NumberToString(const JSThread *thread, JSTaggedValue number) in NumberToString() function in panda::ecmascript::base::NumberHelper
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp533 HWTEST_F_L0(NumberHelperTest, NumberToString) in HWTEST_F_L0() argument
537 JSHandle<EcmaString> result = NumberHelper::NumberToString(thread, JSTaggedValue(d)); in HWTEST_F_L0()
542 JSHandle<EcmaString> result1 = NumberHelper::NumberToString(thread, JSTaggedValue(d2)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_deque_test.cpp281 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
Djs_api_stack_test.cpp332 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
Djs_api_queue_test.cpp167 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
Djs_api_list_test.cpp414 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
Djs_api_vector_test.cpp488 *(base::NumberHelper::NumberToString(thread, JSTaggedValue(i))), in HWTEST_F_L0()
Djs_api_linked_list_test.cpp443 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
Djs_api_arraylist_test.cpp634 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h993 …propKey = JSHandle<JSTaggedValue>(base::NumberHelper::NumberToString(thread, propKey.GetTaggedValu… in RuntimeStOwnByValueWithNameSet()
2046 …JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread, propKey.GetTaggedValue())… in RuntimeDefineGetterSetterByValue()
2055 …JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread, propKey.GetTaggedValue())… in RuntimeDefineGetterSetterByValue()