Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-conversions.cc60 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()
65 ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL)); in TEST()
67 ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL)); in TEST()
69 CHECK_EQ(0.0, StringToDouble(&uc, "0o0", ALLOW_OCTAL)); in TEST()
70 CHECK_EQ(0.0, StringToDouble(&uc, "0O0", ALLOW_OCTAL)); in TEST()
71 CHECK_EQ(1.0, StringToDouble(&uc, "0o1", ALLOW_OCTAL)); in TEST()
72 CHECK_EQ(7.0, StringToDouble(&uc, "0o7", ALLOW_OCTAL)); in TEST()
[all …]
/external/v8/src/
Dconversions.h100 ALLOW_OCTAL = 2, enumerator
Dconversions-inl.h578 } else if ((flags & ALLOW_OCTAL) && (*current == 'o' || *current == 'O')) { 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()