Searched refs:ALLOW_HEX (Results 1 – 5 of 5) 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() 49 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST() 50 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST() 51 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST() 52 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX)); in TEST() [all …]
|
/external/v8/src/ |
D | conversions.h | 99 ALLOW_HEX = 1, enumerator
|
D | conversions-inl.h | 565 if ((flags & ALLOW_HEX) && (*current == 'x' || *current == 'X')) { in InternalStringToDouble()
|
D | objects.cc | 11123 int flags = ALLOW_HEX | ALLOW_OCTAL | ALLOW_BINARY; in ToNumber()
|
/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()
|