Home
last modified time | relevance | path

Searched refs:SYNTAX_ERROR (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/test/
Dre_tests.py7 [SUCCEED, FAIL, SYNTAX_ERROR] = range(3)
58 ('(?P<foo_123', '', SYNTAX_ERROR), # Unterminated group identifier
59 ('(?P<1>a)', '', SYNTAX_ERROR), # Begins with a digit
60 ('(?P<!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
61 ('(?P<foo!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
64 ('(?P<foo_123>a)(?P=foo_123', 'aa', SYNTAX_ERROR),
65 ('(?P<foo_123>a)(?P=1)', 'aa', SYNTAX_ERROR),
66 ('(?P<foo_123>a)(?P=!)', 'aa', SYNTAX_ERROR),
67 ('(?P<foo_123>a)(?P=foo_124', 'aa', SYNTAX_ERROR), # Backref to undefined group
73 ('\\1', 'a', SYNTAX_ERROR), # Backreference
[all …]
Dtest_re.py1199 from test.re_tests import tests, SUCCEED, FAIL, SYNTAX_ERROR
1220 if outcome == SYNTAX_ERROR: pass # Expected a syntax error
1233 if outcome == SYNTAX_ERROR:
/external/python/cpython3/Lib/test/
Dre_tests.py7 [SUCCEED, FAIL, SYNTAX_ERROR] = range(3)
58 ('(?P<foo_123', '', SYNTAX_ERROR), # Unterminated group identifier
59 ('(?P<1>a)', '', SYNTAX_ERROR), # Begins with a digit
60 ('(?P<!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
61 ('(?P<foo!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
64 ('(?P<foo_123>a)(?P=foo_123', 'aa', SYNTAX_ERROR),
65 ('(?P<foo_123>a)(?P=1)', 'aa', SYNTAX_ERROR),
66 ('(?P<foo_123>a)(?P=!)', 'aa', SYNTAX_ERROR),
67 ('(?P<foo_123>a)(?P=foo_124', 'aa', SYNTAX_ERROR), # Backref to undefined group
73 ('\\1', 'a', SYNTAX_ERROR), # Backreference
[all …]
Dtest_re.py2220 from test.re_tests import tests, FAIL, SYNTAX_ERROR
2231 if outcome == SYNTAX_ERROR: # Expected a syntax error
/external/webrtc/p2p/base/
Dtransport_description_unittest.cc28 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, result.error().type()); in TEST()
34 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, result.error().type()); in TEST()
39 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, result.error().type()); in TEST()
45 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, result.error().type()); in TEST()
50 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, result.error().type()); in TEST()
55 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, result.error().type()); in TEST()
Dtransport_description.cc47 return RTCError(RTCErrorType::SYNTAX_ERROR, sb.Release()); in ValidateIceUfrag()
52 RTCErrorType::SYNTAX_ERROR, in ValidateIceUfrag()
65 return RTCError(RTCErrorType::SYNTAX_ERROR, sb.Release()); in ValidateIcePwd()
70 RTCErrorType::SYNTAX_ERROR, in ValidateIcePwd()
/external/webrtc/pc/
Dice_server_parsing.cc164 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
168 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
174 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
183 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
199 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
204 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
209 return RTCErrorType::SYNTAX_ERROR; in ParseIceServerUrl()
275 return RTCErrorType::SYNTAX_ERROR; in ParseIceServers()
292 return RTCErrorType::SYNTAX_ERROR; in ParseIceServers()
Dsdp_serializer.cc54 return RTCError(RTCErrorType::SYNTAX_ERROR, message); in ParseError()
Dpeer_connection_interface_unittest.cc2622 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, error.type()); in TEST_P()
/external/webrtc/api/
Drtc_error_unittest.cc108 e = RTCError(RTCErrorType::SYNTAX_ERROR, std::string("baz")); in TEST()
111 e = RTCError(RTCErrorType::SYNTAX_ERROR, std::string("another")); in TEST()
114 e = RTCError(RTCErrorType::SYNTAX_ERROR, "last"); in TEST()
170 return RTCError(RTCErrorType::SYNTAX_ERROR); in TEST()
172 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, e.error().type()); in TEST()
208 RTCErrorOr<int> e({RTCErrorType::SYNTAX_ERROR, "message"}); in TEST()
210 EXPECT_EQ(RTCErrorType::SYNTAX_ERROR, err.type()); in TEST()
Drtc_error.h55 SYNTAX_ERROR, enumerator
/external/squashfs-tools/squashfs-tools/
Daction.c284 SYNTAX_ERROR("Non-existent test \"%s\"\n", name); in parse_test()
327 SYNTAX_ERROR("Unexpected token \"%s\", expected " in parse_test()
344 SYNTAX_ERROR("Unexpected token \"%s\", expected " in parse_test()
356 SYNTAX_ERROR("Unexpected number of arguments, expected %d, " in parse_test()
393 SYNTAX_ERROR("Unexpected token \"%s\", expected test " in get_atom()
412 SYNTAX_ERROR("Expected \"&&\", \"||\" or " in parse_expr()
422 SYNTAX_ERROR("Unexpected \")\", expected " in parse_expr()
431 SYNTAX_ERROR("Unexpected token \"%s\", expected " in parse_expr()
460 SYNTAX_ERROR("Unexpected token \"%s\", expected name\n", in parse_action()
470 SYNTAX_ERROR("Non-existent action \"%s\"\n", string); in parse_action()
[all …]
Daction.h71 #define SYNTAX_ERROR(S, ARGS...) { \ macro
/external/icu/libicu/cts_headers/
Ddtptngen_impl.h205 SYNTAX_ERROR, enumerator
/external/icu/icu4c/source/i18n/
Ddtptngen_impl.h205 SYNTAX_ERROR, enumerator
/external/antlr/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg98 SYNTAX_ERROR(arg) ::= "syntax error: <arg>"