Home
last modified time | relevance | path

Searched refs:roundDown (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java919 boolean roundDown = RoundingUtils.getRoundingDirection(isEven, in roundToMagnitude()
935 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
939 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
955 if (!roundDown) { in roundToMagnitude()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java921 boolean roundDown = RoundingUtils.getRoundingDirection(isEven, in roundToMagnitude()
937 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
941 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
957 if (!roundDown) { in roundToMagnitude()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp891 bool roundDown = roundingutils::getRoundingDirection(isEven, in roundToMagnitude() local
910 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
914 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
930 if (!roundDown) { in roundToMagnitude()
/external/cronet/third_party/icu/source/i18n/
Dnumber_decimalquantity.cpp891 bool roundDown = roundingutils::getRoundingDirection(isEven, in roundToMagnitude() local
910 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
914 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
930 if (!roundDown) { in roundToMagnitude()
/external/deqp/framework/delibs/decpp/
DdeDefs.hpp72 template<typename T> inline T roundDown (T x, T y) { DE_ASSERT(y != T(0)); return (x / y) * y; } in roundDown() function
/external/scudo/standalone/
Dcommon.h40 inline constexpr uptr roundDown(uptr X, uptr Boundary) { in roundDown() function
Dsecondary.h245 roundDown(CommitBase + CommitSize - Size, Alignment); in retrieve()
575 const uptr AllocPos = roundDown(CommitBase + CommitSize - Size, Alignment); in allocate()
Drelease.h457 FromInRegion = roundDown(FirstBlockInRange, PageSize); in markRangeAsAllCounted()
Dprimary64.h482 return roundDown(getRegionInfo(ClassId)->RegionBeg - PrimaryBase, in getRegionBaseByClassId()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp425 …const glw::GLint roundDown = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<glw::GLint>(bbox… in verifyState() local
431 if (roundDown == roundUp) in verifyState()
432 builder << roundDown; in verifyState()
434 builder << "{" << roundDown << ", " << roundUp << "}"; in verifyState()
474 …const glw::GLint64 roundDown = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<glw::GLint64>(… in verifyState() local
480 if (roundDown == roundUp) in verifyState()
481 builder << roundDown; in verifyState()
483 builder << "{" << roundDown << ", " << roundUp << "}"; in verifyState()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1567 const VkDeviceSize roundedOffset = de::roundDown(memory.getOffset(), nonCoherentAtomSize); in uploadBufferData()