Home
last modified time | relevance | path

Searched refs:syntaxError (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Drbt_pars.cpp330 int syntaxError(UErrorCode code, in syntaxError() function in RuleHalf
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
370 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status); in parse()
426 return syntaxError(U_UNCLOSED_SEGMENT, rule, start, status); in parseSection()
432 return syntaxError(U_MALFORMED_VARIABLE_REFERENCE, rule, start, status); in parseSection()
438 return syntaxError(U_MALFORMED_SET, rule, start, status); in parseSection()
446 return syntaxError(U_TRAILING_BACKSLASH, rule, start, status); in parseSection()
450 return syntaxError(U_MALFORMED_UNICODE_ESCAPE, rule, start, status); in parseSection()
453 return syntaxError(U_VARIABLE_RANGE_OVERLAP, rule, start, status); in parseSection()
474 return syntaxError(U_UNTERMINATED_QUOTE, rule, start, status); in parseSection()
[all …]
Ddecimalformatpattern.cpp38 static void syntaxError(const UnicodeString& pattern, in syntaxError() function
226 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
249 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
260 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
274 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
281 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
310 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
341 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
384 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
397 syntaxError(pattern,pos,parseError); in applyPatternWithoutExpandAffix()
[all …]
Drbt_pars.h264 int32_t syntaxError(UErrorCode parseErrorCode, const UnicodeString&, int32_t start,
Dformat.cpp174 void Format::syntaxError(const UnicodeString& pattern, in syntaxError() function in Format
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliteratorParser.java417 syntaxError("Misplaced " + CURSOR_POS, rule, start); in parse()
473 syntaxError("Unclosed segment", rule, start); in parseSection()
480 syntaxError("Malformed variable reference", rule, start); in parseSection()
494 syntaxError("Trailing backslash", rule, start); in parseSection()
500 syntaxError("Malformed escape", rule, start); in parseSection()
522 syntaxError("Unterminated quote", rule, start); in parseSection()
546 syntaxError("Illegal character '" + c + '\'', rule, start); in parseSection()
558 syntaxError("Misplaced anchor start", in parseSection()
598 syntaxError("Invalid function", rule, start); in parseSection()
603 syntaxError("Invalid function ID", rule, start); in parseSection()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliteratorParser.java418 syntaxError("Misplaced " + CURSOR_POS, rule, start); in parse()
474 syntaxError("Unclosed segment", rule, start); in parseSection()
481 syntaxError("Malformed variable reference", rule, start); in parseSection()
495 syntaxError("Trailing backslash", rule, start); in parseSection()
501 syntaxError("Malformed escape", rule, start); in parseSection()
523 syntaxError("Unterminated quote", rule, start); in parseSection()
547 syntaxError("Illegal character '" + c + '\'', rule, start); in parseSection()
559 syntaxError("Misplaced anchor start", in parseSection()
599 syntaxError("Invalid function", rule, start); in parseSection()
604 syntaxError("Invalid function ID", rule, start); in parseSection()
[all …]
DUnicodeSet.java2357 syntaxError(chars, "Extra chars in variable value"); in applyPattern()
2506 syntaxError(chars, "Syntax error"); in applyPattern()
2520 syntaxError(chars, "Char expected after operator"); in applyPattern()
2577 syntaxError(chars, "Missing '['"); in applyPattern()
2596 syntaxError(chars, "Trailing '&'"); in applyPattern()
2621 syntaxError(chars, "'-' not after char, string, or set"); in applyPattern()
2628 syntaxError(chars, "'&' not after set"); in applyPattern()
2631 syntaxError(chars, "'^' not after '['"); in applyPattern()
2635 syntaxError(chars, "Missing operand after operator"); in applyPattern()
2658 syntaxError(chars, "Invalid multicharacter string"); in applyPattern()
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DXMLTokener.java70 throw syntaxError("Unclosed CDATA"); in nextCDATA()
136 throw syntaxError("Missing ';' in XML entity: &" + sb); in nextEntity()
162 throw syntaxError("Misshaped meta tag"); in nextMeta()
181 throw syntaxError("Unterminated string"); in nextMeta()
228 throw syntaxError("Misshaped element"); in nextToken()
230 throw syntaxError("Misplaced '<'"); in nextToken()
251 throw syntaxError("Unterminated string"); in nextToken()
288 throw syntaxError("Bad character in a name"); in nextToken()
DJSONML.java81 throw x.syntaxError("Misshaped close tag"); in parse()
101 throw x.syntaxError("Expected 'CDATA['"); in parse()
108 throw x.syntaxError("Missing '>' after '<!'."); in parse()
122 throw x.syntaxError("Misshaped tag"); in parse()
129 throw x.syntaxError("Bad tagName '" + token + "'."); in parse()
151 throw x.syntaxError("Misshaped tag"); in parse()
161 throw x.syntaxError("Reserved attribute."); in parse()
167 throw x.syntaxError("Missing value"); in parse()
183 throw x.syntaxError("Misshaped tag"); in parse()
197 throw x.syntaxError("Misshaped tag"); in parse()
[all …]
DXML.java169 throw x.syntaxError("Expected 'CDATA['"); in parse()
175 throw x.syntaxError("Missing '>' after '<!'."); in parse()
195 throw x.syntaxError("Mismatched close tag" + t); in parse()
198 throw x.syntaxError("Mismatched " + name + " and " + t); in parse()
201 throw x.syntaxError("Misshaped close tag"); in parse()
206 throw x.syntaxError("Misshaped tag"); in parse()
227 throw x.syntaxError("Missing value"); in parse()
239 throw x.syntaxError("Misshaped tag"); in parse()
251 throw x.syntaxError("Unclosed tag " + n); in parse()
277 throw x.syntaxError("Misshaped tag"); in parse()
DJSONTokener.java160 throw syntaxError("Expected '" + c + "' and instead saw '" + in next()
201 throw syntaxError("Substring bounds error"); in next()
244 throw syntaxError("Unterminated string"); in nextString()
369 throw syntaxError("Missing value"); in nextValue()
409 public JSONException syntaxError(String message) { in syntaxError() method in JSONTokener
DHTTPTokener.java61 throw syntaxError("Unterminated string."); in nextToken()
DJSONArray.java113 throw x.syntaxError("A JSONArray text must start with '['"); in JSONArray()
139 throw x.syntaxError("Expected a '" + new Character(q) + "'"); in JSONArray()
143 throw x.syntaxError("Expected a ',' or ']'"); in JSONArray()
DJSONObject.java180 throw x.syntaxError("A JSONObject text must begin with '{'"); in JSONObject()
186 throw x.syntaxError("A JSONObject text must end with '}'"); in JSONObject()
204 throw x.syntaxError("Expected a ':' after a key"); in JSONObject()
223 throw x.syntaxError("Expected a ',' or '}'"); in JSONObject()
DCookie.java96 throw x.syntaxError("Missing '=' in cookie parameter."); in toJSONObject()
DCDL.java98 throw x.syntaxError("Bad character '" + c + "' (" + in rowToJSONArray()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/
DUOption.java170 syntaxError("Unknown option " + argv[i]); in parseArgs()
181 syntaxError("Option " + argv[i] + " lacks required argument"); in parseArgs()
198 syntaxError("Unknown option '" + c + "' in " + argv[i]); in parseArgs()
216 syntaxError("Option -" + c + " lacks required argument"); in parseArgs()
230 syntaxError("Option handler failed for " + argv[i]); in parseArgs()
274 private static void syntaxError(String message) { in syntaxError() method in UOption
/external/javassist/sample/preproc/
DCompiler.java156 syntaxError(importclass); in readImport()
165 syntaxError(importclass); in readImport()
170 void syntaxError(String importclass) throws CannotCompileException { in syntaxError() method in Compiler
190 syntaxError(importclass); in readAssistant()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java2427 syntaxError(chars, "Extra chars in variable value"); in applyPattern()
2576 syntaxError(chars, "Syntax error"); in applyPattern()
2590 syntaxError(chars, "Char expected after operator"); in applyPattern()
2647 syntaxError(chars, "Missing '['"); in applyPattern()
2666 syntaxError(chars, "Trailing '&'"); in applyPattern()
2691 syntaxError(chars, "'-' not after char, string, or set"); in applyPattern()
2698 syntaxError(chars, "'&' not after set"); in applyPattern()
2701 syntaxError(chars, "'^' not after '['"); in applyPattern()
2705 syntaxError(chars, "Missing operand after operator"); in applyPattern()
2728 syntaxError(chars, "Invalid multicharacter string"); in applyPattern()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dformat.h293 static void syntaxError(const UnicodeString& pattern,
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Dserialize.g53 ErrorManager.syntaxError(
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DLeftRecursiveRuleWalker.g71 ErrorManager.syntaxError(
DANTLR.g417 ErrorManager.syntaxError(
821 ErrorManager.syntaxError(
1143 ErrorManager.syntaxError(
DANTLRTreePrinter.g88 ErrorManager.syntaxError(
DAssignTokenTypesWalker.g120 ErrorManager.syntaxError(

12