Home
last modified time | relevance | path

Searched refs:ALLOW_OCTAL (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h33 static constexpr uint32_t ALLOW_OCTAL = 1U << 1U; variable
Dnumber_helper.cpp493 if ((flags & ALLOW_OCTAL) == 0) { in StringToDouble()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_number_test.cpp467 …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/
Ddebugger_api.cpp48 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/
Djs_tagged_value-inl.h1495 … base::ALLOW_BINARY + base::ALLOW_OCTAL + base::ALLOW_HEX); in StringToDouble()