/external/icu4c/i18n/ |
H A D | persncal.cpp | 111 ClockMath::floorDivide(25 * year + 11, 33, remainder); 148 extendedYear += ClockMath::floorDivide(month, 12, month); 170 eyear += ClockMath::floorDivide(month, 12, month); 173 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33); 214 year = 1 + ClockMath::floorDivide(33 * daysSinceEpoch + 3, 12053); 216 int32_t farvardin1 = 365 * (year - 1) + ClockMath::floorDivide(8 * year + 21, 33);
|
H A D | gregoimp.cpp | 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { 32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, 40 double ClockMath::floorDivide(double dividend, double divisor, 89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 90 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length 108 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle length 109 int32_t n1 = ClockMath [all...] |
H A D | gregoimp.h | 28 class ClockMath { class 254 inline double ClockMath::floorDivide(double numerator, double denominator) { 285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); 290 int32_t gregShift = ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2;
|
H A D | cecal.cpp | 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 136 c4 = ClockMath::floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
H A D | islamcal.cpp | 200 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 216 + (year-1)*354 + (int32_t)ClockMath::floorDivide((3+11*year),30); 266 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; 403 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
|
H A D | gregocal.cpp | 333 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay); 389 eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRemainder); 392 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); 538 eyear += ClockMath::floorDivide(month, 12, month); 543 int32_t julianDay = 365*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 581 extendedYear += ClockMath::floorDivide(month, 12, month); 700 return ClockMath::floorDivide(wallSec, kOneDay/1000.0); 719 double julianDay = 365.0*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 788 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay);
|
H A D | indiancal.cpp | 113 eyear += ClockMath::floorDivide(month, 12, month); 247 eyear += (int32_t)ClockMath::floorDivide(month, 12, month);
|
H A D | chnsecal.cpp | 333 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m); 509 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); 512 return ClockMath::floorDivide(millis + (double)CHINA_OFFSET, kOneDay); 732 int32_t cycle = ClockMath::floorDivide(cycle_year - 1, 60, yearOfCycle);
|
H A D | astro.cpp | 213 return value - range * ClockMath::floorDivide(value, range); 423 double base = (DAY_MS * ClockMath::floorDivide(fTime + fGmtOffset,(double)DAY_MS)) - fGmtOffset; 754 double noon = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS);
|
H A D | olsontz.cpp | 440 double days = ClockMath::floorDivide(((double)ms), (double)U_MILLIS_PER_DAY, millis);
|
H A D | calendar.cpp | 1321 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); 2736 // int32_t julianInsanityCheck = (int32_t)ClockMath::floorDivide(millis, kOneDay);
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | gregoimp.cpp | 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { 32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, 40 double ClockMath::floorDivide(double dividend, double divisor, 89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 90 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length 108 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle length 109 int32_t n1 = ClockMath [all...] |
H A D | gregoimp.h | 28 class ClockMath { class 254 inline double ClockMath::floorDivide(double numerator, double denominator) { 285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); 290 int32_t gregShift = ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2;
|
H A D | cecal.cpp | 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 136 c4 = ClockMath::floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
H A D | islamcal.cpp | 197 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 213 + (year-1)*354 + (int32_t)ClockMath::floorDivide((3+11*year),30); 263 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; 400 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
|
H A D | gregocal.cpp | 333 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay); 389 eyear = (int32_t) ClockMath::floorDivide(4*julianEpochDay + 1464, 1461); 392 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); 538 eyear += ClockMath::floorDivide(month, 12, month); 543 int32_t julianDay = 365*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 581 extendedYear += ClockMath::floorDivide(month, 12, month); 700 return ClockMath::floorDivide(wallSec, kOneDay/1000.0); 719 double julianDay = 365.0*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 788 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay);
|
H A D | indiancal.cpp | 113 eyear += ClockMath::floorDivide(month, 12, month); 247 eyear += (int32_t)ClockMath::floorDivide(month, 12, month);
|
H A D | astro.cpp | 214 return value - range * ClockMath::floorDivide(value, range); 424 double base = (DAY_MS * ClockMath::floorDivide(fTime + fGmtOffset,(double)DAY_MS)) - fGmtOffset; 749 double noon = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS);
|
H A D | chnsecal.cpp | 294 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m); 449 return ClockMath::floorDivide(millis + CHINA_OFFSET, kOneDay); 665 int32_t cycle = ClockMath::floorDivide(year - 1, 60, yearOfCycle);
|
H A D | olsontz.cpp | 430 double days = ClockMath::floorDivide(((double)ms), (double)U_MILLIS_PER_DAY, millis);
|
H A D | calendar.cpp | 1254 int32_t days = (int32_t)ClockMath::floorDivide(localMillis, (double)kOneDay); 2543 // int32_t julianInsanityCheck = (int32_t)ClockMath::floorDivide(millis, kOneDay);
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | urename.h | 1864 #define ClockMath U_ICU_ENTRY_POINT_RENAME(ClockMath) macro
|