/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 1023 public void consume(final String token) throws ParseException { in consume() 1048 public String consumeIdentifier() throws ParseException { in consumeIdentifier() 1075 } catch (ParseException e) { in tryConsumeIdentifier() 1084 public int consumeInt32() throws ParseException { in consumeInt32() 1098 public int consumeUInt32() throws ParseException { in consumeUInt32() 1112 public long consumeInt64() throws ParseException { in consumeInt64() 1130 } catch (ParseException e) { in tryConsumeInt64() 1139 public long consumeUInt64() throws ParseException { in consumeUInt64() 1157 } catch (ParseException e) { in tryConsumeUInt64() 1166 public double consumeDouble() throws ParseException { in consumeDouble() [all …]
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | TimeUtilTest.java | 35 import java.text.ParseException; 97 } catch (ParseException e) { in run() 187 } catch (ParseException e) { in testTimetampInvalidFormat() 195 } catch (ParseException e) { in testTimetampInvalidFormat() 203 } catch (ParseException e) { in testTimetampInvalidFormat() 211 } catch (ParseException e) { in testTimetampInvalidFormat() 219 } catch (ParseException e) { in testTimetampInvalidFormat() 227 } catch (ParseException e) { in testTimetampInvalidFormat() 235 } catch (ParseException e) { in testTimetampInvalidFormat() 318 } catch (ParseException e) { in testDurationInvalidFormat() [all …]
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | Timestamps.java | 42 import java.text.ParseException; 232 public static Timestamp parse(String value) throws ParseException { in parse() 235 throw new ParseException("Failed to parse timestamp: invalid timestamp \"" + value + "\"", 0); in parse() 245 throw new ParseException("Failed to parse timestamp: missing valid timezone offset.", 0); in parse() 262 throw new ParseException( in parse() 280 throw new ParseException("Failed to parse timestamp: timestamp is out of range.", 0); in parse() 402 private static long parseTimezoneOffset(String value) throws ParseException { in parseTimezoneOffset() 405 throw new ParseException("Invalid offset value: " + value, 0); in parseTimezoneOffset() 412 static int parseNanos(String value) throws ParseException { in parseNanos() 418 throw new ParseException("Invalid nanoseconds.", 0); in parseNanos()
|
D | Durations.java | 47 import java.text.ParseException; 241 public static Duration parse(String value) throws ParseException { in parse() 244 throw new ParseException("Invalid duration string: " + value, 0); in parse() 261 throw new ParseException("Invalid duration string: " + value, 0); in parse() 270 throw new ParseException("Duration value is out of range.", 0); in parse()
|
D | TimeUtil.java | 37 import java.text.ParseException; 90 public static Timestamp parseTimestamp(String value) throws ParseException { in parseTimestamp() 119 public static Duration parseDuration(String value) throws ParseException { in parseDuration()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
D | CollationRuleParser.java | 17 import java.text.ParseException; 114 void parse(String ruleString, CollationSettings outSettings) throws ParseException { in parse() 134 private void parse(String ruleString) throws ParseException { in parse() 170 private void parseRuleChain() throws ParseException { in parseRuleChain() 211 private int parseResetAndPosition() throws ParseException { in parseResetAndPosition() 295 private void parseRelationStrings(int strength, int i) throws ParseException { in parseRelationStrings() 331 private void parseStarredCharacters(int strength, int i) throws ParseException { in parseStarredCharacters() 400 private int parseTailoringString(int i, StringBuilder raw) throws ParseException { in parseTailoringString() 408 private int parseString(int i, StringBuilder raw) throws ParseException { in parseString() 501 private int parseSpecialPosition(int i, StringBuilder str) throws ParseException { in parseSpecialPosition() [all …]
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationRuleParser.java | 16 import java.text.ParseException; 110 void parse(String ruleString, CollationSettings outSettings) throws ParseException { in parse() 130 private void parse(String ruleString) throws ParseException { in parse() 166 private void parseRuleChain() throws ParseException { in parseRuleChain() 207 private int parseResetAndPosition() throws ParseException { in parseResetAndPosition() 291 private void parseRelationStrings(int strength, int i) throws ParseException { in parseRelationStrings() 327 private void parseStarredCharacters(int strength, int i) throws ParseException { in parseStarredCharacters() 396 private int parseTailoringString(int i, StringBuilder raw) throws ParseException { in parseTailoringString() 404 private int parseString(int i, StringBuilder raw) throws ParseException { in parseString() 497 private int parseSpecialPosition(int i, StringBuilder str) throws ParseException { in parseSpecialPosition() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 20 import java.text.ParseException; 95 } catch (java.text.ParseException pe) { in TestJ691() 163 } catch (ParseException e) { in Test4408066() 239 } catch (ParseException pe) { in TestJB5509() 292 } catch (ParseException pe) { in TestT5698() 321 } catch (ParseException pe) { in TestSurrogatesParsing() 333 } catch (ParseException e) { in checkNBSPPatternRtNum()
|
D | RBNFParseTest.java | 11 import java.text.ParseException; 114 } catch (java.text.ParseException e){ in parseFormat() 180 catch (ParseException e) { in TestBadParse()
|
D | PluralRulesTest.java | 17 import java.text.ParseException; 134 { "a: n not is 1", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 141 { "a: n is not 1,3", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 142 { "a: n not is 1,3", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 147 { "a: n not= 1", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 148 { "a: n not= 1,3", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 151 { "a: n ! is not 1", ParseException.class }, in testSyntaxRestrictions() 152 { "a: n ! is not 1", ParseException.class }, in testSyntaxRestrictions() 153 { "a: n not not in 1", ParseException.class }, in testSyntaxRestrictions() 157 { null, NullPointerException.class }, { "djkl;", ParseException.class }, in testSyntaxRestrictions() [all …]
|
D | DateFormatTest.java | 25 import java.text.ParseException; 336 } catch (ParseException e) { in TestTwoDigitYearDSTParse() 705 catch (ParseException e) { in TestGenericTime() 713 catch (ParseException e) { in TestGenericTime() 765 } catch (ParseException pe) { in TestTimeZoneDisplayName() 1680 } catch (ParseException e) { in tryPat994() 1793 } catch (ParseException e) { in TestCzechMonths459() 1920 } catch(java.text.ParseException e) { in TestBadInput135() 2031 } catch (ParseException e) { in parse2DigitYear() 2526 catch (ParseException e) { in TestCoverage() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 21 import java.text.ParseException; 98 } catch (java.text.ParseException pe) { in TestJ691() 166 } catch (ParseException e) { in Test4408066() 242 } catch (ParseException pe) { in TestJB5509() 295 } catch (ParseException pe) { in TestT5698() 324 } catch (ParseException pe) { in TestSurrogatesParsing() 336 } catch (ParseException e) { in checkNBSPPatternRtNum()
|
D | PluralRulesTest.java | 18 import java.text.ParseException; 135 { "a: n not is 1", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 142 { "a: n is not 1,3", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 143 { "a: n not is 1,3", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 148 { "a: n not= 1", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 149 { "a: n not= 1,3", ParseException.class }, // hacked to fail in testSyntaxRestrictions() 152 { "a: n ! is not 1", ParseException.class }, in testSyntaxRestrictions() 153 { "a: n ! is not 1", ParseException.class }, in testSyntaxRestrictions() 154 { "a: n not not in 1", ParseException.class }, in testSyntaxRestrictions() 158 { null, NullPointerException.class }, { "djkl;", ParseException.class }, in testSyntaxRestrictions() [all …]
|
D | RBNFParseTest.java | 12 import java.text.ParseException; 117 } catch (java.text.ParseException e){ in parseFormat() 183 catch (ParseException e) { in TestBadParse()
|
D | DateFormatTest.java | 26 import java.text.ParseException; 339 } catch (ParseException e) { in TestTwoDigitYearDSTParse() 708 catch (ParseException e) { in TestGenericTime() 716 catch (ParseException e) { in TestGenericTime() 768 } catch (ParseException pe) { in TestTimeZoneDisplayName() 1596 } catch (ParseException e) { in tryPat994() 1709 } catch (ParseException e) { in TestCzechMonths459() 1836 } catch(java.text.ParseException e) { in TestBadInput135() 1947 } catch (ParseException e) { in parse2DigitYear() 2442 catch (ParseException e) { in TestCoverage() [all …]
|
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | NumberFormatTest.java | 14 import java.text.ParseException; 203 } catch (ParseException e) { in TestICUEquivalent() 209 } catch (ParseException e) { in TestICUEquivalent() 238 } catch (ParseException e) { in TestICUEquivalent() 244 } catch (ParseException e) { in TestICUEquivalent() 273 } catch (ParseException e) { in TestICUEquivalent() 279 } catch (ParseException e) { in TestICUEquivalent()
|
D | DateFormatTest.java | 12 import java.text.ParseException; 157 } catch (ParseException e) { in TestICUEquivalent() 164 } catch (ParseException e) { in TestICUEquivalent()
|
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | DateFormatPerformanceTest.java | 11 import java.text.ParseException; 83 } catch (ParseException ex) { 95 } catch (ParseException ex) {
|
D | DecimalFormatPerformanceTest.java | 11 import java.text.ParseException; 85 } catch (ParseException e) { 98 } catch (ParseException e) {
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 16 import java.text.ParseException; 1075 …private int parseString(int start, Output<String> prefix, Output<String> s) throws ParseException { 1086 throw new ParseException("empty prefix on line " + fileLineNumber, fileLineNumber); 1098 throw new ParseException("empty string on line " + fileLineNumber, fileLineNumber); 1104 private int parseRelationAndString(Output<String> s) throws ParseException { 1143 throw new ParseException("no relation (= < <1 <2 <c <3 <4 <i) at beginning of line " 1152 throw new ParseException("prefix string not allowed for test string: on line " 1157 throw new ParseException("unexpected line contents after test string on line " 1164 private void parseAndSetAttribute() throws ParseException { 1175 throw new ParseException("missing '=' on line " + fileLineNumber, fileLineNumber); [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationTest.java | 17 import java.text.ParseException; 1078 …private int parseString(int start, Output<String> prefix, Output<String> s) throws ParseException { 1089 throw new ParseException("empty prefix on line " + fileLineNumber, fileLineNumber); 1101 throw new ParseException("empty string on line " + fileLineNumber, fileLineNumber); 1107 private int parseRelationAndString(Output<String> s) throws ParseException { 1146 throw new ParseException("no relation (= < <1 <2 <c <3 <4 <i) at beginning of line " 1155 throw new ParseException("prefix string not allowed for test string: on line " 1160 throw new ParseException("unexpected line contents after test string on line " 1167 private void parseAndSetAttribute() throws ParseException { 1178 throw new ParseException("missing '=' on line " + fileLineNumber, fileLineNumber); [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TextFormatTest.java | 501 } catch (TextFormat.ParseException e) { in testMergeMessageSetWithOverwriteForbidden() 727 } catch (TextFormat.ParseException e) { in assertParseError() 735 } catch (TextFormat.ParseException e) { in assertParseError() 745 } catch (TextFormat.ParseException e) { in assertParseErrorWithUnknownFields() 751 throws TextFormat.ParseException { in assertParseSuccessWithUnknownFields() 762 } catch (TextFormat.ParseException e) { in assertParseErrorWithUnknownExtensions() 768 throws TextFormat.ParseException { in assertParseSuccessWithUnknownExtensions() 779 } catch (TextFormat.ParseException e) { in assertParseErrorWithOverwriteForbidden() 785 throws TextFormat.ParseException { in assertParseSuccessWithOverwriteForbidden() 1066 } catch (TextFormat.ParseException e) { in testParseBoolean() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | StringPrepParseException.java | 11 import java.text.ParseException; 20 public class StringPrepParseException extends ParseException {
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | StringPrepParseException.java | 12 import java.text.ParseException; 20 public class StringPrepParseException extends ParseException {
|
D | PluralRules.java | 19 import java.text.ParseException; 379 throws ParseException { in parseDescription() 1341 throws ParseException { in parseConstraint() 1501 private static ParseException unexpected(String token, String context) { in unexpected() 1502 return new ParseException("unexpected token '" + token + in unexpected() 1510 throws ParseException { in nextToken() 1514 throw new ParseException("missing token at end of '" + context + "'", -1); in nextToken() 1522 private static Rule parseRule(String description) throws ParseException { in parseRule() 1531 throw new ParseException("missing ':' in rule description '" + in parseRule() 1537 throw new ParseException("keyword '" + keyword + in parseRule() [all …]
|