Home
last modified time | relevance | path

Searched refs:StringToDouble (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_number_test.cpp426 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
429 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
432 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
435 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
438 …ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0.4); in HWTEST_F_L0()
441 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 10); in HWTEST_F_L0()
444 …ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 1000… in HWTEST_F_L0()
447 …ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 1000… in HWTEST_F_L0()
452 …ASSERT_TRUE(std::isnan(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::ALLOW_HEX… in HWTEST_F_L0()
455 ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::ALLOW_HEX), 16); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h104 …static double StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix, uint32_t fla…
Dnumber_helper.cpp442 double NumberHelper::StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix, uint32… in StringToDouble() function in panda::ecmascript::base::NumberHelper
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.h112 static double StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix);
Ddebugger_api.cpp219 double DebuggerApi::StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix) in StringToDouble() function in panda::ecmascript::tooling::DebuggerApi
221 return NumberHelper::StringToDouble(start, end, radix, ALLOW_BINARY | ALLOW_HEX | ALLOW_OCTAL); in StringToDouble()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value-inl.h111 return StringToDouble(tagged.GetTaggedValue()); in ToNumber()
1485 inline JSTaggedNumber JSTaggedValue::StringToDouble(JSTaggedValue tagged) in StringToDouble() function
1494 double d = base::NumberHelper::StringToDouble(str.begin(), str.end(), 0, in StringToDouble()
Djs_tagged_value.h432 static JSTaggedNumber StringToDouble(JSTaggedValue tagged);
Djs_typed_array.cpp609 return JSTaggedValue::StringToDouble(tagged); in NonEcmaObjectToNumber()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.cpp175 double result = NumberHelper::StringToDouble(str.begin(), str.end(), 0, base::IGNORE_TRAILING); in ParseFloat()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1443 double d = DebuggerApi::StringToDouble(begin, end, 0); in ConvertToLocal()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2079 return JSTaggedValue::StringToDouble(tagged).GetRawData(); in DEF_RUNTIME_STUBS()