/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_llroundf.c | 5 #define roundit roundf
|
s_lroundf.c | 5 #define roundit roundf
|
s_roundf.c | 33 roundf(float x) function
|
/external/clang/test/CodeGen/ |
libcall-declarations.c | 64 float roundf(float); 85 rint, rintl, rintf, round, roundl, roundf, sin, sinl, sinf, sqrt, sqrtl, 148 // CHECK-NOERRNO: declare float @roundf(float) [[NUW]] 188 // CHECK-ERRNO: declare float @roundf(float) [[NUW]]
|
/external/webkit/Source/WebCore/platform/chromium/ |
DragImageChromiumMac.cpp | 59 size_t width = roundf(CGImageGetWidth(image) * scale.width()); 60 size_t height = roundf(CGImageGetHeight(image) * scale.height());
|
/hardware/invensense/libsensors_iio/software/core/driver/include/ |
mlmath.h | 23 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) macro 59 #define roundf(x) (((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) macro
|
/hardware/invensense/mlsdk/platform/include/ |
mlmath.h | 35 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) macro 71 #define roundf(x) (((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) macro
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontWx.cpp | 92 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning 97 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 100 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 104 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
|
/external/webkit/Source/WebCore/css/ |
CSSCursorImageValue.cpp | 95 float x = roundf(cursorElement->x().value(0)); 98 float y = roundf(cursorElement->y().value(0));
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGForeignObject.cpp | 91 setWidth(static_cast<int>(roundf(m_viewport.width()))); 97 setHeight(static_cast<int>(roundf(m_viewport.height())));
|
/external/webkit/Source/WebCore/platform/graphics/ |
FloatPoint.h | 202 return IntPoint(static_cast<int>(roundf(p.x())), static_cast<int>(roundf(p.y())));
|
FloatSize.h | 148 return IntSize(static_cast<int>(roundf(p.width())), static_cast<int>(roundf(p.height())));
|
SimpleFontData.cpp | 101 m_fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontComplexTextMac.cpp | 50 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning 53 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 56 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontWin.cpp | 62 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning 66 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 69 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
|
UniscribeController.cpp | 298 float roundedAdvance = roundf(advance); 301 offsetX = roundf(offsetX); 302 offsetY = roundf(offsetY);
|
/external/webkit/Source/WebKit2/UIProcess/ |
FindIndicator.cpp | 169 graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness)));
|
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 130 dst->fLeft = (int)::roundf(src.fLeft * scale); 131 dst->fTop = (int)::roundf(src.fTop * scale); 132 dst->fRight = (int)::roundf(src.fRight * scale); 133 dst->fBottom = (int)::roundf(src.fBottom * scale);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
MathExtras.h | 119 static float roundf(float num) function 127 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); } 129 inline long lroundf(float num) { return static_cast<long>(roundf(num)); }
|
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendClientLocal.cpp | 161 return roundf(max(minimumAttachedHeight, min<float>(preferredHeight, totalWindowHeight * maximumAttachedHeightRatio)));
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
WebPopupMenuProxyMac.mm | 122 float vertOffset = roundf((NSMaxY(rect) - NSMaxY(titleFrame)) + NSHeight(titleFrame)); 131 WKPopupMenu(menu, location, roundf(NSWidth(rect)), dummyView.get(), selectedIndex, font);
|
/external/webkit/Source/WebCore/rendering/ |
RenderEmbeddedObject.cpp | 176 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2); 177 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
|
/frameworks/rs/cpu_ref/ |
rsCpuRuntimeMath.cpp | 151 EXPORT_F32_FN_F32(roundf) 222 { "_Z5roundf", (void *)&roundf, true },
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 635 float destinationX = roundf(rect.x() - lineWidth); 636 float destinationY = roundf(rect.y() - lineWidth); [all...] |
/bionic/tests/ |
math_test.cpp | 846 TEST(math, roundf) { 847 fesetround(FE_TOWARDZERO); // roundf ignores the rounding mode and always rounds away from zero. 848 ASSERT_FLOAT_EQ(1.0f, roundf(0.5f)); 849 ASSERT_FLOAT_EQ(-1.0f, roundf(-0.5f)); 850 ASSERT_FLOAT_EQ(0.0f, roundf(0.0f)); 851 ASSERT_FLOAT_EQ(-0.0f, roundf(-0.0f)); 852 ASSERT_TRUE(isnanf(roundf(nanf("")))); 853 ASSERT_FLOAT_EQ(HUGE_VALF, roundf(HUGE_VALF));
|