Searched refs:lenient (Results 1 - 25 of 51) sorted by relevance

123

/external/icu/icu4c/source/test/intltest/
H A Dcalregts.h82 void dowTest(UBool lenient) ;
H A Dcaltest.h37 void dowTest(UBool lenient);
H A Dnumberformattesttuple.h125 int32_t lenient; member in class:NumberFormatTestTuple
H A Dnumberformattesttuple.cpp333 FIELD_INIT(lenient, &gIntOps),
H A Ddtfmttst.cpp874 expLittleD = expBigD; // Expect the same, with default lenient parsing
1069 // lenient inputStrings
3817 UBool lenient; member in struct:__anon7578
3826 // loc lenient fail? datePattern dateString
3861 formatter->setLenient(itemPtr->lenient);
3862 formatter->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->lenient, status).setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->lenient, status);
3866 errln("FAIL, err when expected success: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient " + itemPtr->lenient +
3870 errln("FAIL, expected err but got none: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient "
[all...]
H A Dcaltest.cpp458 UBool lenient = ( i > 0 ); local
459 cal->setLenient(lenient);
460 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed");
461 // Later: Check for lenient behavior
706 void CalendarTest::dowTest(UBool lenient) argument
715 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
716 cal->setLenient(lenient);
719 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
/external/icu/icu4c/source/i18n/
H A Ddatefmt.cpp343 // We arrive here if fCalendar => calClone is non-lenient and
644 DateFormat::setLenient(UBool lenient) argument
647 fCalendar->setLenient(lenient);
650 setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, lenient, status);
651 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, lenient, status);
659 UBool lenient = TRUE; local
661 lenient = fCalendar->isLenient();
664 return lenient
670 DateFormat::setCalendarLenient(UBool lenient) argument
673 fCalendar->setLenient(lenient);
[all...]
H A Drbnf.cpp56 }; /* "%%lenient-parse:" */
668 , lenient(FALSE)
692 , lenient(FALSE)
716 , lenient(FALSE)
739 , lenient(FALSE)
763 , lenient(FALSE)
784 , lenient(FALSE)
850 , lenient(FALSE)
873 lenient = rhs.lenient;
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Ddatefmt.h395 * By default, parsing is lenient: If the input is not in the form used by
428 * By default, parsing is lenient: If the input is not in the form used by
458 * By default, parsing is lenient: If the input is not in the form used by
658 * numeric processing is lenient.
664 * Specifies whether date/time parsing is to be lenient. With
665 * lenient parsing, the parser may use heuristics to interpret inputs that
666 * do not precisely match this object's format. Without lenient parsing,
679 * @param lenient True specifies date/time interpretation to be lenient.
683 virtual void setLenient(UBool lenient);
[all...]
H A Drbnf.h225 * <p>The user can also specify a special &quot;rule set&quot; named <tt>%%lenient-parse</tt>.
226 * The body of <tt>%%lenient-parse</tt> isn't a set of number-formatting rules, but a <tt>RuleBasedCollator</tt>
227 * description which is used to define equivalences for lenient parsing. For more information
228 * on the syntax, see <tt>RuleBasedCollator</tt>. For more information on lenient parsing,
231 * of the <tt>lenient-parse</tt> rule set.</p>
610 * for lenient parsing.
616 * lenient parsing.
645 * lenient parsing.
875 * parseable substring. This function's behavior is affected by the lenient
892 * Turns lenient pars
1046 UBool lenient; member in class:RuleBasedNumberFormat
[all...]
H A Ddecimfmt.h378 * <p>During parsing, grouping separators are ignored if in lenient mode;
2158 UBool lenient) const;
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCalendarICU.java243 public void setLenient(boolean lenient) { argument
244 fIcuCal.setLenient(lenient);
H A DSimpleDateFormatICU.java287 public void setLenient(boolean lenient) { argument
288 fIcuSdf.setLenient(lenient);
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
H A DCalendarTest.java416 boolean lenient = cal.isLenient();
417 cal.setLenient(!lenient);
418 assertFalse(lenient == cal.isLenient());
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDateFormat.java642 * <p> By default, parsing is lenient: If the input is not in the form used
689 * <p> By default, parsing is lenient: If the input is not in the form used
723 * <p> By default, parsing is lenient: If the input is not in the form used
759 // This occurs if the calendar is non-lenient and there is
1498 * Specifies whether date/time parsing is to be lenient. With
1499 * lenient parsing, the parser may use heuristics to interpret inputs that
1500 * do not precisely match this object's format. Without lenient parsing,
1513 * @param lenient True specifies date/time interpretation to be lenient.
1518 public void setLenient(boolean lenient) argument
1544 setCalendarLenient(boolean lenient) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateFormat.java690 * <p> By default, parsing is lenient: If the input is not in the form used
738 * <p> By default, parsing is lenient: If the input is not in the form used
773 * <p> By default, parsing is lenient: If the input is not in the form used
810 // This occurs if the calendar is non-lenient and there is
1615 * Specifies whether date/time parsing is to be lenient. With
1616 * lenient parsing, the parser may use heuristics to interpret inputs that
1617 * do not precisely match this object's format. Without lenient parsing,
1630 * @param lenient True specifies date/time interpretation to be lenient.
1636 public void setLenient(boolean lenient) argument
1664 setCalendarLenient(boolean lenient) argument
[all...]
/external/chromium-trace/catapult/telemetry/third_party/png/
H A Dpng.py1378 def chunk(self, seek=None, lenient=False):
1391 If the optional `lenient` argument evaluates to True,
1426 if lenient:
1700 def preamble(self, lenient=False):
1707 If the optional `lenient` argument evaluates to True,
1721 self.process_chunk(lenient=lenient)
1742 def process_chunk(self, lenient=False):
1747 If the optional `lenient` argument evaluates to True,
1751 type, data = self.chunk(lenient
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTestData.java117 public Integer lenient = null; field in class:NumberFormatTestData
221 "lenient",
402 lenient = Integer.valueOf(value);
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
H A DCalendar.java63 * <p>When a <code>Calendar</code> is <em>lenient</em>, it accepts a wider range
64 * of field values than it produces. For example, a lenient
67 * non-lenient <code>GregorianCalendar</code> throws an exception when given
582 * calendar is set to not be lenient, out-of-range field values will
671 // the Calendar is lenient, the fields are also renormalized to standard
2033 * Specify whether or not date/time interpretation is to be lenient. With
2034 * lenient interpretation, a date such as "February 942, 1996" will be
2042 public void setLenient(boolean lenient) argument
2044 calendar.setLenient(lenient);
2048 * Tell whether date/time interpretation is to be lenient
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTestData.java116 public Integer lenient = null; field in class:NumberFormatTestData
220 "lenient",
401 lenient = Integer.valueOf(value);
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DCalendar.java78 * <p>When a <code>Calendar</code> is <em>lenient</em>, it accepts a wider range
79 * of field values than it produces. For example, a lenient
82 * non-lenient <code>GregorianCalendar</code> throws an exception when given
617 * calendar is set to not be lenient, out-of-range field values will
691 // the Calendar is lenient, the fields are also renormalized to standard
1320 private boolean lenient = true; field in class:Calendar
1929 * When in lenient mode the out of range values are pinned to their respective min/max.
2324 return (lenient ? 1 : 0)
4063 * Specify whether or not date/time interpretation is to be lenient. With
4064 * lenient interpretatio
4071 setLenient(boolean lenient) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCalendar.java77 * <p>When a <code>Calendar</code> is <em>lenient</em>, it accepts a wider range
78 * of field values than it produces. For example, a lenient
81 * non-lenient <code>GregorianCalendar</code> throws an exception when given
616 * calendar is set to not be lenient, out-of-range field values will
691 // the Calendar is lenient, the fields are also renormalized to standard
1378 private boolean lenient = true; field in class:Calendar
2006 * When in lenient mode the out of range values are pinned to their respective min/max.
2414 return (lenient ? 1 : 0)
4169 * Specify whether or not date/time interpretation is to be lenient. With
4170 * lenient interpretatio
4178 setLenient(boolean lenient) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DCompatibilityTest.java317 boolean lenient = ( i > 0 );
318 cal.setLenient(lenient);
319 if (lenient != cal.isLenient()) errln("FAIL: setLenient/isLenient failed");
320 // Later: Check for lenient behavior
473 void dowTest(boolean lenient) { argument
477 cal.setLenient(lenient);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCompatibilityTest.java316 boolean lenient = ( i > 0 );
317 cal.setLenient(lenient);
318 if (lenient != cal.isLenient()) errln("FAIL: setLenient/isLenient failed");
319 // Later: Check for lenient behavior
472 void dowTest(boolean lenient) { argument
476 cal.setLenient(lenient);
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
H A DDateFormat.java525 * <p> By default, parsing is lenient: If the input is not in the form used
560 * <p> By default, parsing is lenient: If the input is not in the form used
1332 * Specifies whether date/time parsing is to be lenient. With
1333 * lenient parsing, the parser may use heuristics to interpret inputs that
1336 * @param lenient when true, parsing is lenient
1340 public void setLenient(boolean lenient) argument
1342 dateFormat.setLenient(lenient);
1346 * Returns whether date/time parsing is lenient.

Completed in 1618 milliseconds

123