/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LayoutUnitTest.cpp | 69 const float tolerance = 1.0f / kFixedPointDenominator; local 72 ASSERT_NEAR(LayoutUnit(1.1f).toFloat(), 1.1f, tolerance); 73 ASSERT_NEAR(LayoutUnit(1.33f).toFloat(), 1.33f, tolerance); 74 ASSERT_NEAR(LayoutUnit(1.3333f).toFloat(), 1.3333f, tolerance); 75 ASSERT_NEAR(LayoutUnit(1.53434f).toFloat(), 1.53434f, tolerance); 76 ASSERT_NEAR(LayoutUnit(345634).toFloat(), 345634.0f, tolerance); 77 ASSERT_NEAR(LayoutUnit(345634.12335f).toFloat(), 345634.12335f, tolerance); 78 ASSERT_NEAR(LayoutUnit(-345634.12335f).toFloat(), -345634.12335f, tolerance); 79 ASSERT_NEAR(LayoutUnit(-345634).toFloat(), -345634.0f, tolerance);
|
/external/ceres-solver/internal/ceres/ |
H A D | incomplete_lq_factorization_test.cc | 44 const double tolerance) { 53 EXPECT_NEAR(expected.values()[i], actual.values()[i], tolerance); 42 ExpectMatricesAreEqual(const CompressedRowSparseMatrix& expected, const CompressedRowSparseMatrix& actual, const double tolerance) argument
|
H A D | numeric_diff_test_utils.cc | 78 const double tolerance = (method == CENTRAL)? 3e-9 : 2e-5; local 81 ExpectClose(x2[i], dydx1[5 * 0 + i], tolerance); // y1 82 ExpectClose(x1[i], dydx2[5 * 0 + i], tolerance); 83 ExpectClose(2 * x2[i] * residuals[0], dydx1[5 * 1 + i], tolerance); // y2 84 ExpectClose(2 * x1[i] * residuals[0], dydx2[5 * 1 + i], tolerance); 85 ExpectClose(0.0, dydx1[5 * 2 + i], tolerance); // y3 86 ExpectClose(2 * x2[i], dydx2[5 * 2 + i], tolerance); 148 const double tolerance = (method == CENTRAL)? 3e-9 : 2e-5; local 151 ExpectClose( x2[i] * cos(x1x2), dydx1[5 * 0 + i], tolerance); local 152 ExpectClose( x1[i] * cos(x1x2), dydx2[5 * 0 + i], tolerance); local [all...] |
/external/eigen/Eigen/src/SparseCore/ |
H A D | SparseSparseProductWithPruning.h | 20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res, typename ResultType::RealScalar tolerance) argument 70 for (typename AmbiVector<Scalar,Index>::Iterator it(tempVector,tolerance); it; ++it) 88 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance) argument 91 internal::sparse_sparse_product_with_pruning_impl<Lhs,Rhs,ResultType>(lhs, rhs, _res, tolerance); 100 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance) argument 105 internal::sparse_sparse_product_with_pruning_impl<Lhs,Rhs,SparseTemporaryType>(lhs, rhs, _res, tolerance); 114 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance) argument 118 internal::sparse_sparse_product_with_pruning_impl<Rhs,Lhs,ResultType>(rhs, lhs, _res, tolerance); 127 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance) argument 132 internal::sparse_sparse_product_with_pruning_impl<ColMajorMatrix,ColMajorMatrix,ResultType>(colLhs, colRhs, res, tolerance); [all...] |
H A D | SparseProduct.h | 102 EIGEN_STRONG_INLINE SparseSparseProduct(const Lhs& lhs, const Rhs& rhs, RealScalar tolerance) argument 103 : m_lhs(lhs), m_rhs(rhs), m_tolerance(tolerance), m_conservative(false)
|
/external/eigen/test/eigen2/ |
H A D | eigen2_regression.cpp | 54 typename VectorType::Scalar tolerance) 61 VERIFY(ei_abs(error) < ei_abs(tolerance)); 69 typename VectorType::Scalar tolerance) 76 std::cout << ei_abs(error) << " xxx " << ei_abs(tolerance) << std::endl; 77 VERIFY(ei_abs(error) < ei_abs(tolerance)); 51 check_linearRegression(int numPoints, VectorType **points, const VectorType& original, typename VectorType::Scalar tolerance) argument 66 check_fitHyperplane(int numPoints, VectorType **points, const HyperplaneType& original, typename VectorType::Scalar tolerance) argument
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkAvoidXfermode.cpp | 13 SkAvoidXfermode::SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode) { argument 14 if (tolerance > 255) { 15 tolerance = 255; 19 fDistMul = (256 << 14) / (tolerance + 1);
|
/external/skia/src/effects/ |
H A D | SkAvoidXfermode.cpp | 13 SkAvoidXfermode::SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode) { argument 14 if (tolerance > 255) { 15 tolerance = 255; 19 fDistMul = (256 << 14) / (tolerance + 1);
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
H A D | IterativeSolverBase.h | 119 /** \returns the tolerance threshold used by the stopping criteria */ 120 RealScalar tolerance() const { return m_tolerance; } function in class:Eigen::IterativeSolverBase 122 /** Sets the tolerance threshold used by the stopping criteria */ 123 Derived& setTolerance(RealScalar tolerance) argument 125 m_tolerance = tolerance; 155 /** \returns the tolerance error reached during the last solve */
|
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_test_utils.cc | 130 GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance, 145 if (diff > tolerance) { 129 CheckPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance, const uint8* color) argument
|
/external/eigen/Eigen/src/Cholesky/ |
H A D | LDLT.h | 501 RealScalar tolerance = (max)(vectorD.array().abs().maxCoeff() * NumTraits<Scalar>::epsilon(), local 504 if(abs(vectorD(i)) > tolerance)
|
/external/chromium_org/ui/gfx/ |
H A D | transform.cc | 35 inline bool ApproximatelyZero(SkMScalar x, SkMScalar tolerance) { argument 36 return std::abs(x) <= tolerance; 39 inline bool ApproximatelyOne(SkMScalar x, SkMScalar tolerance) { argument 40 return std::abs(x - SkDoubleToMScalar(1.0)) <= tolerance; 222 SkMScalar tolerance) const { 223 DCHECK_GE(tolerance, 0); 225 ApproximatelyOne(matrix_.get(0, 0), tolerance) && 226 ApproximatelyZero(matrix_.get(1, 0), tolerance) && 227 ApproximatelyZero(matrix_.get(2, 0), tolerance) && 229 ApproximatelyZero(matrix_.get(0, 1), tolerance) [all...] |
/external/kernel-headers/original/linux/ |
H A D | compat.h | 56 compat_long_t tolerance; member in struct:compat_timex
|
H A D | timex.h | 87 * offset and maximum frequency tolerance. 115 long tolerance; /* clock frequency tolerance (ppm) member in struct:timex 211 extern long time_tolerance; /* frequency tolerance (ppm) */
|
/external/skia/tests/ |
H A D | Matrix44Test.cpp | 13 const double tolerance = 1e-7; local 17 return diff <= tolerance; 21 const SkMScalar tolerance = SK_MScalar1 / 200000; local 23 return SkTAbs<SkMScalar>(a - b) <= tolerance; 30 const SkScalar tolerance = SK_Scalar1 / 200000; local 32 const SkScalar tolerance = SK_Scalar1 / 1024; 35 return SkScalarAbs(a - b) <= tolerance;
|
H A D | MatrixTest.cpp | 19 const SkScalar tolerance = SK_Scalar1 / 200000; local 21 const SkScalar tolerance = SK_Scalar1 / 1024; 24 return SkScalarAbs(a - b) <= tolerance; 307 * issue, i.e. the way we use tolerance in isSimilarityTransformation 362 SkScalar tolerance = SK_ScalarNearlyZero) { 366 if (diff < tolerance) { 375 if (diff <= largest*tolerance) {
|
/external/strace/ |
H A D | time.c | 571 int tolerance; member in struct:__anon27061 595 tprintf("tolerance=%d, time=", tx.tolerance); 627 tprintf("tolerance=%ld, time=", tx.tolerance); 638 tprintf("tolerance=%ld, time=", tx.tolerance);
|
/external/chromium_org/cc/animation/ |
H A D | transform_operations_unittest.cc | 998 float tolerance) { 999 EXPECT_NEAR(lhs.x(), rhs.x(), tolerance); 1000 EXPECT_NEAR(lhs.y(), rhs.y(), tolerance); 1001 EXPECT_NEAR(lhs.z(), rhs.z(), tolerance); 1002 EXPECT_NEAR(lhs.width(), rhs.width(), tolerance); 1003 EXPECT_NEAR(lhs.height(), rhs.height(), tolerance); 1004 EXPECT_NEAR(lhs.depth(), rhs.depth(), tolerance); 996 ExpectBoxesApproximatelyEqual(const gfx::BoxF& lhs, const gfx::BoxF& rhs, float tolerance) argument
|
/external/chromium_org/third_party/qcms/src/ |
H A D | iccread.c | 260 float sum[3], target[3], tolerance[3]; local 310 // Our tolerance vector - Recommended by Chris Murphy based on 314 tolerance[0] = 0.02; 315 tolerance[1] = 0.02; 316 tolerance[2] = 0.04; 322 // Compare with our tolerance 324 if (!(((sum[i] - tolerance[i]) <= target[i]) && 325 ((sum[i] + tolerance[i]) >= target[i])))
|
/external/chromium_org/net/url_request/ |
H A D | url_request_unittest.cc | 3521 int tolerance = upper_bound * 0.005; local 3522 if (tolerance < 2) 3523 tolerance = 2; 3526 // within the desired tolerance. 3527 while (upper_bound - lower_bound >= tolerance) {
|
/external/valgrind/main/include/vki/ |
H A D | vki-linux.h | 309 long tolerance; /* clock frequency tolerance (ppm) member in struct:vki_timex
|
/external/droiddriver/libs/ |
H A D | guava-13.0.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/hash/ ... |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
H A D | compiler.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ... |