Searched defs:epsilon (Results 26 - 50 of 61) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dinfobar_view.cc179 const SkScalar epsilon = 0.01f; local
180 fill_path_.rLineTo(-epsilon, 0);
182 fill_path_.rLineTo(epsilon - (arrow_fill_half_width * 2), 0);
/external/chromium_org/ui/gfx/
H A Dtransform_util.cc86 const double epsilon = 1e-5; local
87 if (std::abs(product - 1.0) < epsilon) {
H A Dtransform_unittest.cc75 float epsilon = 0.0001f; local
76 return lhs.SquaredDistanceTo(rhs) < epsilon;
81 float epsilon = 0.0001f; local
85 rhs.matrix().get(row, col)) > epsilon)
145 SkFloatToMScalar(std::numeric_limits<float>::epsilon());
554 float epsilon = 0.0001f; local
561 xform.Translate(value.tx + j * epsilon, 0.0);
566 xform.Translate(0.0, value.ty + j * epsilon);
571 xform.Translate(value.tx + j * epsilon,
572 value.ty + j * epsilon);
607 float epsilon = 0.0001f; local
667 float epsilon = 0.1f; local
1357 const float epsilon = 0.00015f; local
[all...]
H A Dskbitmap_operations.cc236 const double epsilon = 0.0005; member in namespace:__anon16903::HSLShift
255 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon);
256 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon);
268 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon);
269 DCHECK(hsl_shift.l <= 0.5 - HSLShift::epsilon && hsl_shift.l >= 0);
292 DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon);
293 DCHECK(hsl_shift.l >= 0.5 + HSLShift::epsilon && hsl_shift.l <= 1);
337 DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon);
338 DCHECK(hsl_shift.l < 0 || fabs(hsl_shift.l - 0.5) < HSLShift::epsilon);
374 DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon);
[all...]
/external/deqp/modules/glshared/
H A DglsCalibration.cpp62 const float epsilon = 1e-6f; local
78 if (de::abs(ptA.x() - ptB.x()) > epsilon)
126 const float epsilon = 1e-6f; local
144 if (de::abs(ptA.x() - ptB.x()) > epsilon)
/external/valgrind/main/drd/tests/
H A Dmatinv.c298 /** Compute epsilon for the numeric type elem_t. Epsilon is defined as the
303 static elem_t epsilon() function
344 eps = epsilon();
354 printf("error = %g; epsilon = %g; error / (epsilon * n) = %g\n",
/external/bison/lib/
H A Dhash.c515 float epsilon; local
522 is 11 (due to next_prime's algorithm), so an epsilon of 0.1
524 epsilon = 0.1f;
526 if (epsilon < tuning->growth_threshold
527 && tuning->growth_threshold < 1 - epsilon
528 && 1 + epsilon < tuning->growth_factor
530 && tuning->shrink_threshold + epsilon < tuning->shrink_factor
532 && tuning->shrink_threshold + epsilon < tuning->growth_threshold)
/external/ceres-solver/include/ceres/
H A Djet.h38 // denoted with the greek symbol epsilon, such that e != 0 but e^2 = 0. Dual
652 static inline Real epsilon() { return Real(std::numeric_limits<T>::epsilon()); } function in struct:Eigen::NumTraits
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DAutoTableLayout.cpp223 // We substitute 0 percent by (epsilon / percentScaleFactor) percent in two places below to avoid division by zero.
225 const float epsilon = 1 / 128.0f; local
234 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / std::max(percent, epsilon);
243 maxNonPercent = maxNonPercent * 100 / std::max(remainingPercent, epsilon);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLayoutUnit.h91 return clamp(value + epsilon() / 2.0f);
92 return clamp(value - epsilon() / 2.0f);
175 static float epsilon() { return 1.0f / kFixedPointDenominator; } function in class:blink::LayoutUnit
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioBus.cpp458 // If the gain is within epsilon of totalDesiredGain, we can skip dezippering.
460 const float epsilon = 0.001f; local
465 unsigned framesToDezipper = (gainDiff < epsilon) ? 0 : framesToProcess;
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprog_execute.c1025 const GLfloat epsilon = 1.0F / 256.0F; /* from NV VP spec */ local
1031 a[3] = CLAMP(a[3], -(128.0F - epsilon), (128.0F - epsilon));
/external/chromium_org/ui/events/gesture_detection/
H A Dgesture_provider.cc285 double epsilon = 1e-3; variable
286 if (distance > epsilon) {
/external/clang/test/CodeGenCXX/
H A Dmangle-ms.cpp144 void epsilon(int a[][10][20]) {} function
145 // CHECK-DAG: @"\01?epsilon@@YAXQAY19BE@H@Z"
146 // X64-DAG: @"\01?epsilon@@YAXQEAY19BE@H@Z"
/external/mesa3d/src/mesa/program/
H A Dprog_execute.c1025 const GLfloat epsilon = 1.0F / 256.0F; /* from NV VP spec */ local
1031 a[3] = CLAMP(a[3], -(128.0F - epsilon), (128.0F - epsilon));
/external/pixman/pixman/
H A Dpixman-matrix.c659 pixman_fixed_t epsilon)
666 return t <= epsilon;
657 within_epsilon(pixman_fixed_t a, pixman_fixed_t b, pixman_fixed_t epsilon) argument
/external/chromium_org/ui/compositor/
H A Dlayer_animator_unittest.cc323 double epsilon = 0.00001; local
363 epsilon);
424 double epsilon = 0.00001; local
478 epsilon);
712 double epsilon = 0.00001; local
752 epsilon);
843 double epsilon = 0.00001; local
884 EXPECT_NEAR(delegate.GetOpacityForAnimation(), middle_opacity, epsilon);
909 epsilon);
1174 double epsilon local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilTests.cpp314 const float epsilon = -0.05f; local
327 cmd.params.depth = depthSteps[ndx]+epsilon;
H A Des2fTextureUnitTests.cpp431 const float epsilon = 0.01f; local
436 const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + 0.5f) - 1);
437 const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + 0.5f) - 1);
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilTests.cpp314 const float epsilon = -0.05f; local
327 cmd.params.depth = depthSteps[ndx]+epsilon;
H A Des3fTextureUnitTests.cpp587 const float epsilon = 0.01f; local
592 const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + 0.5f) - 1);
593 const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + 0.5f) - 1);
/external/eigen/Eigen/src/SparseCore/
H A DSparseMatrix.h489 /** Suppresses all nonzeros which are \b much \b smaller \b than \a reference under the tolerence \a epsilon */
490 void prune(const Scalar& reference, const RealScalar& epsilon = NumTraits<RealScalar>::dummy_precision())
492 prune(default_prunning_func(reference,epsilon));
858 default_prunning_func(const Scalar& ref, const RealScalar& eps) : reference(ref), epsilon(eps) {}
861 return !internal::isMuchSmallerThan(value, reference, epsilon);
864 RealScalar epsilon; member in struct:Eigen::SparseMatrix::default_prunning_func
/external/chromium_org/third_party/icu/source/i18n/
H A Dastro.cpp604 while (uprv_fabs(delta) > 1e-5); // epsilon = 1e-5 rad
1298 double periodDays, double epsilon, UBool next)
1315 // Now iterate until we get the error below epsilon. Throughout
1352 return timeOfAngle(func, desired, periodDays, epsilon, next);
1360 while (uprv_fabs(deltaT) > epsilon);
1367 double epsilon)
1380 rise?"T":"F", diameter, refraction, epsilon));
1395 while (++ count < 5 && uprv_fabs(deltaT) > epsilon);
1297 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument
1365 riseOrSet(CoordFunc& func, UBool rise, double diameter, double refraction, double epsilon) argument
/external/deqp/framework/referencerenderer/
H A DrrRenderer.cpp947 const float epsilon = 0.0001f; local
951 if (de::abs(det) < epsilon)
/external/icu/icu4c/source/i18n/
H A Dastro.cpp604 while (uprv_fabs(delta) > 1e-5); // epsilon = 1e-5 rad
1298 double periodDays, double epsilon, UBool next)
1315 // Now iterate until we get the error below epsilon. Throughout
1352 return timeOfAngle(func, desired, periodDays, epsilon, next);
1360 while (uprv_fabs(deltaT) > epsilon);
1367 double epsilon)
1380 rise?"T":"F", diameter, refraction, epsilon));
1395 while (++ count < 5 && uprv_fabs(deltaT) > epsilon);
1297 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument
1365 riseOrSet(CoordFunc& func, UBool rise, double diameter, double refraction, double epsilon) argument

Completed in 5259 milliseconds

123