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

1 2 3 4 5

  /external/v8/test/mjsunit/regress/
regress-bind-receiver.js 29 function lenient() { return this; } function
39 assertEquals(true, lenient.bind(true)() instanceof Boolean);
40 assertEquals(true, lenient.bind(42)() instanceof Number);
41 assertEquals(true, lenient.bind("")() instanceof String);
42 assertEquals(this, lenient.bind(null)());
43 assertEquals(this, lenient.bind(undefined)());
44 assertEquals(obj, lenient.bind(obj)());
  /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...]
  /external/jetty/src/java/org/eclipse/jetty/util/
QuotedStringTokenizer.java 423 * @param lenient if true, will leave in backslashes that aren't valid escapes
426 public static String unquoteOnly(String s, boolean lenient)
447 if (lenient && !isValidEscaping(c))
477 public static String unquote(String s, boolean lenient)
534 if (lenient && !isValidEscaping(c))
  /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 80 void dowTest(UBool lenient) ;
caltest.h 35 void dowTest(UBool lenient);
numberformattesttuple.h 123 int32_t lenient; member in class:NumberFormatTestTuple
  /external/icu/icu4c/source/i18n/
datefmt.cpp 341 // We arrive here if fCalendar => calClone is non-lenient and
642 DateFormat::setLenient(UBool lenient)
645 fCalendar->setLenient(lenient);
648 setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, lenient, status);
649 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, lenient, status);
657 UBool lenient = TRUE; local
659 lenient = fCalendar->isLenient();
662 return lenient
668 DateFormat::setCalendarLenient(UBool lenient)
671 fCalendar->setLenient(lenient);
    [all...]
rbnf.cpp 54 }; /* "%%lenient-parse:" */
666 , lenient(FALSE)
690 , lenient(FALSE)
714 , lenient(FALSE)
737 , lenient(FALSE)
761 , lenient(FALSE)
782 , lenient(FALSE)
848 , lenient(FALSE)
871 lenient = rhs.lenient;
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Calendar.java 107 * fields, <em>lenient</em> and <em>non-lenient</em>. When a
108 * <code>Calendar</code> is in lenient mode, it accepts a wider range of
111 * the calendar fields are normalized. For example, a lenient
115 * <p>When a <code>Calendar</code> is in non-lenient mode, it throws an
119 * non-lenient <code>GregorianCalendar</code> throws an exception upon
358 // the Calendar is lenient, the fields are also renormalized to standard
809 private boolean lenient = true; field in class:Calendar
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
datefmt.h 393 * By default, parsing is lenient: If the input is not in the form used by
426 * By default, parsing is lenient: If the input is not in the form used by
456 * 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 217 * <p>The user can also specify a special &quot;rule set&quot; named <tt>%%lenient-parse</tt>.
218 * The body of <tt>%%lenient-parse</tt> isn't a set of number-formatting rules, but a <tt>RuleBasedCollator</tt>
219 * description which is used to define equivalences for lenient parsing. For more information
220 * on the syntax, see <tt>RuleBasedCollator</tt>. For more information on lenient parsing,
223 * of the <tt>lenient-parse</tt> rule set.</p>
602 * for lenient parsing.
608 * lenient parsing.
637 * lenient parsing.
1038 UBool lenient; member in class:RuleBasedNumberFormat
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
CalendarICU.java 241 public void setLenient(boolean lenient) {
242 fIcuCal.setLenient(lenient);
SimpleDateFormatICU.java 285 public void setLenient(boolean lenient) {
286 fIcuSdf.setLenient(lenient);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
CalendarTest.java 414 boolean lenient = cal.isLenient();
415 cal.setLenient(!lenient);
416 assertFalse(lenient == cal.isLenient());
  /frameworks/base/packages/Osu/src/com/android/hotspot2/
Utils.java 47 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) {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
Utils.java 51 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':'
186 public static int fromHex(char ch, boolean lenient) throws NumberFormatException {
193 } else if (lenient) {
  /libcore/ojluni/src/main/java/java/text/
DateFormat.java 368 * <p> By default, parsing is lenient: If the input is not in the form used
668 * Specify whether or not date/time parsing is to be lenient. With
669 * lenient parsing, the parser may use heuristics to interpret inputs that
675 * getCalendar().setLenient(lenient)
681 * @param lenient when {@code true}, parsing is lenient
684 public void setLenient(boolean lenient)
686 calendar.setLenient(lenient);
690 * Tell whether date/time parsing is to be lenient.
696 * @return {@code true} if the {@link #calendar} is lenient;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateFormat.java 622 * <p> By default, parsing is lenient: If the input is not in the form used
669 * <p> By default, parsing is lenient: If the input is not in the form used
703 * <p> By default, parsing is lenient: If the input is not in the form used
739 // This occurs if the calendar is non-lenient and there is
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateFormat.java 670 * <p> By default, parsing is lenient: If the input is not in the form used
718 * <p> By default, parsing is lenient: If the input is not in the form used
753 * <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/
NumberFormatTestTuple.java 115 public Integer lenient = null; field in class:NumberFormatTestTuple
219 "lenient",
400 lenient = Integer.valueOf(value);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
Calendar.java 61 * <p>When a <code>Calendar</code> is <em>lenient</em>, it accepts a wider range
62 * of field values than it produces. For example, a lenient
65 * non-lenient <code>GregorianCalendar</code> throws an exception when given
580 * 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/
NumberFormatTestTuple.java 114 public Integer lenient = null; field in class:NumberFormatTestTuple
218 "lenient",
399 lenient = Integer.valueOf(value);

Completed in 856 milliseconds

1 2 3 4 5