Home
last modified time | relevance | path

Searched refs:ALLOW_IMPLICIT_OCTAL (Results 1 – 4 of 4) 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()
60 CHECK_EQ(0.0, StringToDouble(&uc, "0o0", ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL)); in TEST()
61 CHECK_EQ(0.0, StringToDouble(&uc, "0O0", ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL)); in TEST()
62 CHECK_EQ(1.0, StringToDouble(&uc, "0o1", ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL)); in TEST()
63 CHECK_EQ(7.0, StringToDouble(&uc, "0o7", ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL)); in TEST()
[all …]
/external/v8/src/
Dconversions.h101 ALLOW_IMPLICIT_OCTAL = 4, enumerator
Dconversions-inl.h611 bool octal = leading_zero && (flags & ALLOW_IMPLICIT_OCTAL) != 0; in InternalStringToDouble()
/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()