Home
last modified time | relevance | path

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

1234

/external/valgrind/main/none/tests/mips64/
Dfpu_arithmetic.c39 flt_art_op_names[op], roundf(fd_f), fs_f[i], ft_f[i]); in arithmeticOperations()
49 flt_art_op_names[op], roundf(fd_f), fs_f[i], ft_f[i]); in arithmeticOperations()
67 flt_art_op_names[op], roundf(fd_f), fs_f[i]); in arithmeticOperations()
87 flt_art_op_names[op], roundf(fd_f), fs_f[i]); in arithmeticOperations()
98 flt_art_op_names[op], roundf(fd_f), fs_f[i]); in arithmeticOperations()
110 printf("%s %f %f %f %f\n",flt_art_op_names[op], roundf(fd_f), in arithmeticOperations()
120 printf("%s %f %f %f %f\n", flt_art_op_names[op], roundf(fd_f), in arithmeticOperations()
130 printf("%s %f %f %f %f\n", flt_art_op_names[op], roundf(fd_f), in arithmeticOperations()
140 printf("%s %f %f %f %f\n", flt_art_op_names[op], roundf(fd_f), in arithmeticOperations()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGIntegerOptionalInteger.cpp58 int x = static_cast<int>(roundf(floatX)); in cloneForAnimation()
59 int y = static_cast<int>(roundf(floatY)); in cloneForAnimation()
105 m_firstInteger->setValue(static_cast<int>(roundf(x))); in calculateAnimatedValue()
106 m_secondInteger->setValue(static_cast<int>(roundf(y))); in calculateAnimatedValue()
DSVGAnimatedColor.cpp88 …m_styleColor = StyleColor(makeRGBA(roundf(animatedRed), roundf(animatedGreen), roundf(animatedBlue… in calculateAnimatedValue()
DSVGFontData.cpp100 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); in initializeFontData()
DSVGInteger.cpp85 m_value = static_cast<int>(roundf(animatedFloat)); in calculateAnimatedValue()
/external/chromium_org/third_party/skia/samplecode/
DSampleRegion.cpp120 inline float roundf(float x) { return (x-floor(x))>0.5 ? ceil(x) : floor(x); } in roundf() function
164 dst->fLeft = (int)::roundf(src.fLeft * scale); in scale_rect()
165 dst->fTop = (int)::roundf(src.fTop * scale); in scale_rect()
166 dst->fRight = (int)::roundf(src.fRight * scale); in scale_rect()
167 dst->fBottom = (int)::roundf(src.fBottom * scale); in scale_rect()
/external/skia/samplecode/
DSampleRegion.cpp120 inline float roundf(float x) { return (x-floor(x))>0.5 ? ceil(x) : floor(x); } in roundf() function
164 dst->fLeft = (int)::roundf(src.fLeft * scale); in scale_rect()
165 dst->fTop = (int)::roundf(src.fTop * scale); in scale_rect()
166 dst->fRight = (int)::roundf(src.fRight * scale); in scale_rect()
167 dst->fBottom = (int)::roundf(src.fBottom * scale); in scale_rect()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGForeignObject.cpp67 setWidth(static_cast<int>(roundf(m_viewport.width()))); in updateLogicalWidth()
75 computedValues.m_extent = static_cast<int>(roundf(m_viewport.height())); in computeLogicalHeight()
/external/llvm/test/Transforms/InstCombine/
Dfloat-shrink-compare.ll73 ; CHECK-NEXT: %roundf = call float @roundf(float %x)
74 ; CHECK-NEXT: fcmp oeq float %roundf, %y
157 ; CHECK-NEXT: %roundf = call float @roundf(float %x)
158 ; CHECK-NEXT: fcmp oeq float %roundf, %y
Ddouble-float-shrink-2.ll10 ; DO-SIMPLIFY: call float @roundf(
52 ; --> roundf
Dwin-math.ll259 ; WIN32-NOT: float @roundf
262 ; WIN64-NOT: float @roundf
265 ; MINGW32: float @roundf
268 ; MINGW64: float @roundf
/external/llvm/test/CodeGen/PowerPC/
Drounding-ops.ll26 %call = tail call float @roundf(float %x) nounwind readnone
33 declare float @roundf(float) nounwind readnone
/external/llvm/test/CodeGen/AArch64/
Darm64-rounding.ll116 %call = tail call float @roundf(float %a) nounwind readnone
120 declare float @roundf(float %a) nounwind readnone
192 %call = tail call float @roundf(float %a) nounwind readnone
/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtras.h89 static float roundf(float num) in roundf() function
97 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); } in llroundf()
99 inline long lroundf(float num) { return static_cast<long>(roundf(num)); } in lroundf()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSCursorImageValue.cpp103 float x = roundf(cursorElement->x()->currentValue()->value(lengthContext)); in updateIfSVGCursorIsUsed()
106 float y = roundf(cursorElement->y()->currentValue()->value(lengthContext)); in updateIfSVGCursorIsUsed()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderEmbeddedObject.cpp150 …float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - t… in paintReplaced()
151 …float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - … in paintReplaced()
DRenderTextControl.cpp228 return roundf(style()->font().primaryFont()->avgCharWidth()); in getAvgCharWidth()
241 return roundf(style()->font().fontDescription().computedSize() * x / unitsPerEm); in scaleEmToUnits()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatSize.h179 return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height()))); in roundedIntSize()
DFloatPoint.h218 return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y()))); in roundedIntPoint()
/external/chromium_org/ui/ios/
DNSString+CrStringDrawing_unittest.mm98 EXPECT_FLOAT_EQ(roundf(size_with_pixel_aligned.width * scale),
100 EXPECT_FLOAT_EQ(roundf(size_with_pixel_aligned.height * scale),
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontComplexTextMac.cpp64 …return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalW… in selectionRectForComplexText()
67 …return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floo… in selectionRectForComplexText()
/external/skia/src/core/
DSkUnPreMultiply.cpp83 uint32_t div = roundf(j * 255.0f / i); in SkUnPreMultiply_BuildTable()
/external/chromium_org/third_party/skia/src/core/
DSkUnPreMultiply.cpp83 uint32_t div = roundf(j * 255.0f / i); in SkUnPreMultiply_BuildTable()
/external/bison/linux-lib/
Dmath.h2065 # undef roundf
2066 # define roundf rpl_roundf
2068 _GL_FUNCDECL_RPL (roundf, float, (float x));
2069 _GL_CXXALIAS_RPL (roundf, float, (float x));
2072 _GL_FUNCDECL_SYS (roundf, float, (float x));
2074 _GL_CXXALIAS_SYS (roundf, float, (float x));
2076 _GL_CXXALIASWARN (roundf);
2078 # undef roundf
2080 _GL_WARN_ON_USE (roundf, "roundf is unportable - "
/external/bison/lib/
Dmath.in.h1753 # undef roundf
1754 # define roundf rpl_roundf macro
1756 _GL_FUNCDECL_RPL (roundf, float, (float x));
1757 _GL_CXXALIAS_RPL (roundf, float, (float x));
1760 _GL_FUNCDECL_SYS (roundf, float, (float x));
1762 _GL_CXXALIAS_SYS (roundf, float, (float x));
1764 _GL_CXXALIASWARN (roundf);
1766 # undef roundf
1768 _GL_WARN_ON_USE (roundf, "roundf is unportable - "

1234