Searched defs:lenient (Results 1 - 22 of 22) sorted by relevance

/external/v8/test/mjsunit/regress/
H A Dregress-bind-receiver.js29 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/icu/icu4c/source/i18n/unicode/
H A Drbnf.h216 * <p>The user can also specify a special &quot;rule set&quot; named <tt>%%lenient-parse</tt>.
217 * The body of <tt>%%lenient-parse</tt> isn't a set of number-formatting rules, but a <tt>RuleBasedCollator</tt>
218 * description which is used to define equivalences for lenient parsing. For more information
219 * on the syntax, see <tt>RuleBasedCollator</tt>. For more information on lenient parsing,
222 * of the <tt>lenient-parse</tt> rule set.</p>
571 * for lenient parsing.
577 * lenient parsing.
606 * lenient parsing.
836 * parseable substring. This function's behavior is affected by the lenient
853 * Turns lenient pars
999 UBool lenient; member in class:RuleBasedNumberFormat
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCalendarICU.java241 public void setLenient(boolean lenient) { argument
242 fIcuCal.setLenient(lenient);
H A DSimpleDateFormatICU.java285 public void setLenient(boolean lenient) { argument
286 fIcuSdf.setLenient(lenient);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCompatibilityTest.java314 boolean lenient = ( i > 0 );
315 cal.setLenient(lenient);
316 if (lenient != cal.isLenient()) errln("FAIL: setLenient/isLenient failed");
317 // Later: Check for lenient behavior
468 void dowTest(boolean lenient) { argument
472 cal.setLenient(lenient);
H A DCalendarRegression.java342 void dowTest(boolean lenient) { argument
346 cal.setLenient(lenient);
993 errln("Calendar hash code ignores lenient setting");
2193 * Test case for add/roll with non-lenient calendar reported by ticket#8057.
2198 * in non-lenient mode.
2308 * In lenient mode the value will be pinned to the relative min/max
/external/jetty/src/java/org/eclipse/jetty/util/
H A DQuotedStringTokenizer.java423 * @param lenient if true, will leave in backslashes that aren't valid escapes
426 public static String unquoteOnly(String s, boolean lenient) argument
447 if (lenient && !isValidEscaping(c))
477 public static String unquote(String s, boolean lenient) argument
534 if (lenient && !isValidEscaping(c))
/external/icu/icu4c/source/i18n/
H A Ddatefmt.cpp262 // We arrive here if fCalendar => calClone is non-lenient and
565 DateFormat::setLenient(UBool lenient) argument
568 fCalendar->setLenient(lenient);
571 setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, lenient, status);
572 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, lenient, status);
580 UBool lenient = TRUE; local
582 lenient = fCalendar->isLenient();
585 return lenient
591 DateFormat::setCalendarLenient(UBool lenient) argument
594 fCalendar->setLenient(lenient);
[all...]
H A Dcalendar.cpp692 // the Calendar is lenient, the fields are also renormalized to standard
1125 * outside the range permitted by a Calendar object when not in lenient mode.
1126 * when in lenient mode the out of range values are pinned to their respective min/max.
2415 Calendar::setLenient(UBool lenient) argument
2417 fLenient = lenient;
2770 * should only be called if this calendar is not lenient.
3020 // When lenient and skipped wall time option is WALLTIME_NEXT_VALID,
3858 // If we are lenient, we need to recompute the fields to normalize
/external/icu/icu4c/source/test/intltest/
H A Dcaltest.cpp449 UBool lenient = ( i > 0 ); local
450 cal->setLenient(lenient);
451 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed");
452 // Later: Check for lenient behavior
697 void CalendarTest::dowTest(UBool lenient) argument
706 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
707 cal->setLenient(lenient);
710 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
H A Dcalregts.cpp222 printdate(cal1.getAlias(), "cal1 (lenient) after adding 8 months:") ;
572 void CalendarRegressionTest::dowTest(UBool lenient) argument
583 cal->setLenient(lenient);
H A Ddtfmttst.cpp837 expLittleD = expBigD; // Expect the same, with default lenient parsing
1032 // lenient inputStrings
3775 UBool lenient; member in struct:__anon5893
3784 // loc lenient fail? datePattern dateString
3819 formatter->setLenient(itemPtr->lenient);
3820 formatter->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->lenient, status).setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->lenient, status);
3824 errln("FAIL, err when expected success: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient " + itemPtr->lenient +
3828 errln("FAIL, expected err but got none: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient "
[all...]
H A Dnumfmtst.cpp941 * Test lenient parsing.
1083 // lenient parse.
1103 // then, make sure that they pass with a lenient parse
3051 UBool lenient; member in struct:__anon5914
3095 foo->setLenient(DATA[i].lenient);
3100 errln("FAILED parse " + stringToBeParsed + "; lenient: " + DATA[i].lenient + "; wrong position, expected: (" + parsedPosition + ", " + errorIndex + "); got (" + parsePosition.getIndex() + ", " + parsePosition.getErrorIndex() + ")");
7211 UBool lenient; member in struct:__anon5916
7219 // locale lenient numString value
7303 numfmt->setLenient(itemPtr->lenient);
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateFormat.java653 * <p> By default, parsing is lenient: If the input is not in the form used
701 * <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
773 // This occurs if the calendar is non-lenient and there is
1509 * Specifies whether date/time parsing is to be lenient. With
1510 * lenient parsing, the parser may use heuristics to interpret inputs that
1511 * do not precisely match this object's format. Without lenient parsing,
1524 * @param lenient True specifies date/time interpretation to be lenient.
1530 public void setLenient(boolean lenient) argument
1558 setCalendarLenient(boolean lenient) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCalendar.java75 * <p>When a <code>Calendar</code> is <em>lenient</em>, it accepts a wider range
76 * of field values than it produces. For example, a lenient
79 * non-lenient <code>GregorianCalendar</code> throws an exception when given
614 * calendar is set to not be lenient, out-of-range field values will
689 // the Calendar is lenient, the fields are also renormalized to standard
1374 private boolean lenient = true; field in class:Calendar
2010 * When in lenient mode the out of range values are pinned to their respective min/max.
2416 return (lenient ? 1 : 0)
4089 * Specify whether or not date/time interpretation is to be lenient. With
4090 * lenient interpretatio
4098 setLenient(boolean lenient) argument
[all...]
/external/vogar/lib/
H A Dgson-1.7.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-nodeps.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 555 milliseconds