Home
last modified time | relevance | path

Searched refs:ALLOW_BINARY (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/cctest/
Dtest-conversions.cc103 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/
Dconversions.h102 ALLOW_BINARY = 8, enumerator
Dconversions-inl.h591 } else if ((flags & ALLOW_BINARY) && (*current == 'b' || *current == 'B')) { in InternalStringToDouble()
Dobjects.cc11123 int flags = ALLOW_HEX | ALLOW_OCTAL | ALLOW_BINARY; in ToNumber()
/external/v8/src/parsing/
Dscanner.cc1464 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()