HomeSort by relevance Sort by last modified time
    Searched refs:roundf (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /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/chromium_org/third_party/WebKit/Source/core/svg/
SVGAnimatedColor.cpp 97 animatedColor = ColorDistance::clampColor(static_cast<int>(roundf(animatedRed)), static_cast<int>(roundf(animatedGreen)), static_cast<int>(roundf(animatedBlue)), static_cast<int>(roundf(animatedAlpha)));
SVGAnimatedIntegerOptionalInteger.cpp 45 animatedInteger.first = static_cast<int>(roundf(firstNumber));
46 animatedInteger.second = static_cast<int>(roundf(secondNumber));
SVGFontData.cpp 94 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
SVGAnimatedInteger.cpp 78 animatedInteger = static_cast<int>(roundf(animatedNumber));
  /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]]
  /hardware/invensense/60xx/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/60xx/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
  /hardware/invensense/65xx/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
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCursorImageValue.cpp 103 float x = roundf(cursorElement->xCurrentValue().value(lengthContext));
106 float y = roundf(cursorElement->yCurrentValue().value(lengthContext));
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
FloatSize.h 172 return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height())));
GraphicsContextState.h 93 int s = roundf(m_alpha * 256);
WidthIterator.cpp 221 float expansionAtThisOpportunity = !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
237 width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion);
FloatPoint.h 214 return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y())));
Image.cpp 188 float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width())));
192 float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.height())));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGForeignObject.cpp 108 setWidth(static_cast<int>(roundf(m_viewport.width())));
116 computedValues.m_extent = static_cast<int>(roundf(m_viewport.height()));
  /external/chromium_org/ui/base/ozone/evdev/
touch_event_converter_ozone.cc 117 events_[current_slot_].x_ = roundf(input.value * x_scale_);
122 events_[current_slot_].y_ = roundf(input.value * y_scale_);
  /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/chromium_org/third_party/WebKit/Source/wtf/
MathExtras.h 123 static float roundf(float num) function
131 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); }
133 inline long lroundf(float num) { return static_cast<long>(roundf(num)); }
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc_utils.h 166 if(cropF.left - roundf(cropF.left) ||
167 cropF.top - roundf(cropF.top) ||
168 cropF.right - roundf(cropF.right) ||
169 cropF.bottom - roundf(cropF.bottom))
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/
FontComplexTextMac.cpp 63 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning
66 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
69 return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floorf(point.x() + beforeWidth), h);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderEmbeddedObject.cpp 170 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2);
171 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
RenderTextControl.cpp 212 return roundf(style()->font().primaryFont()->avgCharWidth());
226 return roundf(style()->font().size() * x / unitsPerEm);

Completed in 2620 milliseconds

1 2 3 4 5