HomeSort by relevance Sort by last modified time
    Searched refs:lenient (Results 1 - 25 of 136) sorted by null

1 2 3 4 5 6

  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestReducedParser.java 97 private static final boolean LENIENT = false;
138 // Parse data and values that are consistent whether strict or lenient
214 // Parse data and values in strict and lenient modes.
216 // Strict Pair(endPos, value), Lenient Pair(endPos, value)
222 {YEAR, 2, 2, 2010, "3", 0, strict(0, null), lenient(1, 3)},
223 {YEAR, 2, 2, 2010, "4", 0, strict(0, null), lenient(1, 4)},
224 {YEAR, 2, 2, 2010, "5", 1, strict(1, null), lenient(1, null)},
225 {YEAR, 2, 2, 2010, "6-2", 0, strict(0, null), lenient(1, 6)},
226 {YEAR, 2, 2, 2010, "9", 0, strict(0, null), lenient(1, 9)},
229 {YEAR, 1, 4, 2000, "7A", 0, strict(1, 2007), lenient(1, 2007)}
501 private static Pair lenient(int parseLen, Integer parseVal) { method in class:TestReducedParser
    [all...]
  /frameworks/base/core/java/android/util/
JsonWriter.java 141 private boolean lenient; field in class:JsonWriter
177 * to lenient permits the following:
185 public void setLenient(boolean lenient) {
186 this.lenient = lenient;
193 return lenient;
334 * {@link Double#isInfinite() infinities} unless this writer is lenient.
338 if (!lenient && (Double.isNaN(value) || Double.isInfinite(value))) {
361 * {@link Double#isInfinite() infinities} unless this writer is lenient.
370 if (!lenient &
    [all...]
JsonReader.java 57 * exception. Lenient parsers should call {@link #skipValue()} to recursively
187 private boolean lenient = false; field in class:JsonReader
244 * parser to lenient causes it to ignore the following syntax errors:
261 public void setLenient(boolean lenient) {
262 this.lenient = lenient;
269 return lenient;
335 if (!lenient && token != JsonToken.BEGIN_ARRAY && token != JsonToken.BEGIN_OBJECT) {
353 if (lenient) {
612 /* In lenient mode, a 0-length literal means 'null' *
    [all...]
  /cts/libs/json/src/com/android/json/stream/
JsonReader.java 55 * exception. Lenient parsers should call {@link #skipValue()} to recursively
179 private boolean lenient = false; field in class:JsonReader
230 * parser to lenient causes it to ignore the following syntax errors:
247 public void setLenient(boolean lenient) {
248 this.lenient = lenient;
580 /* In lenient mode, a 0-length literal means 'null' */
642 * Read the name/value separator. Usually a colon ':'. In lenient mode
765 if (!lenient) {
    [all...]
  /external/icu/icu4c/source/test/intltest/
calregts.h 84 void dowTest(UBool lenient) ;
caltest.h 37 void dowTest(UBool lenient);
numberformattesttuple.h 126 int32_t lenient; member in class:NumberFormatTestTuple
  /external/icu/icu4c/source/i18n/
datefmt.cpp 343 // We arrive here if fCalendar => calClone is non-lenient and
645 DateFormat::setLenient(UBool lenient)
648 fCalendar->setLenient(lenient);
651 setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, lenient, status);
652 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, lenient, status);
660 UBool lenient = TRUE; local
662 lenient = fCalendar->isLenient();
665 return lenient
671 DateFormat::setCalendarLenient(UBool lenient)
674 fCalendar->setLenient(lenient);
    [all...]
rbnf.cpp 58 }; /* "%%lenient-parse:" */
691 , lenient(FALSE)
716 , lenient(FALSE)
741 , lenient(FALSE)
765 , lenient(FALSE)
790 , lenient(FALSE)
812 , lenient(FALSE)
879 , lenient(FALSE)
902 lenient = rhs.lenient;
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Calendar.java 105 * fields, <em>lenient</em> and <em>non-lenient</em>. When a
106 * <code>Calendar</code> is in lenient mode, it accepts a wider range of
109 * the calendar fields are normalized. For example, a lenient
113 * <p>When a <code>Calendar</code> is in non-lenient mode, it throws an
117 * non-lenient <code>GregorianCalendar</code> throws an exception upon
356 // the Calendar is lenient, the fields are also renormalized to standard
896 private boolean lenient = true; field in class:Calendar
1083 private boolean lenient = true; field in class:Calendar.Builder
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
scalar_test.py 39 lenient = []
43 # GraphDef level is ever scalar lenient.
54 for version in strict + lenient:
  /external/icu/icu4c/source/i18n/unicode/
datefmt.h 395 * 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...]
rbnf.h 225 * <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.
1108 UBool lenient; member in class:RuleBasedNumberFormat
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
CalendarICU.java 243 public void setLenient(boolean lenient) {
244 fIcuCal.setLenient(lenient);
SimpleDateFormatICU.java 287 public void setLenient(boolean lenient) {
288 fIcuSdf.setLenient(lenient);
  /libcore/ojluni/src/main/java/java/text/
DateFormat.java 372 * <p> By default, parsing is lenient: If the input is not in the form used
708 * Specify whether or not date/time parsing is to be lenient. With
709 * lenient parsing, the parser may use heuristics to interpret inputs that
715 * getCalendar().setLenient(lenient)
721 * @param lenient when {@code true}, parsing is lenient
724 public void setLenient(boolean lenient)
726 calendar.setLenient(lenient);
730 * Tell whether date/time parsing is to be lenient.
736 * @return {@code true} if the {@link #calendar} is lenient;
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
CalendarTest.java 416 boolean lenient = cal.isLenient();
417 cal.setLenient(!lenient);
418 assertFalse(lenient == cal.isLenient());
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
Utils.java 53 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':'
188 public static int fromHex(char ch, boolean lenient) throws NumberFormatException {
195 } else if (lenient) {
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateFormat.java 640 * <p> By default, parsing is lenient: If the input is not in the form used
687 * <p> By default, parsing is lenient: If the input is not in the form used
721 * <p> By default, parsing is lenient: If the input is not in the form used
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateFormat.java 688 * <p> By default, parsing is lenient: If the input is not in the form used
736 * <p> By default, parsing is lenient: If the input is not in the form used
771 * <p> By default, parsing is lenient: If the input is not in the form used
    [all...]
  /prebuilts/tools/common/m2/repository/net/sf/ezmorph/ezmorph/1.0.6/
ezmorph-1.0.6.jar 
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DataDrivenNumberFormatTestData.java 119 public Integer lenient = null; field in class:DataDrivenNumberFormatTestData
224 "lenient",
405 lenient = Integer.valueOf(value);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
Calendar.java 63 * <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
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DataDrivenNumberFormatTestData.java 116 public Integer lenient = null; field in class:DataDrivenNumberFormatTestData
221 "lenient",
402 lenient = Integer.valueOf(value);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
Calendar.java 78 * <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
1325 private boolean lenient = true; field in class:Calendar
    [all...]

Completed in 1008 milliseconds

1 2 3 4 5 6