Searched refs:ALLOW_HEX (Results 1 – 6 of 6) sorted by relevance
/external/v8/test/cctest/ |
D | test-conversions.cc | 15 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_OCTALS)); in TEST() 16 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_OCTALS)); in TEST() 17 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_OCTALS)); in TEST() 18 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_OCTALS)); in TEST() 19 CHECK_EQ(255.0, StringToDouble(&uc, "0xff", ALLOW_HEX | ALLOW_OCTALS)); in TEST() 20 CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", ALLOW_HEX | ALLOW_OCTALS)); in TEST() 22 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST() 23 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST() 24 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST() 25 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX)); in TEST() [all …]
|
/external/v8/src/ |
D | conversions.h | 107 ALLOW_HEX = 1, enumerator
|
D | conversions-inl.h | 499 if ((flags & ALLOW_HEX) && (*current == 'x' || *current == 'X')) { in InternalStringToDouble()
|
D | preparser.cc | 1684 int flags = i::ALLOW_HEX | i::ALLOW_OCTALS; in AddNumber()
|
D | parser.cc | 3643 ALLOW_HEX | ALLOW_OCTALS); in ParsePrimaryExpression() 4166 ALLOW_HEX | ALLOW_OCTALS); in ParseObjectLiteral()
|
D | runtime.cc | 5310 StringToDouble(isolate->unicode_cache(), subject, ALLOW_HEX)); in RUNTIME_FUNCTION()
|