Home
last modified time | relevance | path

Searched refs:leniency (Results 1 – 20 of 20) 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/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberMatcher.java200 private final Leniency leniency; field in PhoneNumberMatcher
226 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() argument
229 if ((util == null) || (leniency == null)) { in PhoneNumberMatcher()
238 this.leniency = leniency; in PhoneNumberMatcher()
396 if (leniency.compareTo(Leniency.VALID) >= 0) { in parseAndVerify()
417 if (leniency.verify(number, candidate, phoneUtil)) { in parseAndVerify()
DPhoneNumberUtil.java3143 final CharSequence text, final String defaultRegion, final Leniency leniency,
3150 PhoneNumberUtil.this, text, defaultRegion, leniency, maxTries);
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java199 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()
395 if (leniency.compareTo(Leniency.VALID) >= 0) { in parseAndVerify()
416 if (leniency.verify(number, candidate, phoneUtil)) { in parseAndVerify()
DPhoneNumberUtil.java3098 final CharSequence text, final String defaultRegion, final Leniency leniency,
3105 PhoneNumberUtil.this, text, defaultRegion, leniency, maxTries);
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java601 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()
1014 List<NumberContext> contextPairs, Leniency leniency) { in doTestInContext() argument
1022 phoneUtil.findNumbers(text, defaultCountry, leniency, Long.MAX_VALUE).iterator(); in doTestInContext()
1033 ensureTermination(text, defaultCountry, leniency); in doTestInContext()
1041 private void ensureTermination(String text, String defaultCountry, Leniency leniency) { in ensureTermination() argument
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp1600 UBool leniency; member
1640 sdmft->setLenient(itemPtr->leniency); in TestT10619()
1641 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status); in TestT10619()
1642 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status); in TestT10619()
1643 sdmft->setBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, itemPtr->leniency, status); in TestT10619()
1650 " - leniency " + itemPtr->leniency); in TestT10619()
Ddtfmttst.cpp4497 UBool leniency; member
4537 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->leniency, status). in TestDateFormatLeniency()
4538 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status). in TestDateFormatLeniency()
4539 setBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, itemPtr->leniency, status); in TestDateFormatLeniency()
4549 " - leniency " + itemPtr->leniency); in TestDateFormatLeniency()
4558 " - leniency " + itemPtr->leniency); in TestDateFormatLeniency()
4576 UBool leniency; member
4637 … sdmft->setBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, itemPtr->leniency, status); in TestParseMultiPatternMatch()
4646 " - leniency " + itemPtr->leniency); in TestParseMultiPatternMatch()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4697 public boolean leniency; in TestDateFormatLeniency() field in DateFormatTest.TestDateFormatLeniencyItem
4704 leniency = len; in TestDateFormatLeniency()
4723 sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, item.leniency) in TestDateFormatLeniency()
4724 .setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, item.leniency) in TestDateFormatLeniency()
4725 … .setBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH, item.leniency); in TestDateFormatLeniency()
4733 … errln("error: unexpected parse success..." + item.parseString + " w/ lenient=" + item.leniency in TestDateFormatLeniency()
4803 public boolean leniency; in TestParseMultiPatternMatch() field in DateFormatTest.TestMultiPatternMatchItem
4809 leniency = len; in TestParseMultiPatternMatch()
4857 sdfmt.setLenient(item.leniency); in TestParseMultiPatternMatch()
4858 … sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH, item.leniency); in TestParseMultiPatternMatch()
[all …]
DDateFormatRegressionTest.java1395 public boolean leniency; in TestT10619() field in DateFormatRegressionTest.TestDateFormatLeniencyItem
1401 leniency = len; in TestT10619()
1428 sdfmt.setLenient(item.leniency); in TestT10619()
1437 …or: unexpected parse success..."+item.parseString + " w/ lenient="+item.leniency+" should have fai… in TestT10619()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4700 public boolean leniency; in TestDateFormatLeniency() field in DateFormatTest.TestDateFormatLeniencyItem
4707 leniency = len; in TestDateFormatLeniency()
4726 sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, item.leniency) in TestDateFormatLeniency()
4727 .setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, item.leniency) in TestDateFormatLeniency()
4728 … .setBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH, item.leniency); in TestDateFormatLeniency()
4736 … errln("error: unexpected parse success..." + item.parseString + " w/ lenient=" + item.leniency in TestDateFormatLeniency()
4806 public boolean leniency; in TestParseMultiPatternMatch() field in DateFormatTest.TestMultiPatternMatchItem
4812 leniency = len; in TestParseMultiPatternMatch()
4860 sdfmt.setLenient(item.leniency); in TestParseMultiPatternMatch()
4861 … sdfmt.setBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH, item.leniency); in TestParseMultiPatternMatch()
[all …]
DDateFormatRegressionTest.java1398 public boolean leniency; in TestT10619() field in DateFormatRegressionTest.TestDateFormatLeniencyItem
1404 leniency = len; in TestT10619()
1431 sdfmt.setLenient(item.leniency); in TestT10619()
1440 …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/toolchain-utils/dejagnu/gdb_baseline/
Dx86_64-cros-linux-gnu2264 PASS: gdb.base/constvars.exp: print *leniency
2265 PASS: gdb.base/constvars.exp: ptype leniency
Di686-pc-linux-gnu2030 PASS: gdb.base/constvars.exp: print *leniency
2031 PASS: gdb.base/constvars.exp: ptype leniency
Darmv7a-cros-linux-gnueabi2071 PASS: gdb.base/constvars.exp: print *leniency
2072 PASS: gdb.base/constvars.exp: ptype leniency
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt12517 $x{leniency → liniənsi ; # lɛninsi
Dinternal_raw_IPA.txt96364 leniency %29491 lˈiniənsi, lˈinjənsi
Dinternal_raw_IPA-old.txt114169 leniency %20873 lˈiniənsi, lˈinjən-, lˈinjənsi