Home
last modified time | relevance | path

Searched refs:strict (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedParser.java222 {YEAR, 2, 2, 2010, "3", 0, strict(0, null), lenient(1, 3)}, in provider_parseLenientSensitive()
223 {YEAR, 2, 2, 2010, "4", 0, strict(0, null), lenient(1, 4)}, in provider_parseLenientSensitive()
224 {YEAR, 2, 2, 2010, "5", 1, strict(1, null), lenient(1, null)}, in provider_parseLenientSensitive()
225 {YEAR, 2, 2, 2010, "6-2", 0, strict(0, null), lenient(1, 6)}, in provider_parseLenientSensitive()
226 {YEAR, 2, 2, 2010, "9", 0, strict(0, null), lenient(1, 9)}, in provider_parseLenientSensitive()
229 {YEAR, 1, 4, 2000, "7A", 0, strict(1, 2007), lenient(1, 2007)}, in provider_parseLenientSensitive()
230 {YEAR, 2, 2, 2010, "8A", 0, strict(0, null), lenient(1, 8)}, in provider_parseLenientSensitive()
233 {YEAR, 2, 4, 2000, "-1", 0, strict(0, null), lenient(2, -1)}, in provider_parseLenientSensitive()
234 {YEAR, 2, 4, 2000, "-10", 0, strict(0, null), lenient(3, -10)}, in provider_parseLenientSensitive()
237 {YEAR, 2, 4, 2000, "+1", 0, strict(0, null), lenient(2, 1)}, in provider_parseLenientSensitive()
[all …]
DAbstractTestPrinterParser.java108 protected void setStrict(boolean strict) { in setStrict() argument
109 if (strict) { in setStrict()
/libcore/ojluni/src/main/java/java/time/format/
DSignStyle.java125 boolean parse(boolean positive, boolean strict, boolean fixedWidth) { in parse() argument
129 return !positive || !strict; in parse()
135 return !strict && !fixedWidth; in parse()
DDateTimeParseContext.java105 private boolean strict = true; field in DateTimeParseContext
133 newContext.strict = strict; in copy()
270 return strict; in isStrict()
278 void setStrict(boolean strict) { in setStrict() argument
279 this.strict = strict; in setStrict()
DDateTimeFormatterBuilder.java2279 final boolean strict = context.isStrict(); in parse()
2289 if (strict) { in parse()
2300 if (resultPos != endPos && strict) { in parse()
/libcore/dalvik/src/test/java/dalvik/system/profiler/
DSamplingProfilerTest.java211 private void test_HprofData(HprofData hprofData, boolean strict) throws Exception { in test_HprofData() argument
212 assertHprofData(hprofData, strict); in test_HprofData()
214 test_HprofData_binary(hprofData, strict); in test_HprofData()
220 private void assertHprofData(HprofData hprofData, boolean strict) throws Exception { in assertHprofData() argument
239 if (strict) { in assertHprofData()
271 private void test_HprofData_binary(HprofData hprofData, boolean strict) throws Exception { in test_HprofData_binary() argument
296 assertHprofData(hprofData, strict); in test_HprofData_binary()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DBinaryHprofReader.java49 private boolean strict = true; field in BinaryHprofReader
79 return strict; in getStrict()
82 public void setStrict (boolean strict) { in setStrict() argument
86 this.strict = strict; in setStrict()
406 if (strict) { in parseStackTrace()
460 if (strict) { in parseCpuSamples()
475 if (strict && totalSamples != total) { in parseCpuSamples()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKIsoChronology.java434 …d test_resolve_ymd_lenient(int y, int m, int d, LocalDate expected, Object smart, boolean strict) { in test_resolve_ymd_lenient() argument
445 …oid test_resolve_ymd_smart(int y, int m, int d, LocalDate expected, Object smart, boolean strict) { in test_resolve_ymd_smart() argument
468 …id test_resolve_ymd_strict(int y, int m, int d, LocalDate expected, Object smart, boolean strict) { in test_resolve_ymd_strict() argument
473 if (strict) { in test_resolve_ymd_strict()
518 …lic void test_resolve_yd_lenient(int y, int d, LocalDate expected, boolean smart, boolean strict) { in test_resolve_yd_lenient() argument
528 …ublic void test_resolve_yd_smart(int y, int d, LocalDate expected, boolean smart, boolean strict) { in test_resolve_yd_smart() argument
547 …blic void test_resolve_yd_strict(int y, int d, LocalDate expected, boolean smart, boolean strict) { in test_resolve_yd_strict() argument
551 if (strict) { in test_resolve_yd_strict()
625 …solve_ymaa_lenient(int y, int m, int w, int d, LocalDate expected, boolean smart, boolean strict) { in test_resolve_ymaa_lenient() argument
637 …resolve_ymaa_smart(int y, int m, int w, int d, LocalDate expected, boolean smart, boolean strict) { in test_resolve_ymaa_smart() argument
[all …]
DTCKHijrahChronology.java370 … test_resolve_ymd_lenient(int y, int m, int d, HijrahDate expected, Object smart, boolean strict) { in test_resolve_ymd_lenient() argument
391 …id test_resolve_ymd_smart(int y, int m, int d, HijrahDate expected, Object smart, boolean strict) { in test_resolve_ymd_smart() argument
414 …d test_resolve_ymd_strict(int y, int m, int d, HijrahDate expected, Object smart, boolean strict) { in test_resolve_ymd_strict() argument
419 if (strict) { in test_resolve_ymd_strict()
484 …ic void test_resolve_yd_lenient(int y, int d, HijrahDate expected, boolean smart, boolean strict) { in test_resolve_yd_lenient() argument
494 …blic void test_resolve_yd_smart(int y, int d, HijrahDate expected, boolean smart, boolean strict) { in test_resolve_yd_smart() argument
513 …lic void test_resolve_yd_strict(int y, int d, HijrahDate expected, boolean smart, boolean strict) { in test_resolve_yd_strict() argument
517 if (strict) { in test_resolve_yd_strict()
DTCKMinguoChronology.java709 … test_resolve_ymd_lenient(int y, int m, int d, MinguoDate expected, Object smart, boolean strict) { in test_resolve_ymd_lenient() argument
720 …id test_resolve_ymd_smart(int y, int m, int d, MinguoDate expected, Object smart, boolean strict) { in test_resolve_ymd_smart() argument
743 …d test_resolve_ymd_strict(int y, int m, int d, MinguoDate expected, Object smart, boolean strict) { in test_resolve_ymd_strict() argument
748 if (strict) { in test_resolve_ymd_strict()
793 …ic void test_resolve_yd_lenient(int y, int d, MinguoDate expected, boolean smart, boolean strict) { in test_resolve_yd_lenient() argument
803 …blic void test_resolve_yd_smart(int y, int d, MinguoDate expected, boolean smart, boolean strict) { in test_resolve_yd_smart() argument
822 …lic void test_resolve_yd_strict(int y, int d, MinguoDate expected, boolean smart, boolean strict) { in test_resolve_yd_strict() argument
826 if (strict) { in test_resolve_yd_strict()
900 …olve_ymaa_lenient(int y, int m, int w, int d, MinguoDate expected, boolean smart, boolean strict) { in test_resolve_ymaa_lenient() argument
912 …esolve_ymaa_smart(int y, int m, int w, int d, MinguoDate expected, boolean smart, boolean strict) { in test_resolve_ymaa_smart() argument
[all …]
DTCKThaiBuddhistChronology.java685 …resolve_ymd_lenient(int y, int m, int d, ThaiBuddhistDate expected, Object smart, boolean strict) { in test_resolve_ymd_lenient() argument
696 …t_resolve_ymd_smart(int y, int m, int d, ThaiBuddhistDate expected, Object smart, boolean strict) { in test_resolve_ymd_smart() argument
719 …_resolve_ymd_strict(int y, int m, int d, ThaiBuddhistDate expected, Object smart, boolean strict) { in test_resolve_ymd_strict() argument
724 if (strict) { in test_resolve_ymd_strict()
769 …d test_resolve_yd_lenient(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean strict) { in test_resolve_yd_lenient() argument
779 …oid test_resolve_yd_smart(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean strict) { in test_resolve_yd_smart() argument
798 …id test_resolve_yd_strict(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean strict) { in test_resolve_yd_strict() argument
802 if (strict) { in test_resolve_yd_strict()
876 …maa_lenient(int y, int m, int w, int d, ThaiBuddhistDate expected, boolean smart, boolean strict) { in test_resolve_ymaa_lenient() argument
888 …_ymaa_smart(int y, int m, int w, int d, ThaiBuddhistDate expected, boolean smart, boolean strict) { in test_resolve_ymaa_smart() argument
[all …]
DTCKJapaneseChronology.java870 …est_resolve_ymd_lenient(int y, int m, int d, JapaneseDate expected, Object smart, boolean strict) { in test_resolve_ymd_lenient() argument
881 … test_resolve_ymd_smart(int y, int m, int d, JapaneseDate expected, Object smart, boolean strict) { in test_resolve_ymd_smart() argument
904 …test_resolve_ymd_strict(int y, int m, int d, JapaneseDate expected, Object smart, boolean strict) { in test_resolve_ymd_strict() argument
909 if (strict) { in test_resolve_ymd_strict()
954 … void test_resolve_yd_lenient(int y, int d, JapaneseDate expected, boolean smart, boolean strict) { in test_resolve_yd_lenient() argument
964 …ic void test_resolve_yd_smart(int y, int d, JapaneseDate expected, boolean smart, boolean strict) { in test_resolve_yd_smart() argument
983 …c void test_resolve_yd_strict(int y, int d, JapaneseDate expected, boolean smart, boolean strict) { in test_resolve_yd_strict() argument
987 if (strict) { in test_resolve_yd_strict()
/libcore/ojluni/src/main/java/java/util/
DLocale.java1783 private static String normalizeAndValidateLanguage(String language, boolean strict) { in normalizeAndValidateLanguage() argument
1790 if (strict) { in normalizeAndValidateLanguage()
1906 private static String normalizeAndValidateRegion(String region, boolean strict) { in normalizeAndValidateRegion() argument
1914 if (strict) { in normalizeAndValidateRegion()
/libcore/ojluni/src/main/java/java/net/
DURI.java3314 private int scanIPv4Address(int start, int n, boolean strict) in scanIPv4Address() argument
3320 if ((m <= p) || (strict && (m != n))) in scanIPv4Address()