Searched refs:lenient (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/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/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/chromium_org/third_party/icu/source/test/intltest/
H A Dcalregts.h76 void dowTest(UBool lenient) ;
H A Dcaltest.h35 void dowTest(UBool lenient);
H A Dcaltest.cpp351 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) argument
567 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
568 cal->setLenient(lenient);
571 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
H A Dcalregts.cpp527 void CalendarRegressionTest::dowTest(UBool lenient) argument
538 cal->setLenient(lenient);
/external/icu4c/test/intltest/
H A Dcalregts.h80 void dowTest(UBool lenient) ;
H A Dcaltest.h35 void dowTest(UBool lenient);
H A Dcaltest.cpp401 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) argument
655 logln((lenient?UnicodeString("LENIENT0: "):UnicodeString("nonlenient0: ")) + UnicodeString(calToStr(*cal)));
656 cal->setLenient(lenient);
659 logln((lenient?UnicodeString("LENIENT: "):UnicodeString("nonlenient: ")) + UnicodeString(calToStr(*cal)));
H A Ddtfmttst.cpp822 expLittleD = expBigD; // Expect the same, with default lenient parsing
1017 // lenient inputStrings
3645 UBool lenient; member in struct:__anon19408
3654 // loc lenient fail? datePattern dateString
3689 formatter->setLenient(itemPtr->lenient);
3693 errln("FAIL, err when expected success: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient " + itemPtr->lenient +
3697 errln("FAIL, expected err but got none: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient " + itemPtr->lenient +
3699 } else if (!itemPtr->lenient) {
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Drbnf.cpp50 }; /* "%%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...]
H A Ddatefmt.cpp250 // We arrive here if fCalendar is non-lenient and there
490 DateFormat::setLenient(UBool lenient) argument
493 fCalendar->setLenient(lenient);
H A Dcalendar.cpp637 // the Calendar is lenient, the fields are also renormalized to standard
2050 Calendar::setLenient(UBool lenient) argument
2052 fLenient = lenient;
2366 * should only be called if this calendar is not lenient.
3340 // If we are lenient, we need to recompute the fields to normalize
/external/icu4c/i18n/
H A Drbnf.cpp50 }; /* "%%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...]
H A Dsmpdtfmt.cpp1692 UBool lenient = isLenient(); local
1841 if (! matchLiterals(fPattern, i, text, pos, lenient)) {
1849 if (text.charAt(pos) == 0x2e && lenient) {
2138 UBool lenient)
2170 if (lenient) {
2203 // in lenient mode? (There won't be any
2205 if (!lenient && t == tStart) {
2220 // OK in lenient mode, an error in strict mode.
2221 if (lenient) {
2239 // If we're in lenient mod
2134 matchLiterals(const UnicodeString &pattern, int32_t &patternOffset, const UnicodeString &text, int32_t &textOffset, UBool lenient) argument
2429 UBool lenient = isLenient(); local
[all...]
H A Ddatefmt.cpp256 // We arrive here if fCalendar => calClone is non-lenient and
495 DateFormat::setLenient(UBool lenient) argument
498 fCalendar->setLenient(lenient);
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Drbnf.h217 * <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.
860 * parseable substring. This function's behavior is affected by the lenient
889 * Turns lenient pars
997 UBool lenient; member in class:RuleBasedNumberFormat
[all...]
H A Ddatefmt.h407 * 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);
H A Dcalendar.h805 * Specifies whether or not date/time interpretation is to be lenient. With lenient
811 * @param lenient True specifies date/time interpretation to be lenient.
816 void setLenient(UBool lenient);
819 * Tells whether date/time interpretation is to be lenient.
821 * @return True tells that date/time interpretation is to be lenient.
2070 * should only be called if this calendar is not lenient.
/external/icu4c/i18n/unicode/
H A Drbnf.h217 * <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.
860 * parseable substring. This function's behavior is affected by the lenient
889 * Turns lenient pars
1020 UBool lenient; member in class:RuleBasedNumberFormat
[all...]
H A Ddatefmt.h398 * 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);
H A Dsmpdtfmt.h671 * only in lenient parse mode, the default) "01/02/-3" is parsed as Jan 2, 4 BC.
1012 * By default, parsing is lenient: If the input is not in the form used by
1042 * By default, parsing is lenient: If the input is not in the form used by
1080 * By default, parsing is lenient: If the input is not in the form used by
1511 * @param lenient <code>TRUE</code> if the parse is lenient, <code>FALSE</code> otherwise.
1516 const UnicodeString &text, int32_t &textOffset, UBool lenient);
H A Dcalendar.h880 * Specifies whether or not date/time interpretation is to be lenient. With lenient
886 * @param lenient True specifies date/time interpretation to be lenient.
891 void setLenient(UBool lenient);
894 * Tells whether date/time interpretation is to be lenient.
896 * @return True tells that date/time interpretation is to be lenient.
945 * <b>Note:</b>This option is effective only when this calendar is lenient.
2287 * should only be called if this calendar is not lenient.
H A Ddecimfmt.h372 * <p>During parsing, grouping separators are ignored if in lenient mode;
2095 UBool lenient);
/external/chromium_org/tools/telemetry/third_party/png/
H A Dpng.py1378 def chunk(self, seek=None, lenient=False):
1391 If the optional `lenient` argument evaluates to True,
1426 if lenient:
1700 def preamble(self, lenient=False):
1707 If the optional `lenient` argument evaluates to True,
1721 self.process_chunk(lenient=lenient)
1742 def process_chunk(self, lenient=False):
1747 If the optional `lenient` argument evaluates to True,
1751 type, data = self.chunk(lenient
[all...]

Completed in 1999 milliseconds

12