/external/skia/samplecode/ |
D | SampleRegion.cpp | 20 inline float roundf(float x) { return (x-floor(x))>0.5 ? ceil(x) : floor(x); } in roundf() function 63 dst->fLeft = (int)::roundf(src.fLeft * scale); in scale_rect() 64 dst->fTop = (int)::roundf(src.fTop * scale); in scale_rect() 65 dst->fRight = (int)::roundf(src.fRight * scale); in scale_rect() 66 dst->fBottom = (int)::roundf(src.fBottom * scale); in scale_rect()
|
/external/llvm/test/Transforms/SimplifyLibCalls/ |
D | float-shrink-compare.ll | 73 ; 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
|
D | win-math.ll | 259 ; WIN32-NOT: float @roundf 262 ; WIN64-NOT: float @roundf 265 ; MINGW32: float @roundf 268 ; MINGW64: float @roundf
|
D | floor.ll | 10 ; DO-SIMPLIFY: call float @roundf( 57 ; --> roundf
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | FontWx.cpp | 97 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText() 100 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText() 104 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
|
/external/webkit/Source/WebCore/platform/chromium/ |
D | DragImageChromiumMac.cpp | 59 size_t width = roundf(CGImageGetWidth(image) * scale.width()); in scaleDragImage() 60 size_t height = roundf(CGImageGetHeight(image) * scale.height()); in scaleDragImage()
|
/external/clang/test/CodeGen/ |
D | libcall-declarations.c | 64 float roundf(float); 85 rint, rintl, rintf, round, roundl, roundf, sin, sinl, sinf, sqrt, sqrtl,
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | SimpleFontData.cpp | 101 m_fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); in SimpleFontData()
|
D | FloatSize.h | 148 return IntSize(static_cast<int>(roundf(p.width())), static_cast<int>(roundf(p.height()))); in roundedIntSize()
|
D | FloatPoint.h | 202 return IntPoint(static_cast<int>(roundf(p.x())), static_cast<int>(roundf(p.y()))); in roundedIntPoint()
|
/external/webkit/Source/WebCore/css/ |
D | CSSCursorImageValue.cpp | 95 float x = roundf(cursorElement->x().value(0)); in updateIfSVGCursorIsUsed() 98 float y = roundf(cursorElement->y().value(0)); in updateIfSVGCursorIsUsed()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | MathExtras.h | 119 static float roundf(float num) in roundf() function 127 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); } in llroundf() 129 inline long lroundf(float num) { return static_cast<long>(roundf(num)); } in lroundf()
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGForeignObject.cpp | 91 setWidth(static_cast<int>(roundf(m_viewport.width()))); in computeLogicalWidth() 97 setHeight(static_cast<int>(roundf(m_viewport.height()))); in computeLogicalHeight()
|
D | RenderSVGRoot.cpp | 87 return static_cast<int>(roundf(replacedWidth * svg->currentScale())); in computeReplacedLogicalWidth() 98 return static_cast<int>(roundf(replacedHeight * svg->currentScale())); in computeReplacedLogicalHeight()
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontWin.cpp | 66 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText() 69 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
|
D | UniscribeController.cpp | 298 float roundedAdvance = roundf(advance); in shapeAndPlaceItem() 301 offsetX = roundf(offsetX); in shapeAndPlaceItem() 302 offsetY = roundf(offsetY); in shapeAndPlaceItem()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FontComplexTextMac.cpp | 53 …return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - befor… in selectionRectForComplexText() 56 …return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWid… in selectionRectForComplexText()
|
/external/webkit/Source/WebKit2/UIProcess/ |
D | FindIndicator.cpp | 169 … graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness))); in draw()
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | GraphicsContextCG.cpp | 635 float destinationX = roundf(rect.x() - lineWidth); in strokePath() 636 float destinationY = roundf(rect.y() - lineWidth); in strokePath() 1028 const float destinationX = roundf(rect.x() - lineWidth); in strokeRect() 1029 const float destinationY = roundf(rect.y() - lineWidth); in strokeRect() 1201 deviceOrigin.x = roundf(deviceOrigin.x); in roundToDevicePixels() 1202 deviceOrigin.y = roundf(deviceOrigin.y); in roundToDevicePixels() 1204 deviceLowerRight.x = roundf(deviceLowerRight.x); in roundToDevicePixels() 1205 deviceLowerRight.y = roundf(deviceLowerRight.y); in roundToDevicePixels() 1207 deviceLowerRight.x = deviceOrigin.x + roundf(rect.width() * deviceScaleX); in roundToDevicePixels() 1208 deviceLowerRight.y = deviceOrigin.y + roundf(rect.height() * deviceScaleY); in roundToDevicePixels()
|
/external/skia/src/core/ |
D | SkUnPreMultiply.cpp | 74 uint32_t div = roundf(j * 255.0f / i); in SkUnPreMultiply_BuildTable()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderEmbeddedObject.cpp | 176 …float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - t… in paintReplaced() 177 …float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - … in paintReplaced()
|
/external/webkit/Source/WebKit/efl/ewk/ |
D | ewk_tiled_matrix.c | 527 new_update.x = roundf(t->zoom * new_update.x); in ewk_tile_matrix_tile_update() 528 new_update.y = roundf(t->zoom * new_update.y); in ewk_tile_matrix_tile_update() 529 new_update.w = roundf(t->zoom * new_update.w); in ewk_tile_matrix_tile_update() 530 new_update.h = roundf(t->zoom * new_update.h); in ewk_tile_matrix_tile_update()
|
/external/webkit/Source/WebCore/inspector/ |
D | InspectorFrontendClientLocal.cpp | 161 …return roundf(max(minimumAttachedHeight, min<float>(preferredHeight, totalWindowHeight * maximumAt… in constrainedAttachedWindowHeight()
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
D | FETurbulence.cpp | 306 paintingData.width = roundf(tileWidth * m_baseFrequencyX); in calculateTurbulenceValueForPoint() 308 paintingData.height = roundf(tileHeight * m_baseFrequencyY); in calculateTurbulenceValueForPoint()
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
D | PlatformGraphicsContext.cpp | 49 return (int)roundf(x); in RoundToInt() 236 int alpha = roundf(m_state->alpha * 256); in getNormalizedAlpha()
|