/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcher.java | 199 private final Leniency leniency; field in PhoneNumberMatcher 225 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() argument 228 if ((util == null) || (leniency == null)) { in PhoneNumberMatcher() 237 this.leniency = leniency; in PhoneNumberMatcher() 396 if (leniency.compareTo(Leniency.VALID) >= 0) { in parseAndVerify() 436 if (leniency.verify(number, candidate, phoneUtil)) { in parseAndVerify()
|
D | PhoneNumberUtil.java | 2832 final CharSequence text, final String defaultRegion, final Leniency leniency, 2839 PhoneNumberUtil.this, text, defaultRegion, leniency, maxTries);
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 601 private void doTestNumberMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) { in doTestNumberMatchesForLeniency() argument 606 findNumbersForLeniency(test.rawString, test.region, leniency); in doTestNumberMatchesForLeniency() 610 System.err.println("No match found in " + test.toString() + " for leniency: " + leniency); in doTestNumberMatchesForLeniency() 623 private void doTestNumberNonMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) { in doTestNumberNonMatchesForLeniency() argument 627 findNumbersForLeniency(test.rawString, test.region, leniency); in doTestNumberNonMatchesForLeniency() 631 System.err.println("Match found in " + test.toString() + " for leniency: " + leniency); in doTestNumberNonMatchesForLeniency() 1011 List<NumberContext> contextPairs, Leniency leniency) { in doTestInContext() argument 1019 phoneUtil.findNumbers(text, defaultCountry, leniency, Long.MAX_VALUE).iterator(); in doTestInContext() 1030 ensureTermination(text, defaultCountry, leniency); in doTestInContext() 1038 private void ensureTermination(String text, String defaultCountry, Leniency leniency) { in ensureTermination() argument [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 1596 UBool leniency; member 1636 sdmft->setLenient(itemPtr->leniency); in TestT10619() 1637 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status); in TestT10619() 1638 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status); in TestT10619() 1639 sdmft->setBooleanAttribute(UDAT_PARSE_PARTIAL_MATCH, itemPtr->leniency, status); in TestT10619() 1646 " - leniency " + itemPtr->leniency); in TestT10619()
|
D | dtfmttst.cpp | 4389 UBool leniency; member 4429 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status). in TestDateFormatLeniency() 4430 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status). in TestDateFormatLeniency() 4431 setBooleanAttribute(UDAT_PARSE_PARTIAL_MATCH, itemPtr->leniency, status); in TestDateFormatLeniency() 4441 " - leniency " + itemPtr->leniency); in TestDateFormatLeniency() 4450 " - leniency " + itemPtr->leniency); in TestDateFormatLeniency() 4468 UBool leniency; member 4529 … sdmft->setBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, itemPtr->leniency, status); in TestParseMultiPatternMatch() 4538 " - leniency " + itemPtr->leniency); in TestParseMultiPatternMatch()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 4554 public boolean leniency; in TestDateFormatLeniency() field in DateFormatTest.TestDateFormatLeniencyItem 4561 leniency = len; in TestDateFormatLeniency() 4580 sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, item.leniency) in TestDateFormatLeniency() 4581 .setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, item.leniency) in TestDateFormatLeniency() 4582 .setBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_MATCH, item.leniency); in TestDateFormatLeniency() 4590 … errln("error: unexpected parse success..." + item.parseString + " w/ lenient=" + item.leniency in TestDateFormatLeniency() 4658 public boolean leniency; in TestParseMultiPatternMatch() field in DateFormatTest.TestMultiPatternMatchItem 4664 leniency = len; in TestParseMultiPatternMatch() 4712 sdfmt.setLenient(item.leniency); in TestParseMultiPatternMatch() 4713 … sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH, item.leniency); in TestParseMultiPatternMatch() [all …]
|
D | DateFormatRegressionTest.java | 1355 public boolean leniency; in TestT10619() field in DateFormatRegressionTest.TestDateFormatLeniencyItem 1361 leniency = len; in TestT10619() 1388 sdfmt.setLenient(item.leniency); in TestT10619() 1397 …or: unexpected parse success..."+item.parseString + " w/ lenient="+item.leniency+" should have fai… in TestT10619()
|
/external/libphonenumber/ |
D | release_notes.txt | 642 metadata that they may be omitted. Applies to leniency level VALID and higher.
|