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

1 2

  /external/chromium_org/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)());
  /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) {
609 /* 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/chromium_org/third_party/icu/source/test/intltest/
calregts.h 76 void dowTest(UBool lenient) ;
caltest.h 35 void dowTest(UBool lenient);
caltest.cpp 351 UBool lenient = ( i > 0 ); local
352 cal->setLenient(lenient);
353 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed");
354 // Later: Check for lenient behavior
558 void CalendarTest::dowTest(UBool lenient)
567 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
568 cal->setLenient(lenient);
571 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
    [all...]
  /external/icu4c/test/intltest/
calregts.h 80 void dowTest(UBool lenient) ;
caltest.h 35 void dowTest(UBool lenient);
caltest.cpp 401 UBool lenient = ( i > 0 ); local
402 cal->setLenient(lenient);
403 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed");
404 // Later: Check for lenient behavior
646 void CalendarTest::dowTest(UBool lenient)
655 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
656 cal->setLenient(lenient);
659 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
    [all...]
  /libcore/luni/src/main/java/java/util/
Calendar.java 64 * When a {@code Calendar} is <em>lenient</em>, it accepts a wider
65 * range of field values than it produces. For example, a lenient
68 * non-lenient {@code GregorianCalendar} throws an exception when given
338 private boolean lenient; field in class:Calendar
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
rbnf.cpp 50 }; /* "%%lenient-parse:" */
658 , lenient(FALSE)
675 , lenient(FALSE)
692 , lenient(FALSE)
708 , lenient(FALSE)
725 , lenient(FALSE)
739 , lenient(FALSE)
813 , lenient(FALSE)
828 lenient = rhs.lenient;
    [all...]
datefmt.cpp 250 // We arrive here if fCalendar is non-lenient and there
490 DateFormat::setLenient(UBool lenient)
493 fCalendar->setLenient(lenient);
  /external/icu4c/i18n/
rbnf.cpp 50 }; /* "%%lenient-parse:" */
658 , lenient(FALSE)
676 , lenient(FALSE)
694 , lenient(FALSE)
711 , lenient(FALSE)
729 , lenient(FALSE)
744 , lenient(FALSE)
804 , lenient(FALSE)
819 lenient = rhs.lenient;
    [all...]
smpdtfmt.cpp 1692 UBool lenient = isLenient(); local
2429 UBool lenient = isLenient(); local
    [all...]
datefmt.cpp 256 // We arrive here if fCalendar => calClone is non-lenient and
495 DateFormat::setLenient(UBool lenient)
498 fCalendar->setLenient(lenient);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
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>
552 * for lenient parsing.
558 * lenient parsing.
587 * lenient parsing.
997 UBool lenient; member in class:RuleBasedNumberFormat
    [all...]
datefmt.h 407 * By default, parsing is lenient: If the input is not in the form used by
437 * By default, parsing is lenient: If the input is not in the form used by
547 * Returns true if the formatter is set for lenient parsing.
553 * Specify whether or not date/time parsing is to be lenient. With lenient
558 * @param lenient True specifies date/time interpretation to be lenient.
562 virtual void setLenient(UBool lenient);
calendar.h     [all...]
  /external/icu4c/i18n/unicode/
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>
552 * for lenient parsing.
558 * lenient parsing.
587 * lenient parsing.
1020 UBool lenient; member in class:RuleBasedNumberFormat
    [all...]
datefmt.h 398 * By default, parsing is lenient: If the input is not in the form used by
431 * By default, parsing is lenient: If the input is not in the form used by
461 * By default, parsing is lenient: If the input is not in the form used by
589 * Returns true if the formatter is set for lenient parsing.
595 * Specify whether or not date/time parsing is to be lenient. With lenient
600 * @param lenient True specifies date/time interpretation to be lenient.
604 virtual void setLenient(UBool lenient);
    [all...]
smpdtfmt.h 671 * only in lenient parse mode, the default) "01/02/-3" is parsed as Jan 2, 4 BC.
    [all...]
calendar.h     [all...]
  /external/chromium_org/tools/telemetry/third_party/png/
png.py     [all...]

Completed in 699 milliseconds

1 2