Home
last modified time | relevance | path

Searched refs:era (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/external/u-boot/drivers/crypto/fsl/
Dsec.c106 u8 era; in caam_get_era() member
130 u8 era = (ccbvid & SEC_CCBVID_ERA_MASK) >> SEC_CCBVID_ERA_SHIFT; in caam_get_era() local
134 if (era) /* This is '0' prior to CAAM ERA-6 */ in caam_get_era()
135 return era; in caam_get_era()
140 return caam_eras[i].era; in caam_get_era()
145 static void fdt_fixup_crypto_era(void *blob, u32 era) in fdt_fixup_crypto_era() argument
156 err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era); in fdt_fixup_crypto_era()
165 u8 era; in fdt_fixup_crypto_node() local
173 era = caam_get_era(); in fdt_fixup_crypto_node()
174 if (era) { in fdt_fixup_crypto_node()
[all …]
/external/icu/icu4c/source/i18n/
Dtaiwncal.cpp76 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear() local
77 if(era == MINGUO) { in handleGetExtendedYear()
79 } else if(era == BEFORE_MINGUO) { in handleGetExtendedYear()
117 int32_t era = internalGet(UCAL_ERA);
120 if(era == GregorianCalendar::BC) {
122 era = TaiwanCalendar::MINGUO;
123 } else if(era == GregorianCalendar::AD) {
124 era = TaiwanCalendar::MINGUO;
131 internalSet(UCAL_ERA, era);
Dethpccal.cpp93 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); in handleGetExtendedYear() local
94 if (era == AMETE_MIHRET) { in handleGetExtendedYear()
106 int32_t eyear, month, day, era, year; in handleComputeFields() local
110 era = AMETE_ALEM; in handleComputeFields()
114 era = AMETE_MIHRET; in handleComputeFields()
117 era = AMETE_ALEM; in handleComputeFields()
123 internalSet(UCAL_ERA, era); in handleComputeFields()
Dcoptccal.cpp67 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear() local
68 if (era == BCE) { in handleGetExtendedYear()
80 int32_t eyear, month, day, era, year; in handleComputeFields() local
84 era = BCE; in handleComputeFields()
87 era = CE; in handleComputeFields()
92 internalSet(UCAL_ERA, era); in handleComputeFields()
Dbuddhcal.cpp110 int32_t era = internalGet(UCAL_ERA);
113 if(era == GregorianCalendar::BC) {
115 era = BuddhistCalendar::BE;
116 } else if(era == GregorianCalendar::AD) {
117 era = BuddhistCalendar::BE;
124 internalSet(UCAL_ERA, era);
Djapancal.cpp144 int32_t era = internalGetEra(); in getDefaultMonthInYear() local
152 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultMonthInYear()
165 int32_t era = internalGetEra(); in getDefaultDayInMonth() local
170 gJapaneseEraRules->getStartDate(era, eraStart, status); in getDefaultDayInMonth()
274 int32_t era = get(UCAL_ERA, status); in getActualMaximum() local
278 if (era == gCurrentEra) { in getActualMaximum()
283 gJapaneseEraRules->getStartDate(era + 1, nextEraStart, status); in getActualMaximum()
288 int32_t eraStartYear = gJapaneseEraRules->getStartYear(era, status); in getActualMaximum()
Dvzone.cpp119 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset() argument
121 … return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
125 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset2() argument
128 …return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLen… in vzone_getOffset2()
Dgregocal.cpp441 int32_t era = AD; in handleComputeFields() local
443 era = BC; in handleComputeFields()
446 internalSet(UCAL_ERA, era); in handleComputeFields()
1150 int32_t era = cal->get(UCAL_ERA, status); in getActualMaximum() local
1161 if (cal->get(UCAL_YEAR, status) == y && cal->get(UCAL_ERA, status) == era) { in getActualMaximum()
1202 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYear() local
1203 if (era == BC) { in handleGetExtendedYear()
1230 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYearFromWeekFields() local
1231 if(era == BC) { in handleGetExtendedYearFromWeekFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java175 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar() argument
177 set(ERA, era); in JapaneseCalendar()
296 int era = internalGet(ERA, CURRENT_ERA); in getDefaultMonthInYear() local
300 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultMonthInYear()
321 int era = internalGet(ERA, CURRENT_ERA); in getDefaultDayInMonth() local
322 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultDayInMonth()
464 int era = get(Calendar.ERA); in getActualMaximum() local
465 if (era == CURRENT_ERA) { in getActualMaximum()
469 int[] nextEraStart = ERA_RULES.getStartDate(era + 1, null); in getActualMaximum()
474 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum()
DCopticCalendar.java256 int era = internalGet(ERA, CE); in handleGetExtendedYear() local
257 if (era == BCE) { in handleGetExtendedYear()
273 int era, year; in handleComputeFields() local
282 era = BCE; in handleComputeFields()
285 era = CE; in handleComputeFields()
290 internalSet(ERA, era); in handleComputeFields()
DEthiopicCalendar.java311 int era = internalGet(ERA, AMETE_MIHRET); in handleGetExtendedYear() local
312 if (era == AMETE_MIHRET) { in handleGetExtendedYear()
328 int era, year; in handleComputeFields() local
337 era = AMETE_ALEM; in handleComputeFields()
341 era = AMETE_MIHRET; in handleComputeFields()
344 era = AMETE_ALEM; in handleComputeFields()
350 internalSet(ERA, era); in handleComputeFields()
DGregorianCalendar.java674 int era = cal.get(ERA); in getActualMaximum() local
685 if (cal.get(YEAR) == y && cal.get(ERA) == era) { in getActualMaximum()
798 int era = AD; in handleComputeFields() local
800 era = BC; in handleComputeFields()
803 internalSet(ERA, era); in handleComputeFields()
820 int era = internalGet(ERA, AD); in handleGetExtendedYear() local
821 if (era == BC) { in handleGetExtendedYear()
DSimpleTimeZone.java646 public int getOffset(int era, int year, int month, int day, in getOffset() argument
660 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset()
668 public int getOffset(int era, int year, int month, int day, in getOffset() argument
682 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset()
686 private int getOffset(int era, int year, int month, int day, in getOffset() argument
694 if ((era != GregorianCalendar.AD && era != GregorianCalendar.BC) in getOffset()
747 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DJapaneseCalendar.java167 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar() argument
169 set(ERA, era); in JapaneseCalendar()
284 int era = internalGet(ERA, CURRENT_ERA); in getDefaultMonthInYear() local
288 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultMonthInYear()
308 int era = internalGet(ERA, CURRENT_ERA); in getDefaultDayInMonth() local
309 int[] eraStart = ERA_RULES.getStartDate(era, null); in getDefaultDayInMonth()
445 int era = get(Calendar.ERA); in getActualMaximum() local
446 if (era == CURRENT_ERA) { in getActualMaximum()
450 int[] nextEraStart = ERA_RULES.getStartDate(era + 1, null); in getActualMaximum()
455 int maxYear = nextEraYear - ERA_RULES.getStartYear(era) + 1; // 1-base in getActualMaximum()
DCopticCalendar.java234 int era = internalGet(ERA, CE); in handleGetExtendedYear() local
235 if (era == BCE) { in handleGetExtendedYear()
252 int era, year; in handleComputeFields() local
261 era = BCE; in handleComputeFields()
264 era = CE; in handleComputeFields()
269 internalSet(ERA, era); in handleComputeFields()
DEthiopicCalendar.java286 int era = internalGet(ERA, AMETE_MIHRET); in handleGetExtendedYear() local
287 if (era == AMETE_MIHRET) { in handleGetExtendedYear()
303 int era, year; in handleComputeFields() local
312 era = AMETE_ALEM; in handleComputeFields()
316 era = AMETE_MIHRET; in handleComputeFields()
319 era = AMETE_ALEM; in handleComputeFields()
325 internalSet(ERA, era); in handleComputeFields()
DGregorianCalendar.java652 int era = cal.get(ERA); in getActualMaximum() local
663 if (cal.get(YEAR) == y && cal.get(ERA) == era) { in getActualMaximum()
773 int era = AD; in handleComputeFields() local
775 era = BC; in handleComputeFields()
778 internalSet(ERA, era); in handleComputeFields()
794 int era = internalGet(ERA, AD); in handleGetExtendedYear() local
795 if (era == BC) { in handleGetExtendedYear()
DSimpleTimeZone.java625 public int getOffset(int era, int year, int month, int day, in getOffset() argument
639 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset()
647 public int getOffset(int era, int year, int month, int day, in getOffset() argument
661 return getOffset(era, year, month, day, dayOfWeek, millis, in getOffset()
665 private int getOffset(int era, int year, int month, int day, in getOffset() argument
673 if ((era != GregorianCalendar.AD && era != GregorianCalendar.BC) in getOffset()
726 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
DTaiwanCalendar.java191 int era = internalGet(ERA, MINGUO); in handleGetExtendedYear() local
192 if (era == MINGUO) { in handleGetExtendedYear()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DTestCase.java95 int era, int year, int month, int day, in TestCase() argument
101 set(Calendar.ERA, era); in TestCase()
129 int era, int year, int month, int day, in TestCase() argument
138 set(Calendar.ERA, era); in TestCase()
DChineseTestCase.java36 int era, int year, int month, in ChineseTestCase() argument
41 set(Calendar.ERA, era); in ChineseTestCase()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java92 int era, int year, int month, int day, in TestCase() argument
98 set(Calendar.ERA, era); in TestCase()
126 int era, int year, int month, int day, in TestCase() argument
135 set(Calendar.ERA, era); in TestCase()
DChineseTestCase.java33 int era, int year, int month, in ChineseTestCase() argument
38 set(Calendar.ERA, era); in ChineseTestCase()
/external/cldr/tools/java/org/unicode/cldr/util/data/
DprettyPath.txt66 '$%%/eras/era' ($element) '/era[@type="' ([0-9]) '"]' > '|era|[00' $2 ']-' $1;
67 '$%%/eras/era' ($element) '/era[@type="' ([0-9][0-9]) '"]' > '|era|[0' $2 ']-' $1;
68 '$%%/eras/era' ($element) '/era[@type="' ($avalue) '"]' > '|era|[' $2 ']-' $1;
/external/icu/icu4c/source/test/intltest/
Dcalcasts.cpp53 for(i=0;cases[i].era>=0;i++) { in doTestCases()
63 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases()
75 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
488 for (i = 0; tcase[i].era >= 0; i++) { in Ethiopic()
489 if (tcase[i].era == 1) { in Ethiopic()
490 tcase[i].era = 0; // Change to Amete Alem era in Ethiopic()

12345678910>>...15