Searched refs:ALLOW_BINARY (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/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/chromium_org/v8/src/ |
D | conversions.h | 105 ALLOW_BINARY = 8, enumerator
|
D | scanner.cc | 1216 ALLOW_HEX | ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL | ALLOW_BINARY); in DoubleValue() 1263 int flags = ALLOW_HEX | ALLOW_OCTAL | ALLOW_IMPLICIT_OCTAL | ALLOW_BINARY; in AddNumber()
|
D | conversions-inl.h | 523 } else if ((flags & ALLOW_BINARY) && (*current == 'b' || *current == 'B')) { in InternalStringToDouble()
|
D | runtime.cc | 6292 flags |= ALLOW_OCTAL | ALLOW_BINARY; in RUNTIME_FUNCTION()
|