Searched refs:ALLOW_BINARY (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/cctest/ |
D | test-conversions.cc | 103 ALLOW_BINARY | ALLOW_IMPLICIT_OCTAL)); in TEST() 105 ALLOW_BINARY | ALLOW_IMPLICIT_OCTAL)); in TEST() 107 ALLOW_BINARY | ALLOW_IMPLICIT_OCTAL)); in TEST() 109 ALLOW_BINARY | ALLOW_IMPLICIT_OCTAL)); in TEST() 111 ALLOW_BINARY | ALLOW_IMPLICIT_OCTAL)); in TEST() 113 CHECK_EQ(0.0, StringToDouble(&uc, "0b0", ALLOW_BINARY)); in TEST() 114 CHECK_EQ(0.0, StringToDouble(&uc, "0B0", ALLOW_BINARY)); in TEST() 115 CHECK_EQ(1.0, StringToDouble(&uc, "0b1", ALLOW_BINARY)); in TEST() 116 CHECK_EQ(2.0, StringToDouble(&uc, "0b10", ALLOW_BINARY)); in TEST() 117 CHECK_EQ(3.0, StringToDouble(&uc, "0b11", ALLOW_BINARY)); in TEST()
|
/external/v8/src/ |
D | conversions.h | 102 ALLOW_BINARY = 8, enumerator
|
D | conversions-inl.h | 591 } else if ((flags & ALLOW_BINARY) && (*current == 'b' || *current == 'B')) { 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()
|