/external/icu/icu4c/source/i18n/ |
D | taiwncal.cpp | 71 && newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear() 74 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear() 89 internalSet(UCAL_ERA, MINGUO); in handleComputeFields() 92 internalSet(UCAL_ERA, BEFORE_MINGUO); in handleComputeFields() 99 if(field == UCAL_ERA) { in handleGetLimit() 115 int32_t era = internalGet(UCAL_ERA); 129 internalSet(UCAL_ERA, era);
|
D | buddhcal.cpp | 90 internalSet(UCAL_ERA, 0); in handleComputeFields() 96 if(field == UCAL_ERA) { in handleGetLimit() 108 int32_t era = internalGet(UCAL_ERA); 122 internalSet(UCAL_ERA, era);
|
D | japancal.cpp | 358 return internalGet(UCAL_ERA, kCurrentEra); in internalGetEra() 368 newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear() 450 internalSet(UCAL_ERA, low); in handleComputeFields() 479 case UCAL_ERA: in handleGetLimit() 506 int32_t era = get(UCAL_ERA, status); in getActualMaximum()
|
D | ethpccal.cpp | 91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); in handleGetExtendedYear() 121 internalSet(UCAL_ERA, era); in handleComputeFields() 131 if (isAmeteAlemEra() && field == UCAL_ERA) { in handleGetLimit()
|
D | gregocal.cpp | 227 set(UCAL_ERA, AD); in GregorianCalendar() 242 set(UCAL_ERA, AD); in GregorianCalendar() 260 set(UCAL_ERA, AD); in GregorianCalendar() 359 if (cal->get(UCAL_ERA, status) == BC) in setGregorianChange() 444 internalSet(UCAL_ERA, era); in handleComputeFields() 1147 int32_t era = cal->get(UCAL_ERA, status); in getActualMaximum() 1158 if (cal->get(UCAL_YEAR, status) == y && cal->get(UCAL_ERA, status) == era) { in getActualMaximum() 1199 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYear() 1227 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYearFromWeekFields() 1257 return isSet(UCAL_ERA) ? internalGet(UCAL_ERA) : (int32_t)AD; in internalGetEra()
|
D | coptccal.cpp | 65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear() 90 internalSet(UCAL_ERA, era); in handleComputeFields()
|
D | chnsecal.cpp | 218 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear() 221 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle in handleGetExtendedYear() 726 internalSet(UCAL_ERA, cycle + 1); in computeChineseFields()
|
D | persncal.cpp | 226 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
D | calendar.cpp | 1425 (1 << UCAL_ERA) | in computeFields() 1659 internalSet(UCAL_ERA, era); in handleComputeFields() 1688 case UCAL_ERA: in roll() 1758 int32_t era = get(UCAL_ERA, status); in roll() 2047 case UCAL_ERA: in add() 2049 pinField(UCAL_ERA, status); in add() 2062 int32_t era = get(UCAL_ERA, status); in add() 3123 int32_t bestStamp = newestStamp(UCAL_ERA, UCAL_DAY_OF_WEEK_IN_MONTH, kUnset); in computeJulianDay()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | taiwncal.cpp | 71 && newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear() 74 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear() 89 internalSet(UCAL_ERA, MINGUO); in handleComputeFields() 92 internalSet(UCAL_ERA, BEFORE_MINGUO); in handleComputeFields() 99 if(field == UCAL_ERA) { in handleGetLimit() 115 int32_t era = internalGet(UCAL_ERA); 129 internalSet(UCAL_ERA, era);
|
D | buddhcal.cpp | 90 internalSet(UCAL_ERA, 0); in handleComputeFields() 96 if(field == UCAL_ERA) { in handleGetLimit() 108 int32_t era = internalGet(UCAL_ERA); 122 internalSet(UCAL_ERA, era);
|
D | japancal.cpp | 358 return internalGet(UCAL_ERA, kCurrentEra); in internalGetEra() 368 newerField(UCAL_EXTENDED_YEAR, UCAL_ERA) == UCAL_EXTENDED_YEAR) { in handleGetExtendedYear() 450 internalSet(UCAL_ERA, low); in handleComputeFields() 479 case UCAL_ERA: in handleGetLimit() 506 int32_t era = get(UCAL_ERA, status); in getActualMaximum()
|
D | ethpccal.cpp | 91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); in handleGetExtendedYear() 121 internalSet(UCAL_ERA, era); in handleComputeFields() 131 if (isAmeteAlemEra() && field == UCAL_ERA) { in handleGetLimit()
|
D | gregocal.cpp | 227 set(UCAL_ERA, AD); in GregorianCalendar() 242 set(UCAL_ERA, AD); in GregorianCalendar() 260 set(UCAL_ERA, AD); in GregorianCalendar() 359 if (cal->get(UCAL_ERA, status) == BC) in setGregorianChange() 444 internalSet(UCAL_ERA, era); in handleComputeFields() 1147 int32_t era = cal->get(UCAL_ERA, status); in getActualMaximum() 1158 if (cal->get(UCAL_YEAR, status) == y && cal->get(UCAL_ERA, status) == era) { in getActualMaximum() 1199 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYear() 1227 int32_t era = internalGet(UCAL_ERA, AD); in handleGetExtendedYearFromWeekFields() 1257 return isSet(UCAL_ERA) ? internalGet(UCAL_ERA) : (int32_t)AD; in internalGetEra()
|
D | coptccal.cpp | 65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear() 90 internalSet(UCAL_ERA, era); in handleComputeFields()
|
D | chnsecal.cpp | 218 if (newestStamp(UCAL_ERA, UCAL_YEAR, kUnset) <= fStamp[UCAL_EXTENDED_YEAR]) { in handleGetExtendedYear() 221 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle in handleGetExtendedYear() 726 internalSet(UCAL_ERA, cycle + 1); in computeChineseFields()
|
D | persncal.cpp | 226 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
D | calendar.cpp | 1296 (1 << UCAL_ERA) | in computeFields() 1530 internalSet(UCAL_ERA, era); in handleComputeFields() 1559 case UCAL_ERA: in roll() 1629 int32_t era = get(UCAL_ERA, status); in roll() 1918 case UCAL_ERA: in add() 1920 pinField(UCAL_ERA, status); in add() 1933 int32_t era = get(UCAL_ERA, status); in add() 2962 int32_t bestStamp = newestStamp(UCAL_ERA, UCAL_DAY_OF_WEEK_IN_MONTH, kUnset); in computeJulianDay()
|
D | indiancal.cpp | 327 internalSet(UCAL_ERA, 0); in handleComputeFields()
|
/external/icu/icu4c/source/test/intltest/ |
D | incaltst.cpp | 179 cal.set(UCAL_ERA, era); in quasiGregorianTest() 197 int e = cal.get(UCAL_ERA, status); in quasiGregorianTest() 204 logln((UnicodeString)"OK: " + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 208 … errln((UnicodeString)"Fail: (millis to fields)" + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 650 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() 690 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
|
D | calcasts.cpp | 61 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases() 73 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | incaltst.cpp | 182 cal.set(UCAL_ERA, era); in quasiGregorianTest() 200 int e = cal.get(UCAL_ERA, status); in quasiGregorianTest() 207 logln((UnicodeString)"OK: " + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 211 … errln((UnicodeString)"Fail: (millis to fields)" + D + " => " + cal.get(UCAL_ERA, status) + ":" + in quasiGregorianTest() 653 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860() 693 int32_t gotEra = cal2->get(UCAL_ERA, s2); in TestJapanese3860()
|
D | calcasts.cpp | 61 checkField(cal, UCAL_ERA, cases[i].era, status); in doTestCases() 73 cal->set(UCAL_ERA, cases[i].era); in doTestCases()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2095 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2110 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2125 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2129 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2144 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2157 int32_t eraMin = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MINIMUM, &status); in TestAddRollEra0AndEraBounds() 2167 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2168 eraMax = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MAXIMUM, &status); in TestAddRollEra0AndEraBounds() 2174 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds() 2188 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | ccaltst.c | 2091 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2106 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2121 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2125 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2140 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds() 2153 int32_t eraMin = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MINIMUM, &status); in TestAddRollEra0AndEraBounds() 2163 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2164 eraMax = ucal_getLimit(ucalTest, UCAL_ERA, UCAL_MAXIMUM, &status); in TestAddRollEra0AndEraBounds() 2170 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds() 2184 ucal_set(ucalTest, UCAL_ERA, 1); in TestAddRollEra0AndEraBounds() [all …]
|