Home
last modified time | relevance | path

Searched refs:TOO_SHORT (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/chrono/src/format/
Dparse.rs16 use super::{BAD_FORMAT, INVALID, NOT_ENOUGH, OUT_OF_RANGE, TOO_LONG, TOO_SHORT};
196 None => return Err(TOO_SHORT), in parse_rfc3339()
267 return Err((s, TOO_SHORT)); in parse_internal()
278 return Err((s, TOO_SHORT)); in parse_internal()
368 return Err((s, TOO_SHORT)); in parse_internal()
388 return Err((s, TOO_SHORT)); in parse_internal()
396 return Err((s, TOO_SHORT)); in parse_internal()
404 return Err((s, TOO_SHORT)); in parse_internal()
538 check!("", [lit!("a")]; TOO_SHORT); in test_parse()
561 check!("", [num!(Year)]; TOO_SHORT); in test_parse()
[all …]
Dscan.rs10 use super::{ParseResult, INVALID, OUT_OF_RANGE, TOO_SHORT};
45 return Err(TOO_SHORT); in number()
104 return Err(TOO_SHORT); in short_month0()
128 return Err(TOO_SHORT); in short_weekday()
185 None => Err(TOO_SHORT), in char()
195 Err(TOO_SHORT) in space()
228 Err(TOO_SHORT) in timezone_offset_internal()
237 None => return Err(TOO_SHORT), in timezone_offset_internal()
262 return Err(TOO_SHORT); in timezone_offset_internal()
267 _ => return Err(TOO_SHORT), in timezone_offset_internal()
Dmod.rs385 const TOO_SHORT: ParseError = ParseError(ParseErrorKind::TooShort); constant
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1458 assertEquals(ValidationResult.TOO_SHORT, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason()
1475 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1478 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1491 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1495 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1507 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1510 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1557 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_LocalOnly()
1601 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
1604 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java459 TOO_SHORT, enumConstant
1435 != ValidationResult.TOO_SHORT) {
2574 return ValidationResult.TOO_SHORT;
2697 if (isPossibleNumberWithReason(numberCopy) == ValidationResult.TOO_SHORT
3243 if (validationResult != ValidationResult.TOO_SHORT
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java489 TOO_SHORT, enumConstant
1470 != ValidationResult.TOO_SHORT) {
2616 return ValidationResult.TOO_SHORT;
2740 if (isPossibleNumberWithReason(numberCopy) == ValidationResult.TOO_SHORT
3288 if (validationResult != ValidationResult.TOO_SHORT