ALLOW_OCTALS 517 src/conversions-inl.h bool octal = leading_zero && (flags & ALLOW_OCTALS) != 0; ALLOW_OCTALS 3690 src/parser.cc ALLOW_HEX | ALLOW_OCTALS); ALLOW_OCTALS 4225 src/parser.cc ALLOW_HEX | ALLOW_OCTALS); ALLOW_OCTALS 1685 src/preparser.cc int flags = i::ALLOW_HEX | i::ALLOW_OCTALS; ALLOW_OCTALS 15 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 16 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 17 test/cctest/test-conversions.cc CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 18 test/cctest/test-conversions.cc CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 19 test/cctest/test-conversions.cc CHECK_EQ(255.0, StringToDouble(&uc, "0xff", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 20 test/cctest/test-conversions.cc CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 33 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 34 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "00", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 35 test/cctest/test-conversions.cc CHECK_EQ(1.0, StringToDouble(&uc, "01", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 36 test/cctest/test-conversions.cc CHECK_EQ(7.0, StringToDouble(&uc, "07", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 37 test/cctest/test-conversions.cc CHECK_EQ(8.0, StringToDouble(&uc, "010", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 38 test/cctest/test-conversions.cc CHECK_EQ(63.0, StringToDouble(&uc, "077", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 49 test/cctest/test-conversions.cc "0000000000" "0000000000" "0000000000", ALLOW_OCTALS)); ALLOW_OCTALS 55 test/cctest/test-conversions.cc CHECK_EQ(8.0, StringToDouble(&uc, "08", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 56 test/cctest/test-conversions.cc CHECK_EQ(81.0, StringToDouble(&uc, "081", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 57 test/cctest/test-conversions.cc CHECK_EQ(78.0, StringToDouble(&uc, "078", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 59 test/cctest/test-conversions.cc CHECK(isnan(StringToDouble(&uc, "07.7", ALLOW_HEX | ALLOW_OCTALS))); ALLOW_OCTALS 60 test/cctest/test-conversions.cc CHECK(isnan(StringToDouble(&uc, "07.8", ALLOW_HEX | ALLOW_OCTALS))); ALLOW_OCTALS 61 test/cctest/test-conversions.cc CHECK(isnan(StringToDouble(&uc, "07e8", ALLOW_HEX | ALLOW_OCTALS))); ALLOW_OCTALS 62 test/cctest/test-conversions.cc CHECK(isnan(StringToDouble(&uc, "07e7", ALLOW_HEX | ALLOW_OCTALS))); ALLOW_OCTALS 64 test/cctest/test-conversions.cc CHECK_EQ(8.7, StringToDouble(&uc, "08.7", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 65 test/cctest/test-conversions.cc CHECK_EQ(8e7, StringToDouble(&uc, "08e7", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 67 test/cctest/test-conversions.cc CHECK_EQ(0.001, StringToDouble(&uc, "0.001", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 68 test/cctest/test-conversions.cc CHECK_EQ(0.713, StringToDouble(&uc, "0.713", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 91 test/cctest/test-conversions.cc StringToDouble(&uc, "077qqq", ALLOW_OCTALS | ALLOW_TRAILING_JUNK)); ALLOW_OCTALS 93 test/cctest/test-conversions.cc StringToDouble(&uc, "10e", ALLOW_OCTALS | ALLOW_TRAILING_JUNK)); ALLOW_OCTALS 95 test/cctest/test-conversions.cc StringToDouble(&uc, "10e-", ALLOW_OCTALS | ALLOW_TRAILING_JUNK)); ALLOW_OCTALS 121 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0e0", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 122 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0e1", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 123 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0e-1", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 124 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0e-100000", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 125 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0e+100000", ALLOW_HEX | ALLOW_OCTALS)); ALLOW_OCTALS 126 test/cctest/test-conversions.cc CHECK_EQ(0.0, StringToDouble(&uc, "0.", ALLOW_HEX | ALLOW_OCTALS));