Searched refs:floorf (Results 1 - 25 of 68) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
H A DIntRectCG.cpp40 int l = static_cast<int>(floorf(rect.origin.x));
41 int t = static_cast<int>(floorf(rect.origin.y));
/external/chromium_org/third_party/WebKit/Source/platform/geometry/mac/
H A DIntRectMac.mm40 int l = static_cast<int>(floorf(rect.origin.x));
41 int t = static_cast<int>(floorf(rect.origin.y));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontComplexTextMac.cpp64 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h);
67 return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floorf(point.x() + beforeWidth), h);
136 glyphBounds->setTop(floorf(-controller.minGlyphBoundingBoxY()));
138 glyphBounds->setLeft(std::max<int>(0, floorf(-controller.minGlyphBoundingBoxX())));
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatPoint.h223 return IntPoint(clampToInteger(floorf(p.x())), clampToInteger(floorf(p.y())));
233 return IntSize(clampToInteger(floorf(p.x())), clampToInteger(floorf(p.y())));
H A DFloatSize.h184 return IntSize(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height())));
194 return IntPoint(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height())));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGradientGeneratedImage.cpp52 int firstColumn = static_cast<int>(floorf((((destRect.x() - phase.x()) / scale.width()) - srcRect.x()) / srcRect.width()));
53 int firstRow = static_cast<int>(floorf((((destRect.y() - phase.y()) / scale.height()) - srcRect.y()) / srcRect.height()));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEGaussianBlur.cpp89 int size = std::max<unsigned>(2, static_cast<unsigned>(floorf(std.x() * gaussianKernelFactor() + 0.5f)));
94 int size = std::max<unsigned>(2, static_cast<unsigned>(floorf(std.y() * gaussianKernelFactor() + 0.5f)));
H A DFETurbulence.cpp278 float lowFrequency = floorf(tileWidth * baseFrequencyX) / tileWidth;
287 float lowFrequency = floorf(tileHeight * baseFrequencyY) / tileHeight;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
H A DSkiaUtils.cpp162 int x = static_cast<int>(floorf(0.5f + point.x() * scale));
163 int y = static_cast<int>(floorf(0.5f + point.y() * scale));
191 return fabs(value - floorf(value)) < std::numeric_limits<float>::epsilon();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_test_arit.c191 x -= floorf(x);
240 {"floor", &lp_build_floor, &floorf, round_values, Elements(round_values), 24.0 },
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_arit.c191 x -= floorf(x);
240 {"floor", &lp_build_floor, &floorf, round_values, Elements(round_values), 24.0 },
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimports.h127 #define floorf(f) ((float) floor(f)) macro
149 static inline float truncf(float x) { return x < 0.0f ? ceilf(x) : floorf(x); }
265 #define FLOORF(x) floorf(x)
/external/mesa3d/src/mesa/main/
H A Dimports.h127 #define floorf(f) ((float) floor(f)) macro
148 static inline float truncf(float x) { return x < 0.0f ? ceilf(x) : floorf(x); }
263 #define FLOORF(x) floorf(x)
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DLocalFrame.cpp263 resultSize.setWidth(floorf(expectedSize.width()));
264 resultSize.setHeight(floorf(resultSize.width() * ratio));
268 resultSize.setHeight(floorf(expectedSize.height()));
269 resultSize.setWidth(floorf(resultSize.height() * ratio));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDescription.cpp152 return floorf(size * FontCacheKey::precisionMultiplier()) / FontCacheKey::precisionMultiplier();
/external/chromium_org/third_party/skia/include/core/
H A DSkFloatingPoint.h74 #define sk_float_floor(x) floorf(x)
/external/skia/include/core/
H A DSkFloatingPoint.h72 #define sk_float_floor(x) floorf(x)
/external/valgrind/main/memcheck/tests/
H A Dvcpu_fnfns.c27 printf("floorF(%+20.4e) = %+20.4e\n", (double)f, (double)floorf(f));
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEConvolveMatrixElement.cpp211 targetXValue = static_cast<int>(floorf(orderXValue / 2));
216 targetYValue = static_cast<int>(floorf(orderYValue / 2));
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h261 /// float floorf(float x);
262 floorf, enumerator in enum:llvm::LibFunc::Func
737 case LibFunc::floor: case LibFunc::floorf: case LibFunc::floorl:
/external/bison/darwin-lib/
H A Dmath.h1041 # undef floorf
1042 # define floorf rpl_floorf
1044 _GL_FUNCDECL_RPL (floorf, float, (float x));
1045 _GL_CXXALIAS_RPL (floorf, float, (float x));
1048 # undef floorf
1049 _GL_FUNCDECL_SYS (floorf, float, (float x));
1051 _GL_CXXALIAS_SYS (floorf, float, (float x));
1053 _GL_CXXALIASWARN (floorf);
1055 # undef floorf macro
1057 _GL_WARN_ON_USE (floorf, "floor
[all...]
/external/bison/lib/
H A Dmath.in.h729 # undef floorf macro
730 # define floorf rpl_floorf macro
732 _GL_FUNCDECL_RPL (floorf, float, (float x));
733 _GL_CXXALIAS_RPL (floorf, float, (float x));
736 # undef floorf macro
737 _GL_FUNCDECL_SYS (floorf, float, (float x));
739 _GL_CXXALIAS_SYS (floorf, float, (float x));
741 _GL_CXXALIASWARN (floorf); variable
743 # undef floorf macro
745 _GL_WARN_ON_USE (floorf, "floor
[all...]
/external/bison/linux-lib/
H A Dmath.h1041 # undef floorf
1042 # define floorf rpl_floorf
1044 _GL_FUNCDECL_RPL (floorf, float, (float x));
1045 _GL_CXXALIAS_RPL (floorf, float, (float x));
1048 # undef floorf
1049 _GL_FUNCDECL_SYS (floorf, float, (float x));
1051 _GL_CXXALIAS_SYS (floorf, float, (float x));
1053 _GL_CXXALIASWARN (floorf);
1055 # undef floorf macro
1057 _GL_WARN_ON_USE (floorf, "floor
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DFontHarfBuzz.cpp269 glyphBounds->setTop(floorf(-shaper.glyphBoundingBox().top()));
271 glyphBounds->setLeft(std::max<int>(0, floorf(-shaper.glyphBoundingBox().left())));
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_math.h83 static INLINE float floorf( float f ) function
137 return x >= 0.0f ? floorf(x + 0.5f) : ceilf(x - 0.5f);

Completed in 457 milliseconds

123