Home
last modified time | relevance | path

Searched refs:ALLOW_HEX (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/cctest/
Dtest-conversions.cc15 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
16 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
17 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
18 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
19 CHECK_EQ(255.0, StringToDouble(&uc, "0xff", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
20 CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
22 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST()
23 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST()
24 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST()
25 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX)); in TEST()
[all …]
/external/v8/src/
Dconversions.h107 ALLOW_HEX = 1, enumerator
Dconversions-inl.h499 if ((flags & ALLOW_HEX) && (*current == 'x' || *current == 'X')) { in InternalStringToDouble()
Dpreparser.cc1684 int flags = i::ALLOW_HEX | i::ALLOW_OCTALS; in AddNumber()
Dparser.cc3643 ALLOW_HEX | ALLOW_OCTALS); in ParsePrimaryExpression()
4166 ALLOW_HEX | ALLOW_OCTALS); in ParseObjectLiteral()
Druntime.cc5310 StringToDouble(isolate->unicode_cache(), subject, ALLOW_HEX)); in RUNTIME_FUNCTION()