Home
last modified time | relevance | path

Searched refs:piFloat (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtras.h44 const float piFloat = static_cast<float>(M_PI); variable
198 inline float deg2rad(float d) { return d * piFloat / 180.0f; } in deg2rad()
199 inline float rad2deg(float r) { return r * 180.0f / piFloat; } in rad2deg()
204 inline float rad2grad(float r) { return r * 200.0f / piFloat; } in rad2grad()
205 inline float grad2rad(float g) { return g * piFloat / 200.0f; } in grad2rad()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEColorMatrix.h82 float cosHue = cos(value * piFloat / 180); in calculateHueRotateComponents()
83 float sinHue = sin(value * piFloat / 180); in calculateHueRotateComponents()
DFEColorMatrix.cpp200 float cosHue = cosf(hue * piFloat / 180); in hueRotateMatrix()
201 float sinHue = sinf(hue * piFloat / 180); in hueRotateMatrix()
DFEGaussianBlur.cpp44 return 3 / 4.f * sqrtf(2 * piFloat); in gaussianKernelFactor()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasPathMethods.cpp138 float twoPi = 2 * piFloat; in adjustEndAngle()
183 float twoPi = 2 * piFloat; in canonicalizeAngle()
230 ASSERT(startAngle >= 0 && startAngle < 2 * piFloat); in degenerateEllipse()
241 float halfPiFloat = piFloat * 0.5; in degenerateEllipse()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DPath.cpp282 ASSERT(startAngle >= 0 && startAngle < 2 * piFloat); in addEllipse()
294 SkScalar startDegrees = WebCoreFloatToSkScalar(startAngle * 180 / piFloat); in addEllipse()
295 SkScalar sweepDegrees = WebCoreFloatToSkScalar(sweep * 180 / piFloat); in addEllipse()
330 ASSERT(startAngle >= 0 && startAngle < 2 * piFloat); in addEllipse()
452 return (std::abs(endAngle - startAngle) < 2 * piFloat) in ellipseIsRenderable()
453 || WebCoreFloatNearlyEqual(std::abs(endAngle - startAngle), 2 * piFloat); in ellipseIsRenderable()
/external/clang/test/Rewriter/
Dobjc-modern-boxing.mm54 NSNumber *piFloat = @(3.141592654F); // equivalent to [NSNumber numberWithFloat:(3.141592654F)] function
69 // CHECK: NSNumber *piFloat = ((NSNumber *(*)(id, SEL, float))(void *)objc_msgSend)(objc_getClass(…
Dobjc-modern-numeric-literal.mm48 NSNumber *piFloat = @3.141592654F; // equivalent to [NSNumber numberWithFloat:3.141592654F]
64 // CHECK: NSNumber *piFloat = ((NSNumber *(*)(id, SEL, float))(void *)objc_msgSend)(objc_getClass(…
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DDynamicsCompressor.cpp103 float r1 = expf(-f1 * piFloat); in setEmphasisStageParameters()
104 float r2 = expf(-f2 * piFloat); in setEmphasisStageParameters()
DDynamicsCompressorKernel.cpp297 float scaledDesiredGain = asinf(desiredGain) / (0.5f * piFloat); in process()
429 float postWarpCompressorGain = sinf(0.5f * piFloat * compressorGain); in process()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DWTFStringTest.cpp92 testNumberToStringECMAScript(piFloat, "3.1415927410125732"); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPathParser.cpp459 thetaArc += 2 * piFloat; in decomposeArcToCubic()
461 thetaArc -= 2 * piFloat; in decomposeArcToCubic()
/external/clang/test/CodeGenObjC/
Dobjc-literal-tests.m73 NSNumber *piFloat = @3.141592654f;
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DPeriodicWave.cpp237 float piFactor = 2 / (n * piFloat); in generateBasicWaveform()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DPolygonShape.cpp117 const float twoPI = piFloat * 2; in appendArc()
/external/clang/docs/
DObjectiveCLiterals.rst56 NSNumber *piFloat = @3.141592654F; // equivalent to [NSNumber numberWithFloat:3.141592654F]