Searched refs:ALLOW_IMPLICIT_OCTAL (Results 1 – 4 of 4) sorted by relevance
/external/v8/test/cctest/ |
D | test-conversions.cc | 40 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/ |
D | conversions.h | 101 ALLOW_IMPLICIT_OCTAL = 4, enumerator
|
D | conversions-inl.h | 611 bool octal = leading_zero && (flags & ALLOW_IMPLICIT_OCTAL) != 0; in InternalStringToDouble()
|
/external/v8/src/parsing/ |
D | scanner.cc | 1464 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()
|