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

1 2

  /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/icu4c/test/intltest/
calregts.h 77 void dowTest(UBool lenient) ;
caltest.h 35 void dowTest(UBool lenient);
caltest.cpp 366 UBool lenient = ( i > 0 ); local
367 cal->setLenient(lenient);
368 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed");
369 // Later: Check for lenient behavior
573 void CalendarTest::dowTest(UBool lenient)
582 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
583 cal->setLenient(lenient);
586 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
    [all...]
dtfmttst.cpp 690 expLittleD = expBigD; // Expect the same, with default lenient parsing
885 // lenient inputStrings
3479 UBool lenient; member in struct:__anon7628
    [all...]
numfmtst.cpp 919 * Test lenient parsing.
940 errln((UnicodeString)"Lenient parse failed for \"" + (UnicodeString) lenientAffixTestCases[t] + (UnicodeString) "\"");
963 errln((UnicodeString)"Lenient parse failed for \"" + (UnicodeString) lenientMinusTestCases[t] + (UnicodeString) "\"");
2887 UBool lenient; member in struct:__anon7640
    [all...]
calregts.cpp 536 void CalendarRegressionTest::dowTest(UBool lenient)
547 cal->setLenient(lenient);
    [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/icu4c/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);
smpdtfmt.cpp 1860 UBool lenient = isLenient(); local
2540 UBool lenient = isLenient(); local
    [all...]
calendar.cpp 646 // the Calendar is lenient, the fields are also renormalized to standard
    [all...]
decimfmt.cpp     [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.
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);
smpdtfmt.h 525 * By default, parsing is lenient: If the input is not in the form used by
548 * By default, parsing is lenient: If the input is not in the form used by
    [all...]
calendar.h     [all...]
decimfmt.h 354 * <p>During parsing, grouping separators are ignored if in lenient mode;
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
CalendarUtilities.java 80 // If we can't find one, we'll try a more lenient standard (this is better than guessing a
    [all...]
  /tools/motodev/src/plugins/videos/libs/
mail.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-nodeps.jar 

Completed in 1691 milliseconds

1 2