Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeMapBuilder.java20 Leniency leniency; field in UnicodeMapBuilder
38 return leniency; in getLeniency()
41 public UnicodeMapBuilder<T> setLeniency(Leniency leniency) { in setLeniency() argument
42 this.leniency = leniency; in setLeniency()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java199 private final Leniency leniency; field in PhoneNumberMatcher
231 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() argument
234 if ((util == null) || (leniency == null)) { in PhoneNumberMatcher()
243 this.leniency = leniency; in PhoneNumberMatcher()
401 if (leniency.compareTo(Leniency.VALID) >= 0) { in parseAndVerify()
422 if (leniency.verify(number, candidate, phoneUtil, this)) { in parseAndVerify()
DPhoneNumberUtil.java3109 final CharSequence text, final String defaultRegion, final Leniency leniency,
3116 PhoneNumberUtil.this, text, defaultRegion, leniency, maxTries);
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberMatcher.java200 private final Leniency leniency; field in PhoneNumberMatcher
232 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() argument
235 if ((util == null) || (leniency == null)) { in PhoneNumberMatcher()
244 this.leniency = leniency; in PhoneNumberMatcher()
402 if (leniency.compareTo(Leniency.VALID) >= 0) { in parseAndVerify()
423 if (leniency.verify(number, candidate, phoneUtil, this)) { in parseAndVerify()
DPhoneNumberUtil.java3154 final CharSequence text, final String defaultRegion, final Leniency leniency,
3161 PhoneNumberUtil.this, text, defaultRegion, leniency, maxTries);
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java603 private void doTestNumberMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) { in doTestNumberMatchesForLeniency() argument
608 findNumbersForLeniency(test.rawString, test.region, leniency); in doTestNumberMatchesForLeniency()
612 System.err.println("No match found in " + test.toString() + " for leniency: " + leniency); in doTestNumberMatchesForLeniency()
625 private void doTestNumberNonMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) { in doTestNumberNonMatchesForLeniency() argument
629 findNumbersForLeniency(test.rawString, test.region, leniency); in doTestNumberNonMatchesForLeniency()
633 System.err.println("Match found in " + test.toString() + " for leniency: " + leniency); in doTestNumberNonMatchesForLeniency()
1016 List<NumberContext> contextPairs, Leniency leniency) { in doTestInContext() argument
1024 phoneUtil.findNumbers(text, defaultCountry, leniency, Long.MAX_VALUE).iterator(); in doTestInContext()
1035 ensureTermination(text, defaultCountry, leniency); in doTestInContext()
1043 private void ensureTermination(String text, String defaultCountry, Leniency leniency) { in ensureTermination() argument
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp1624 UBool leniency; member
1664 sdmft->setLenient(itemPtr->leniency); in TestT10619()
1665 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status); in TestT10619()
1666 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status); in TestT10619()
1667 sdmft->setBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, itemPtr->leniency, status); in TestT10619()
1674 " - leniency " + itemPtr->leniency); in TestT10619()
Ddtfmttst.cpp4559 UBool leniency; member
4599 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status). in TestDateFormatLeniency()
4600 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status). in TestDateFormatLeniency()
4601 setBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, itemPtr->leniency, status); in TestDateFormatLeniency()
4611 " - leniency " + itemPtr->leniency); in TestDateFormatLeniency()
4620 " - leniency " + itemPtr->leniency); in TestDateFormatLeniency()
4638 UBool leniency; member
4699 … sdmft->setBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, itemPtr->leniency, status); in TestParseMultiPatternMatch()
4708 " - leniency " + itemPtr->leniency); in TestParseMultiPatternMatch()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4788 public boolean leniency; in TestDateFormatLeniency() field in DateFormatTest.TestDateFormatLeniencyItem
4795 leniency = len; in TestDateFormatLeniency()
4814 sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, item.leniency) in TestDateFormatLeniency()
4815 .setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, item.leniency) in TestDateFormatLeniency()
4816 … .setBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH, item.leniency); in TestDateFormatLeniency()
4824 … errln("error: unexpected parse success..." + item.parseString + " w/ lenient=" + item.leniency in TestDateFormatLeniency()
4894 public boolean leniency; in TestParseMultiPatternMatch() field in DateFormatTest.TestMultiPatternMatchItem
4900 leniency = len; in TestParseMultiPatternMatch()
4948 sdfmt.setLenient(item.leniency); in TestParseMultiPatternMatch()
4949 … sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH, item.leniency); in TestParseMultiPatternMatch()
[all …]
DDateFormatRegressionTest.java1430 public boolean leniency; in TestT10619() field in DateFormatRegressionTest.TestDateFormatLeniencyItem
1436 leniency = len; in TestT10619()
1463 sdfmt.setLenient(item.leniency); in TestT10619()
1472 …or: unexpected parse success..."+item.parseString + " w/ lenient="+item.leniency+" should have fai… in TestT10619()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4785 public boolean leniency; in TestDateFormatLeniency() field in DateFormatTest.TestDateFormatLeniencyItem
4792 leniency = len; in TestDateFormatLeniency()
4811 sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, item.leniency) in TestDateFormatLeniency()
4812 .setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, item.leniency) in TestDateFormatLeniency()
4813 … .setBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH, item.leniency); in TestDateFormatLeniency()
4821 … errln("error: unexpected parse success..." + item.parseString + " w/ lenient=" + item.leniency in TestDateFormatLeniency()
4891 public boolean leniency; in TestParseMultiPatternMatch() field in DateFormatTest.TestMultiPatternMatchItem
4897 leniency = len; in TestParseMultiPatternMatch()
4945 sdfmt.setLenient(item.leniency); in TestParseMultiPatternMatch()
4946 … sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH, item.leniency); in TestParseMultiPatternMatch()
[all …]
DDateFormatRegressionTest.java1427 public boolean leniency; in TestT10619() field in DateFormatRegressionTest.TestDateFormatLeniencyItem
1433 leniency = len; in TestT10619()
1460 sdfmt.setLenient(item.leniency); in TestT10619()
1469 …or: unexpected parse success..."+item.parseString + " w/ lenient="+item.leniency+" should have fai… in TestT10619()
/external/libphonenumber/
Drelease_notes.txt1105 metadata that they may be omitted. Applies to leniency level VALID and higher.
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt12517 $x{leniency → liniənsi ; # lɛninsi