/external/chromium_org/third_party/icu/source/i18n/ |
H A D | gregoimp.cpp | 97 int32_t& dom, int32_t& dow, int32_t& doy) { 120 dow = (int32_t) uprv_fmod(day + 1, 7); 121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; 135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { 139 dayToFields(day, year, month, dom, dow, doy); 143 int32_t dow; local 144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); 145 return (dow == 0) ? UCAL_SATURDAY : dow; 96 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow, int32_t& doy) argument 134 timeToFields(UDate time, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) argument [all...] |
H A D | gregoimp.h | 177 * @param dow output parameter to receive day-of-week (1-based, 1==Sun) 181 int32_t& dom, int32_t& dow, int32_t& doy); 190 * @param dow output parameter to receive day-of-week (1-based, 1==Sun) 193 int32_t& dom, int32_t& dow); 202 * @param dow output parameter to receive day-of-week (1-based, 1==Sun) 207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid); 274 int32_t& dom, int32_t& dow) { 276 dayToFields(day,year,month,dom,dow,doy_unused); 273 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow) argument
|
H A D | basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 224 year, month, dom, dow, doy, mid); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 479 int32_t year, month, dom, dow, doy, mid; local 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
H A D | simpletz.cpp | 515 int32_t year, month, dom, dow; local 519 Grego::dayToFields(day, year, month, dom, dow); 522 (uint8_t) dow, millis, 548 Grego::dayToFields(day, year, month, dom, dow); 550 (uint8_t) dow, millis,
|
H A D | gregocal.cpp | 972 // in this locale. We have dow in 0..6. 973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local 974 if (dow < 0) 975 dow += 7; 982 int32_t fdm = (dow - dom + 1) % 7; 999 int32_t ldm = (monthLen - dom + dow) % 7;
|
H A D | olsontz.cpp | 320 int32_t dom, uint8_t dow, 328 return getOffset(era, year, month, dom, dow, millis, 338 int32_t dom, uint8_t dow, 350 || dow < UCAL_SUNDAY 351 || dow > UCAL_SATURDAY 365 return finalZone->getOffset(era, year, month, dom, dow, 428 int32_t year, month, dom, dow; local 432 Grego::dayToFields(days, year, month, dom, dow); 555 int32_t year, month, dom, dow, doy, mid; local 556 Grego::timeToFields(current, year, month, dom, dow, do 319 getOffset(uint8_t era, int32_t year, int32_t month, int32_t dom, uint8_t dow, int32_t millis, UErrorCode& ec) const argument 337 getOffset(uint8_t era, int32_t year, int32_t month, int32_t dom, uint8_t dow, int32_t millis, int32_t monthLength, UErrorCode& ec) const argument [all...] |
H A D | timezone.cpp | 632 int32_t year, month, dom, dow; local 636 Grego::dayToFields(day, year, month, dom, dow); 639 (uint8_t) dow, millis,
|
H A D | calendar.cpp | 1314 int32_t dow = julianDayToDayOfWeek(julianDay); local 1315 internalSet(UCAL_DAY_OF_WEEK,dow); 1318 int32_t dowLocal = dow - getFirstDayOfWeek() + 1; 1401 // dow: 1 2 3 4 5 6 7 1592 // in this locale. We have dow in 0..6. 1593 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local 1594 if (dow < 0) dow += 7; 1598 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7; 1614 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) 1651 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local 3141 int32_t dow = fFirstDayOfWeek; local [all...] |
/external/icu4c/i18n/ |
H A D | gregoimp.cpp | 97 int32_t& dom, int32_t& dow, int32_t& doy) { 120 dow = (int32_t) uprv_fmod(day + 1, 7); 121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; 135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { 139 dayToFields(day, year, month, dom, dow, doy); 143 int32_t dow; local 144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); 145 return (dow == 0) ? UCAL_SATURDAY : dow; 96 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow, int32_t& doy) argument 134 timeToFields(UDate time, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) argument [all...] |
H A D | gregoimp.h | 177 * @param dow output parameter to receive day-of-week (1-based, 1==Sun) 181 int32_t& dom, int32_t& dow, int32_t& doy); 190 * @param dow output parameter to receive day-of-week (1-based, 1==Sun) 193 int32_t& dom, int32_t& dow); 202 * @param dow output parameter to receive day-of-week (1-based, 1==Sun) 207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid); 274 int32_t& dom, int32_t& dow) { 276 dayToFields(day,year,month,dom,dow,doy_unused); 273 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow) argument
|
H A D | basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 224 year, month, dom, dow, doy, mid); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 479 int32_t year, month, dom, dow, doy, mid; local 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
H A D | simpletz.cpp | 516 int32_t year, month, dom, dow; local 520 Grego::dayToFields(day, year, month, dom, dow); 523 (uint8_t) dow, millis, 549 Grego::dayToFields(day, year, month, dom, dow); 551 (uint8_t) dow, millis,
|
H A D | gregocal.cpp | 972 // in this locale. We have dow in 0..6. 973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local 974 if (dow < 0) 975 dow += 7; 982 int32_t fdm = (dow - dom + 1) % 7; 999 int32_t ldm = (monthLen - dom + dow) % 7;
|
H A D | olsontz.cpp | 330 int32_t dom, uint8_t dow, 338 return getOffset(era, year, month, dom, dow, millis, 348 int32_t dom, uint8_t dow, 360 || dow < UCAL_SUNDAY 361 || dow > UCAL_SATURDAY 375 return finalZone->getOffset(era, year, month, dom, dow, 438 int32_t year, month, dom, dow; local 442 Grego::dayToFields(days, year, month, dom, dow); 565 int32_t year, month, dom, dow, doy, mid; local 566 Grego::timeToFields(current, year, month, dom, dow, do 329 getOffset(uint8_t era, int32_t year, int32_t month, int32_t dom, uint8_t dow, int32_t millis, UErrorCode& ec) const argument 347 getOffset(uint8_t era, int32_t year, int32_t month, int32_t dom, uint8_t dow, int32_t millis, int32_t monthLength, UErrorCode& ec) const argument [all...] |
H A D | timezone.cpp | 624 int32_t year, month, dom, dow; local 628 Grego::dayToFields(day, year, month, dom, dow); 631 (uint8_t) dow, millis,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | caltest.cpp | 572 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local 576 if (dow < min || 577 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range"); 578 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); 1353 * invariant. YEAR_WOY should keep the woy/dow invariant. I've 1421 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local 1457 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) { 1459 (ywy+1) + ", woy " + woy + ", dowLocal " + dow; 1679 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local [all...] |
H A D | dtfmrgts.cpp | 1275 int32_t dow; member in class:Test1684Data 1288 dow(xdow), 1366 cal->set(UCAL_DAY_OF_WEEK, test.dow);
|
H A D | tzregts.cpp | 372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local 376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7); 381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7); 388 (uint8_t)dow,
|
/external/icu4c/test/intltest/ |
H A D | dtfmrgts.cpp | 1279 int32_t dow; member in class:Test1684Data 1292 dow(xdow), 1370 cal->set(UCAL_DAY_OF_WEEK, test.dow);
|
H A D | tzregts.cpp | 372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local 376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7); 381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7); 388 (uint8_t)dow,
|
H A D | caltest.cpp | 660 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local 664 if (dow < min || 665 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range"); 666 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); 1441 * invariant. YEAR_WOY should keep the woy/dow invariant. I've 1509 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local 1545 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) { 1547 (ywy+1) + ", woy " + woy + ", dowLocal " + dow; 1767 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local [all...] |
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
H A D | localtime.c | 822 int d, m1, yy0, yy1, yy2, dow; local 866 dow = ((26 * m1 - 2) / 10 + 868 if (dow < 0) 869 dow += DAYSPERWEEK; 872 ** "dow" is the day-of-week of the first day of the month. Get 873 ** the day-of-month (zero-origin) of the first "dow" day of the 876 d = rulep->r_day - dow;
|
H A D | tz2icu.cpp | 768 int32_t dow; member in struct:FinalRulePart 816 dow = _dow; 829 if (mode != DOM && (dow < 0 || dow >= 7)) { 830 os << "Invalid input day of week " << dow; local 842 << month << dom << dow << time 867 // DOWGEQ: dom -(dow+1) 868 // DOWLEQ: -dom -(dow+1) 883 * Return a "dow" param suitable for SimpleTimeZone. 886 return (mode == DOM) ? 0 : -(dow 960 int32_t month, dom, dow, time, offset; local [all...] |
/external/icu4c/tools/tzcode/ |
H A D | localtime.c | 822 int d, m1, yy0, yy1, yy2, dow; local 866 dow = ((26 * m1 - 2) / 10 + 868 if (dow < 0) 869 dow += DAYSPERWEEK; 872 ** "dow" is the day-of-week of the first day of the month. Get 873 ** the day-of-month (zero-origin) of the first "dow" day of the 876 d = rulep->r_day - dow;
|
H A D | tz2icu.cpp | 768 int32_t dow; member in struct:FinalRulePart 816 dow = _dow; 829 if (mode != DOM && (dow < 0 || dow >= 7)) { 830 os << "Invalid input day of week " << dow; local 842 << month << dom << dow << time 867 // DOWGEQ: dom -(dow+1) 868 // DOWLEQ: -dom -(dow+1) 883 * Return a "dow" param suitable for SimpleTimeZone. 886 return (mode == DOM) ? 0 : -(dow 960 int32_t month, dom, dow, time, offset; local [all...] |