Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dtsnmfmt.cpp261 tryIt(uprv_floor(it)); in testFormat()
267 tryIt(uprv_floor(it)); in testFormat()
278 tryIt((int32_t)uprv_floor(it)); in testFormat()
Dtsdate.cpp136 tryDate(uprv_floor(randDouble() * limit)); in testFormat()
251 double e = uprv_floor(log10(d)); in randDouble()
Dtzbdtest.cpp58 ONE_YEAR(uprv_floor(365.25 * ONE_DAY)), in TimeZoneBoundaryTest()
173 " \"" + dateToString(d) + "\" = " + uprv_floor(d+0.5); in showDate()
Dnmfmtrt.cpp170 test(fmt, uprv_floor((randomDouble(10000)))); in test()
Dtztest.cpp262 min = 1000.0 * uprv_floor(min/1000.0); in findTransition()
263 max = 1000.0 * uprv_floor(max/1000.0); in findTransition()
292 …logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min)); in testUsingBinarySearch()
293 …logln(UnicodeString("Binary Search After: ") + uprv_floor(0.5 + max) + " = " + dateToString(max)); in testUsingBinarySearch()
/external/icu/icu4c/source/i18n/
Dindiancal.cpp284 IndianMonth = (int32_t)uprv_floor(mday / 31) + 1; in handleComputeFields()
288 IndianMonth = (int32_t)uprv_floor(mday / 30) + 6; in handleComputeFields()
Dislamcal.cpp422 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
624 startDate = (int32_t)uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields()
Dnfsubs.cpp107 return uprv_floor(number / divisor); in transformNumber()
193 virtual double transformNumber(double number) const { return uprv_floor(number); } in transformNumber()
221 virtual double transformNumber(double number) const { return number - uprv_floor(number); } in transformNumber()
589 numberToFormat = uprv_floor(numberToFormat); in doSubstitution()
637 if (numberToFormat == uprv_floor(numberToFormat) && ruleSet != NULL) { in doSubstitution()
Dgregoimp.h268 return uprv_floor(numerator / denominator); in floorDivide()
Dgregoimp.cpp38 quotient = uprv_floor(numerator / denominator); in floorDivide()
Dnfrs.cpp463 if (number != uprv_floor(number)) { in findDoubleRule()
828 result = (int64_t)uprv_floor(d); in util64_fromDouble()
Dsimpletz.cpp520 double day = uprv_floor(date / U_MILLIS_PER_DAY); in getOffsetFromLocal()
550 day = uprv_floor(date / U_MILLIS_PER_DAY); in getOffsetFromLocal()
Dastro.cpp394 double JD = uprv_floor(getJulianDay() - 0.5) + 0.5; in getSiderealOffset()
Dolsontz.cpp486 double sec = uprv_floor(date / U_MILLIS_PER_SECOND); in getHistoricalOffset()
/external/icu/libicu/cts_headers/
Dgregoimp.h268 return uprv_floor(numerator / denominator); in floorDivide()
Dputilimp.h249 U_CAPI double U_EXPORT2 uprv_floor(double d);
/external/icu/icu4c/source/common/
Dputilimp.h249 U_CAPI double U_EXPORT2 uprv_floor(double d);
Dputil.cpp444 uprv_floor(double x) in uprv_floor() function
458 return uprv_floor(x + 0.5); in uprv_round()
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp46 return (int)uprv_floor((uprv_getRawUTCtime()-startTime)/1000.0); in elapsedTime()
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c81 expn1=uprv_floor(value1); in TestPUtilAPI()
/external/icu/icu4c/source/tools/ctestfw/
Dctest.c323 double mins = uprv_floor(deltaTime/60000.0); in str_timeDelta()
/external/icu/libicu/cts_headers/unicode/
Durename.h1411 #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) macro
/external/icu/icu4c/source/common/unicode/
Durename.h1411 #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) macro
/external/icu/libandroidicu/include/unicode/
Durename.h1411 #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) macro
/external/icu/libicu/ndk_headers/unicode/
Durename.h1411 #define uprv_floor U_ICU_ENTRY_POINT_RENAME(uprv_floor) macro

12