Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dextensions.c367 unsigned maxYear = ~0; in _mesa_make_extension_string() local
373 maxYear = atoi(env); in _mesa_make_extension_string()
375 maxYear); in _mesa_make_extension_string()
384 if (i->year <= maxYear && in _mesa_make_extension_string()
408 if (_mesa_extension_table[k].year <= maxYear && in _mesa_make_extension_string()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DJapaneseCalendar.java456 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum() local
459 maxYear--; in getActualMaximum()
461 return maxYear; in getActualMaximum()
DCalendar.java2803 int maxYear = getActualMaximum(field); in roll() local
2804 if (maxYear < 32768) { in roll()
2807 newYear = maxYear - ((-newYear) % maxYear); in roll()
2808 } else if (newYear > maxYear) { in roll()
2809 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java476 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum() local
479 maxYear--; in getActualMaximum()
481 return maxYear; in getActualMaximum()
DCalendar.java2901 int maxYear = getActualMaximum(field); in roll() local
2902 if (maxYear < 32768) { in roll()
2905 newYear = maxYear - ((-newYear) % maxYear); in roll()
2906 } else if (newYear > maxYear) { in roll()
2907 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/node/deps/icu-small/source/i18n/
Djapancal.cpp296 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
299 maxYear--; in getActualMaximum()
301 return maxYear; in getActualMaximum()
Dcalendar.cpp1818 int32_t maxYear = getActualMaximum(field, status); in roll() local
1819 if (maxYear < 32768) { in roll()
1822 newYear = maxYear - ((-newYear) % maxYear); in roll()
1823 } else if (newYear > maxYear) { in roll()
1824 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/skia/third_party/externals/icu/source/i18n/
Djapancal.cpp296 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
299 maxYear--; in getActualMaximum()
301 return maxYear; in getActualMaximum()
Dcalendar.cpp1856 int32_t maxYear = getActualMaximum(field, status); in roll() local
1857 if (maxYear < 32768) { in roll()
1860 newYear = maxYear - ((-newYear) % maxYear); in roll()
1861 } else if (newYear > maxYear) { in roll()
1862 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/icu/icu4c/source/i18n/
Djapancal.cpp296 int32_t maxYear = nextEraYear - eraStartYear + 1; // 1-base in getActualMaximum() local
299 maxYear--; in getActualMaximum()
301 return maxYear; in getActualMaximum()
Dcalendar.cpp1930 int32_t maxYear = getActualMaximum(field, status); in roll() local
1931 if (maxYear < 32768) { in roll()
1934 newYear = maxYear - ((-newYear) % maxYear); in roll()
1935 } else if (newYear > maxYear) { in roll()
1936 newYear = ((newYear - 1) % maxYear) + 1; in roll()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DCalendarRegressionTest.java1136 int maxYear = calendar.getMaximum(Calendar.YEAR); in Test4145983() local
1137 if (year > maxYear) { in Test4145983()
1139 year + ", maxYear=" + maxYear); in Test4145983()
1348 int maxYear = calendar.getActualMaximum(field); in Test4167060() local
1349 logln("maxYear: " + maxYear + " for " + format.format(calendar.getTime())); in Test4167060()
1352 int years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1355 boolean valid = years[i] <= maxYear; in Test4167060()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java1133 int maxYear = calendar.getMaximum(Calendar.YEAR); in Test4145983() local
1134 if (year > maxYear) { in Test4145983()
1136 year + ", maxYear=" + maxYear); in Test4145983()
1345 int maxYear = calendar.getActualMaximum(field); in Test4167060() local
1346 logln("maxYear: " + maxYear + " for " + format.format(calendar.getTime())); in Test4167060()
1349 int years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1352 boolean valid = years[i] <= maxYear; in Test4167060()
/third_party/icu/icu4c/source/test/intltest/
Dcalregts.cpp1669 int32_t maxYear = calendar->getMaximum(UCAL_YEAR); in test4145983() local
1670 if (year > maxYear) { in test4145983()
1672 year + ", maxYear=" + maxYear); in test4145983()
1984 int32_t maxYear = calendar->getActualMaximum(field, status); in Test4167060() local
1986 …logln(UnicodeString("maxYear: ") + maxYear + " for " + format->format(calendar->getTime(status), t… in Test4167060()
1990 int32_t years[] = {2000, maxYear-1, maxYear, maxYear+1}; in Test4167060()
1993 UBool valid = years[i] <= maxYear; in Test4167060()