/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_number_test.cpp | 584 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/ |
D | js_tagged_number.h | 89 return base::NumberHelper::NumberToString(thread, *this); in ToString()
|
D | object_operator.cpp | 45 …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()
|
D | js_tagged_value.cpp | 441 return base::NumberHelper::NumberToString(thread, tagged.GetTaggedValue()); in ToString()
|
D | js_object.cpp | 1320 retArray->Set(thread, i, base::NumberHelper::NumberToString(thread, in GetAllPropertyKeys()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.h | 101 static JSHandle<EcmaString> NumberToString(const JSThread *thread, JSTaggedValue number);
|
D | json_stringifier.cpp | 352 … result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty() 658 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()
|
D | number_helper.cpp | 324 JSHandle<EcmaString> NumberHelper::NumberToString(const JSThread *thread, JSTaggedValue number) in NumberToString() function in panda::ecmascript::base::NumberHelper
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | number_helper_test.cpp | 533 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/ |
D | js_api_deque_test.cpp | 281 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
|
D | js_api_stack_test.cpp | 332 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
|
D | js_api_queue_test.cpp | 167 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
|
D | js_api_list_test.cpp | 414 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
|
D | js_api_vector_test.cpp | 488 *(base::NumberHelper::NumberToString(thread, JSTaggedValue(i))), in HWTEST_F_L0()
|
D | js_api_linked_list_test.cpp | 443 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
|
D | js_api_arraylist_test.cpp | 634 …ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*(base::NumberHelper::NumberToString(thread, JSTag… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 993 …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()
|