Searched refs:ALLOW_OCTAL (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.h | 33 static constexpr uint32_t ALLOW_OCTAL = 1U << 1U; variable
|
D | number_helper.cpp | 493 if ((flags & ALLOW_OCTAL) == 0) { in StringToDouble()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_number_test.cpp | 467 …T_TRUE(std::isnan(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::ALLOW_OCTAL))); in HWTEST_F_L0() 470 ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::ALLOW_OCTAL), 8); in HWTEST_F_L0() 473 …ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::ALLOW_OCTAL | base::IG… in HWTEST_F_L0() 478 …base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::ALLOW_OCTAL | base::IGNORE_TRAIL… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 48 using panda::ecmascript::base::ALLOW_OCTAL; 221 return NumberHelper::StringToDouble(start, end, radix, ALLOW_BINARY | ALLOW_HEX | ALLOW_OCTAL); in StringToDouble()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_value-inl.h | 1495 … base::ALLOW_BINARY + base::ALLOW_OCTAL + base::ALLOW_HEX); in StringToDouble()
|