Home
last modified time | relevance | path

Searched refs:STRICT (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java209 return (mod & STRICT) != 0; in isStrict()
259 if ((mod & STRICT) != 0) sb.append("strictfp "); in toString()
342 public static final int STRICT = 0x00000800; field in Modifier
401 Modifier.STRICT;
409 Modifier.ABSTRACT | Modifier.STATIC | Modifier.STRICT;
426 Modifier.SYNCHRONIZED | Modifier.NATIVE | Modifier.STRICT;
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java919 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_ymd_strict()
924 JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_ymd_strict()
997 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_yd_strict()
1002 JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_yd_strict()
1115 {ResolverStyle.STRICT, JapaneseEra.HEISEI, 0, 1, 1, null}, in data_resolve_eymd()
1116 {ResolverStyle.STRICT, JapaneseEra.HEISEI, 1, 1, 1, null}, // SHOWA, not HEISEI in data_resolve_eymd()
1117 {ResolverStyle.STRICT, JapaneseEra.HEISEI, 1, 1, 7, null}, // SHOWA, not HEISEI in data_resolve_eymd()
1118 {ResolverStyle.STRICT, JapaneseEra.HEISEI, 1, 1, 8, date(1989, 1, 8)}, in data_resolve_eymd()
1119 {ResolverStyle.STRICT, JapaneseEra.HEISEI, 1, 12, 31, date(1989, 12, 31)}, in data_resolve_eymd()
1120 {ResolverStyle.STRICT, JapaneseEra.HEISEI, 2, 1, 1, date(1990, 1, 1)}, in data_resolve_eymd()
[all …]
DTCKIsoChronology.java284 {ResolverStyle.STRICT, -1, null, null, null, null}, in data_resolve_yearOfEra()
288 {ResolverStyle.STRICT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
292 {ResolverStyle.STRICT, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
296 {ResolverStyle.STRICT, 2, null, null, null, null}, in data_resolve_yearOfEra()
301 {ResolverStyle.STRICT, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
305 {ResolverStyle.STRICT, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
309 {ResolverStyle.STRICT, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
313 {ResolverStyle.STRICT, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
318 {ResolverStyle.STRICT, null, 2012, null, ChronoField.YEAR_OF_ERA, 2012}, in data_resolve_yearOfEra()
322 {ResolverStyle.STRICT, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra()
[all …]
DTCKThaiBuddhistChronology.java535 {ResolverStyle.STRICT, -1, null, null, null, null}, in data_resolve_yearOfEra()
539 {ResolverStyle.STRICT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
543 {ResolverStyle.STRICT, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
547 {ResolverStyle.STRICT, 2, null, null, null, null}, in data_resolve_yearOfEra()
552 {ResolverStyle.STRICT, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
556 {ResolverStyle.STRICT, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
560 {ResolverStyle.STRICT, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
564 {ResolverStyle.STRICT, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
569 {ResolverStyle.STRICT, null, 2012, null, ChronoField.YEAR_OF_ERA, 2012}, in data_resolve_yearOfEra()
573 {ResolverStyle.STRICT, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra()
[all …]
DTCKMinguoChronology.java559 {ResolverStyle.STRICT, -1, null, null, null, null}, in data_resolve_yearOfEra()
563 {ResolverStyle.STRICT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
567 {ResolverStyle.STRICT, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
571 {ResolverStyle.STRICT, 2, null, null, null, null}, in data_resolve_yearOfEra()
576 {ResolverStyle.STRICT, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
580 {ResolverStyle.STRICT, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
584 {ResolverStyle.STRICT, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
588 {ResolverStyle.STRICT, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
593 {ResolverStyle.STRICT, null, 2012, null, ChronoField.YEAR_OF_ERA, 2012}, in data_resolve_yearOfEra()
597 {ResolverStyle.STRICT, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra()
[all …]
DTCKHijrahChronology.java266 …assertEquals(fieldValues.get(ChronoField.YEAR_OF_ERA), (style != ResolverStyle.STRICT) ? null : (L… in test_resolve_yearOfEra_yearOfEraOnly_valid()
267 …assertEquals(fieldValues.get(ChronoField.YEAR), (style == ResolverStyle.STRICT) ? null : (Long) 13… in test_resolve_yearOfEra_yearOfEraOnly_valid()
420 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_ymd_strict()
425 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_ymd_strict()
518 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_yd_strict()
523 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.STRICT); in test_resolve_yd_strict()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKResolverStyle.java97 {"2000/02/29", ResolverStyle.STRICT, null, 2000, 2, 29}, in data_resolverStyle()
101 {"5/02/29 BCE", ResolverStyle.STRICT, null, 5, 2, 29}, in data_resolverStyle()
103 {"4/02/29 BCE", ResolverStyle.STRICT, DateTimeException.class, -1, -1, -1}, in data_resolverStyle()
104 {"2000/02/30 CE", ResolverStyle.STRICT, DateTimeException.class, -1, -1, -1}, in data_resolverStyle()
DTCKDateTimeParseResolver.java64 import static java.time.format.ResolverStyle.STRICT;
562 {ResolverStyle.STRICT, 14, 59, 60, 123456789, null, null}, in data_resolveFourToTime()
566 {ResolverStyle.STRICT, 23, 59, 60, 123456789, null, null}, in data_resolveFourToTime()
570 {ResolverStyle.STRICT, 24, 0, 0, 0, null, null}, in data_resolveFourToTime()
574 {ResolverStyle.STRICT, 24, 1, 0, 0, null, null}, in data_resolveFourToTime()
578 {ResolverStyle.STRICT, 25, 0, 0, 0, null, null}, in data_resolveFourToTime()
582 {ResolverStyle.STRICT, 49, 2, 3, 4, null, null}, in data_resolveFourToTime()
586 {ResolverStyle.STRICT, -1, 2, 3, 4, null, null}, in data_resolveFourToTime()
590 {ResolverStyle.STRICT, -6, 2, 3, 4, null, null}, in data_resolveFourToTime()
594 {ResolverStyle.STRICT, 25, 61, 61, 1_123456789, null, null}, in data_resolveFourToTime()
[all …]
DTCKDateTimeFormatters.java293 assertEquals(DateTimeFormatter.ISO_LOCAL_DATE.getResolverStyle(), ResolverStyle.STRICT); in test_isoLocalDate_basics()
351 assertEquals(DateTimeFormatter.ISO_OFFSET_DATE.getResolverStyle(), ResolverStyle.STRICT); in test_isoOffsetDate_basics()
411 assertEquals(DateTimeFormatter.ISO_DATE.getResolverStyle(), ResolverStyle.STRICT); in test_isoDate_basics()
481 assertEquals(DateTimeFormatter.ISO_LOCAL_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoLocalTime_basics()
551 assertEquals(DateTimeFormatter.ISO_OFFSET_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoOffsetTime_basics()
623 assertEquals(DateTimeFormatter.ISO_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoTime_basics()
702 … assertEquals(DateTimeFormatter.ISO_LOCAL_DATE_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoLocalDateTime_basics()
782 … assertEquals(DateTimeFormatter.ISO_OFFSET_DATE_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoOffsetDateTime_basics()
875 … assertEquals(DateTimeFormatter.ISO_ZONED_DATE_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoZonedDateTime_basics()
960 assertEquals(DateTimeFormatter.ISO_DATE_TIME.getResolverStyle(), ResolverStyle.STRICT); in test_isoDateTime_basics()
[all …]
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java710 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
738 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
771 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
812 .toFormatter(ResolverStyle.STRICT, null);
839 .toFormatter(ResolverStyle.STRICT, null);
871 .toFormatter(ResolverStyle.STRICT, null);
899 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
927 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
962 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
1005 .toFormatter(ResolverStyle.STRICT, IsoChronology.INSTANCE);
[all …]
DResolverStyle.java90 STRICT, enumConstant
DParsed.java373 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields()
381 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java87 assertTrue(Modifier.isStrict(Modifier.STRICT)); in test_isStrictI()
88 assertTrue(!Modifier.isStrict(-1 & ~Modifier.STRICT)); in test_isStrictI()
110 Modifier.toString(Modifier.PUBLIC | Modifier.ABSTRACT | Modifier.STRICT)); in test_toStringI()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedParser.java96 private static final boolean STRICT = true; field in TestReducedParser
352 {"yyMMdd", "19990703", STRICT, 0, 6, 2019, 99, 7}, in provider_parseAdjacent()
354 {"yyMMdd", "990703", STRICT, 0, 6, 2099, 7, 3}, in provider_parseAdjacent()
356 {"yyMMdd", "200703", STRICT, 0, 6, 2020, 7, 3}, in provider_parseAdjacent()
358 {"ddMMyy", "230714", STRICT, 0, 6, 2014, 7, 23}, in provider_parseAdjacent()
360 {"ddMMyy", "25062001", STRICT, 0, 6, 2020, 6, 25}, in provider_parseAdjacent()
362 {"ddMMy", "27052002", STRICT, 0, 8, 2002, 5, 27}, in provider_parseAdjacent()
499 return new Pair(parseLen, parseVal, STRICT); in strict()
/libcore/ojluni/src/main/java/java/time/chrono/
DAbstractChronology.java531 } else if (resolverStyle == ResolverStyle.STRICT) { in resolveYearOfEra()
593 if (resolverStyle == ResolverStyle.STRICT && date.get(MONTH_OF_YEAR) != moy) { in resolveYMAA()
611 if (resolverStyle == ResolverStyle.STRICT && date.get(MONTH_OF_YEAR) != moy) { in resolveYMAD()
627 if (resolverStyle == ResolverStyle.STRICT && date.get(YEAR) != y) { in resolveYAA()
643 if (resolverStyle == ResolverStyle.STRICT && date.get(YEAR) != y) { in resolveYAD()
DIsoChronology.java517 if (resolverStyle == ResolverStyle.STRICT) { in resolveYearOfEra()
DJapaneseChronology.java451 …eLong != null && fieldValues.containsKey(YEAR) == false && resolverStyle != ResolverStyle.STRICT) { in resolveYearOfEra()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java157 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_quarters()
214 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_parseLenientQuarter_STRICT()
356 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_weeks_STRICT()
406 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_parseLenientWeek_STRICT()
DTCKJulianFields.java145 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_samples_parse_STRICT()
DTCKWeekFields.java61 import static java.time.format.ResolverStyle.STRICT;
431 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(STRICT); in test_parse_resolve_localizedWom_strict()
543 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(STRICT); in test_parse_resolve_localizedWoy_strict()
656 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(STRICT); in test_parse_resolve_localizedWoWBY_strict()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java131 assertTrue("STRICT returned false", Modifier.isStrict(Modifier.STRICT)); in test_isStrictI()
202 assertEquals(2048, Modifier.STRICT); in test_Constants_Value()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java972 if (resolverStyle == ResolverStyle.STRICT && date.getLong(MONTH_OF_YEAR) != month) { in resolveWoM()
995 if (resolverStyle == ResolverStyle.STRICT && date.getLong(YEAR) != year) { in resolveWoY()
1019 … if (resolverStyle == ResolverStyle.STRICT && localizedWeekBasedYear(date) != yowby) { in resolveWBY()
DIsoFields.java361 if (resolverStyle == ResolverStyle.STRICT) { in resolve()
491 if (resolverStyle == ResolverStyle.STRICT) { in resolve()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf46 # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1842 Modifier.ABSTRACT | Modifier.STRICT); in computeDefaultSUID()
1869 Modifier.ABSTRACT | Modifier.STRICT); in computeDefaultSUID()

12