/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/skia/include/client/android/ |
H A D | SkAvoidXfermode.h | 30 There are two modes, and each mode interprets a tolerance value. 42 static SkAvoidXfermode* Create(SkColor opColor, U8CPU tolerance, Mode mode) { argument 43 return new SkAvoidXfermode(opColor, tolerance, mode); 64 SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode);
|
/external/skia/tests/ |
H A D | ColorMatrixTest.cpp | 19 SkColor expected, SkColor actual, int tolerance) { 20 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance); 21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance); 23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance); 18 assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual, int tolerance) argument
|
H A D | Matrix44Test.cpp | 12 const double tolerance = 1e-7; local 16 return diff <= tolerance; 20 const SkMScalar tolerance = SK_MScalar1 / 200000; local 22 return SkTAbs<SkMScalar>(a - b) <= tolerance; 26 const SkScalar tolerance = SK_Scalar1 / 200000; local 27 return SkScalarAbs(a - b) <= tolerance;
|
H A D | MatrixTest.cpp | 15 const SkScalar tolerance = SK_Scalar1 / 200000; local 16 return SkScalarAbs(a - b) <= tolerance; 450 SkScalar tolerance = SK_ScalarNearlyZero) { 454 if (diff < tolerance) { 463 if (diff <= largest*tolerance) {
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
H A D | matrix_test_helpers.h | 81 float tolerance) { 91 tolerance); 94 tolerance); 78 ValidateMatrixNearEqualityComplexFloat( const Matrix<complex<float> >& expected, const Matrix<complex<float> >& actual, float tolerance) argument
|
/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, const 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, const 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, const 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, const 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, const RealScalar& tolerance) argument 133 internal::sparse_sparse_product_with_pruning_impl<ColMajorMatrixLhs,ColMajorMatrixRhs,ResultType>(colLhs, colRhs, res, tolerance); [all...] |
H A D | SparseProduct.h | 103 EIGEN_STRONG_INLINE SparseSparseProduct(const Lhs& lhs, const Rhs& rhs, const RealScalar& tolerance) argument 104 : 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/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
H A D | DoubleMath.java | 112 * Returns {@code true} if {@code a} and {@code b} are within {@code tolerance} of each other. 115 * {@code Math.abs(a - b) <= tolerance || Double.valueOf(a).equals(Double.valueOf(b))}. 122 * <li>If {@code tolerance} is zero, and neither {@code a} nor {@code b} is NaN, then 124 * <li>With {@link Double#POSITIVE_INFINITY} tolerance, all non-NaN values are fuzzily equal. 125 * <li>With finite tolerance, {@code Double.POSITIVE_INFINITY} and {@code 133 * @throws IllegalArgumentException if {@code tolerance} is {@code < 0} or NaN 136 public static boolean fuzzyEquals(double a, double b, double tolerance) { argument 137 MathPreconditions.checkNonNegative("tolerance", tolerance); 139 Math.copySign(a - b, 1.0) <= tolerance 159 fuzzyCompare(double a, double b, double tolerance) argument [all...] |
/external/guava/guava/src/com/google/common/math/ |
H A D | DoubleMath.java | 327 * Returns {@code true} if {@code a} and {@code b} are within {@code tolerance} of each other. 330 * {@code Math.abs(a - b) <= tolerance || Double.valueOf(a).equals(Double.valueOf(b))}. 337 * <li>If {@code tolerance} is zero, and neither {@code a} nor {@code b} is NaN, then 339 * <li>With {@link Double#POSITIVE_INFINITY} tolerance, all non-NaN values are fuzzily equal. 340 * <li>With finite tolerance, {@code Double.POSITIVE_INFINITY} and {@code 348 * @throws IllegalArgumentException if {@code tolerance} is {@code < 0} or NaN 351 public static boolean fuzzyEquals(double a, double b, double tolerance) { argument 352 MathPreconditions.checkNonNegative("tolerance", tolerance); 354 Math.copySign(a - b, 1.0) <= tolerance 374 fuzzyCompare(double a, double b, double tolerance) argument [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
H A D | bitmaptools.cc | 153 int tolerance) { 155 return (abs(pixel1[0] - pixel2[0]) <= tolerance) && 156 (abs(pixel1[1] - pixel2[1]) <= tolerance) && 157 (abs(pixel1[2] - pixel2[2]) <= tolerance); 162 bool PixelsEqual(const unsigned char* pixel, int color, int tolerance) { argument 164 return PixelsEqual(pixel, pixel2, tolerance); 171 int tolerance; local 172 if (!(ReadInt(&ignore_color) && ReadInt(&tolerance))) { 184 if (ignore_color >= 0 && PixelsEqual(pixel, ignore_color, tolerance)) 200 int tolerance; local 152 PixelsEqual(const unsigned char* pixel1, const unsigned char* pixel2, int tolerance) argument [all...] |
/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(const RealScalar& tolerance) argument 125 m_tolerance = tolerance; 155 /** \returns the tolerance error reached during the last solve */
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | audio_decoder_unittest.cc | 43 // compared vs |tolerance|. The parameter |delay| is used to correct for codec 49 int tolerance, 54 ASSERT_NEAR(input[n], output[channels * n + delay], tolerance) 63 // compared vs |tolerance|. 67 int tolerance) { 71 ASSERT_NEAR(output[channels * n], output[channels * n + 1], tolerance) 172 // output is compared vs |tolerance|, and the mean-squared error is compared 176 void EncodeDecodeTest(size_t expected_bytes, int tolerance, double mse, argument 178 ASSERT_GE(tolerance, 0) << "Test must define a tolerance > 45 CompareInputOutput(const std::vector<int16_t>& input, const std::vector<int16_t>& output, size_t num_samples, size_t channels, int tolerance, int delay) argument 64 CompareTwoChannels(const std::vector<int16_t>& output, size_t samples_per_channel, size_t channels, int tolerance) argument 479 int tolerance = 251; local 505 int tolerance = 308; local 517 int tolerance = 0; local 530 int tolerance = 6808; local 544 int tolerance = 3399; local 557 int tolerance = 19757; local 570 int tolerance = 11034; local 590 int tolerance = 6176; local 603 int tolerance = 6176; local 617 int tolerance = 6176; local 640 int tolerance = 6176; local [all...] |
/external/eigen/Eigen/src/Cholesky/ |
H A D | LDLT.h | 515 // In some previous versions, tolerance was set to the max of 1/highest and the maximal diagonal entry * epsilon 517 // RealScalar tolerance = (max)(vectorD.array().abs().maxCoeff() *NumTraits<RealScalar>::epsilon(),RealScalar(1) / NumTraits<RealScalar>::highest()); 518 // However, LDLT is not rank revealing, and so adjusting the tolerance wrt to the highest 520 // Moreover, Lapack's xSYTRS routines use 0 for the tolerance. 521 RealScalar tolerance = RealScalar(1) / NumTraits<RealScalar>::highest(); local 524 if(abs(vectorD(i)) > tolerance)
|
/external/kernel-headers/original/uapi/linux/ |
H A D | timex.h | 73 __kernel_long_t tolerance;/* clock frequency tolerance (ppm) member in struct:timex
|
/external/skia/src/effects/ |
H A D | SkAvoidXfermode.cpp | 14 SkAvoidXfermode::SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode) { argument 15 if (tolerance > 255) { 16 tolerance = 255; 18 fTolerance = SkToU8(tolerance); 20 fDistMul = (256 << 14) / (tolerance + 1); 26 const unsigned tolerance = buffer.readUInt(); local 28 return Create(color, tolerance, (Mode)mode); 186 static const GrFragmentProcessor* Create(SkColor opColor, uint8_t tolerance, argument 189 return new AvoidFP(opColor, tolerance, mode, dst); 225 AvoidFP(SkColor opColor, uint8_t tolerance, argument 337 uint8_t tolerance = d->fRandom->nextBits(8); local 353 AvoidXP(const DstTexture* dstTexture, bool hasMixedSamples, SkColor opColor, uint8_t tolerance, SkAvoidXfermode::Mode mode) argument 464 Create(SkColor opColor, uint8_t tolerance, SkAvoidXfermode::Mode mode) argument 476 GrAvoidXPFactory(SkColor opColor, uint8_t tolerance, SkAvoidXfermode::Mode mode) argument 516 uint8_t tolerance = d->fRandom->nextBits(8); local [all...] |
/external/libnfc-nci/halimpl/pn54x/self-test/ |
H A D | phNxpNciHal_SelfTest.c | 724 int tolerance = 0; local 751 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMax * 753 if ((measured_val <= phAntenna_resp.wTxdoMeasuredRangeMax + tolerance)) 755 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMin * 757 if((measured_val >= phAntenna_resp.wTxdoMeasuredRangeMin - tolerance))
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineEarlyFragmentTests.cpp | 1028 const int tolerance = expectPartialResult ? de::max(renderSize.x(), renderSize.y()) * 3 : 0; local 1029 const int expectedMin = de::max(0, expectedCounter - tolerance); 1030 const int expectedMax = expectedCounter + tolerance;
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_ratectrl.c | 1214 const int tolerance = (cpi->sf.recode_tolerance * frame_target) / 100; local 1215 *frame_under_shoot_limit = VPXMAX(frame_target - tolerance - 200, 0); 1216 *frame_over_shoot_limit = VPXMIN(frame_target + tolerance + 200,
|
/external/skia/src/gpu/ |
H A D | GrTessellator.cpp | 538 void path_to_contours(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, argument 540 SkScalar toleranceSqd = tolerance * tolerance; 567 int pointsLeft = GrPathUtils::quadraticPointCount(quadPts, tolerance); 589 int pointsLeft = GrPathUtils::quadraticPointCount(pts, tolerance); 596 int pointsLeft = GrPathUtils::cubicPointCount(pts, tolerance); 1330 Poly* path_to_polys(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, argument 1338 path_to_contours(path, tolerance, clipBounds, contours.get(), alloc, isLinear); 1342 void get_contour_count_and_size_estimate(const SkPath& path, SkScalar tolerance, int* contourCnt, argument 1344 int maxPts = GrPathUtils::worstCasePointCount(path, contourCnt, tolerance); 1377 PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, GrResourceProvider* resourceProvider, SkAutoTUnref<GrVertexBuffer>& vertexBuffer, bool canMapVB, bool* isLinear) argument 1429 PathToVertices(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, GrTessellator::WindingVertex** verts) argument [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 3129 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; local 3130 const int expectedMin = de::max(0, expectedCounter - tolerance); 3131 const int expectedMax = (expectedCounter + tolerance) * numSamples;
|
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | jdepend-2.9.jar | META-INF/ META-INF/MANIFEST.MF jdepend/ jdepend/framework/ jdepend/framework/AbstractParser.class AbstractParser. ... |
H A D | commons-lang-2.6.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ... |