/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 | 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...] |
calregts.cpp | 527 void CalendarRegressionTest::dowTest(UBool lenient) 538 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);
|
calendar.cpp | 637 // the Calendar is lenient, the fields are also renormalized to standard [all...] |
/external/icu4c/i18n/unicode/ |
rbnf.h | 217 * <p>The user can also specify a special "rule set" 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...] |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |