Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dindiancal.cpp145 uprv_floor((year - 1) / 4) + in gregorianToJD()
146 (-uprv_floor((year - 1) / 100)) + in gregorianToJD()
147 uprv_floor((year - 1) / 400) + in gregorianToJD()
148 uprv_floor((((367 * month) - 362) / 12) + in gregorianToJD()
164 wjd = uprv_floor(jd - 0.5) + 0.5; in jdToGregorian()
166 quadricent = uprv_floor(depoch / 146097); in jdToGregorian()
167 dqc = (int32_t)uprv_floor(depoch) % 146097; in jdToGregorian()
168 cent = uprv_floor(dqc / 36524); in jdToGregorian()
169 dcent = (int32_t)uprv_floor(dqc) % 36524; in jdToGregorian()
170 quad = uprv_floor(dcent / 1461); in jdToGregorian()
[all …]
Dislamcal.cpp239 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
410 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
412 startDate = uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
Dnfsubs.cpp102 return uprv_floor(number / divisor); in transformNumber()
183 virtual double transformNumber(double number) const { return uprv_floor(number); } in transformNumber()
209 virtual double transformNumber(double number) const { return number - uprv_floor(number); } in transformNumber()
593 numberToFormat = uprv_floor(numberToFormat); in doSubstitution()
620 if (numberToFormat == uprv_floor(numberToFormat) && ruleSet != NULL) { in doSubstitution()
Dgregoimp.h255 return uprv_floor(numerator / denominator); in floorDivide()
Dnfrs.cpp363 if (number != uprv_floor(number)) { in findDoubleRule()
742 result = (int64_t)uprv_floor(d); in util64_fromDouble()
Dgregoimp.cpp35 quotient = uprv_floor(numerator / denominator); in floorDivide()
Dsimpletz.cpp516 double day = uprv_floor(date / U_MILLIS_PER_DAY); in getOffsetFromLocal()
546 day = uprv_floor(date / U_MILLIS_PER_DAY); in getOffsetFromLocal()
Dastro.cpp393 double JD = uprv_floor(getJulianDay() - 0.5) + 0.5; in getSiderealOffset()
Dolsontz.cpp478 double sec = uprv_floor(date / U_MILLIS_PER_SECOND); in getHistoricalOffset()
Dplurrule.cpp787 if ((rangeHigh == -1 || integerOnly) && number != uprv_floor(number)) { in isFulfilled()
Dtimezone.cpp614 double day = uprv_floor(date / U_MILLIS_PER_DAY); in getOffset()
/external/icu4c/test/intltest/
Dtsnmfmt.cpp259 tryIt(uprv_floor(it)); in testFormat()
265 tryIt(uprv_floor(it)); in testFormat()
276 tryIt((int32_t)uprv_floor(it)); in testFormat()
Dtsdate.cpp133 tryDate(uprv_floor(randDouble() * limit)); in testFormat()
238 double e = uprv_floor(log10(d)); in randDouble()
Dtzbdtest.cpp56 ONE_YEAR(uprv_floor(365.25 * ONE_DAY)), in TimeZoneBoundaryTest()
171 " \"" + dateToString(d) + "\" = " + uprv_floor(d+0.5); in showDate()
Dnmfmtrt.cpp167 test(fmt, uprv_floor((randomDouble(10000)))); in test()
Dtztest.cpp251 min = 1000.0 * uprv_floor(min/1000.0); in findTransition()
252 max = 1000.0 * uprv_floor(max/1000.0); in findTransition()
281 …logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min)); in testUsingBinarySearch()
282 …logln(UnicodeString("Binary Search After: ") + uprv_floor(0.5 + max) + " = " + dateToString(max)); in testUsingBinarySearch()
/external/icu4c/common/
Dputilimp.h72 U_INTERNAL double U_EXPORT2 uprv_floor(double d);
Dputil.c443 uprv_floor(double x) in uprv_floor() function
457 return uprv_floor(x + 0.5); in uprv_round()
/external/icu4c/test/cintltst/
Dputiltst.c59 expn1=uprv_floor(value1); in TestPUtilAPI()
/external/icu4c/tools/ctestfw/
Dctest.c293 double mins = uprv_floor(deltaTime/60000.0); in str_timeDelta()
/external/webkit/Source/JavaScriptCore/icu/unicode/
Durename.h913 #define uprv_floor uprv_floor_3_2 macro
/external/webkit/Source/JavaScriptGlue/icu/unicode/
Durename.h913 #define uprv_floor uprv_floor_3_2 macro
/external/webkit/Source/WebKit/mac/icu/unicode/
Durename.h913 #define uprv_floor uprv_floor_3_2 macro
/external/webkit/Source/WebCore/icu/unicode/
Durename.h913 #define uprv_floor uprv_floor_3_2 macro
/external/icu4c/common/unicode/
Durename.h1293 #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) macro