Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-conversions.cc40 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
41 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
42 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
43 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
45 ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
47 ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
49 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST()
50 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST()
51 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST()
52 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX)); in TEST()
[all …]
/external/v8/src/
Dconversions.h99 ALLOW_HEX = 1, enumerator
Dconversions-inl.h565 if ((flags & ALLOW_HEX) && (*current == 'x' || *current == 'X')) { in InternalStringToDouble()
Dobjects.cc11123 int flags = ALLOW_HEX | ALLOW_OCTAL | ALLOW_BINARY; in ToNumber()
/external/v8/src/parsing/
Dscanner.cc1464 ALLOW_HEX | ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL | ALLOW_BINARY); in DoubleValue()
1563 int flags = ALLOW_HEX | ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL | ALLOW_BINARY; in AddNumber()