Searched defs:tolerance (Results 1 - 25 of 40) sorted by path

12

/external/ceres-solver/internal/ceres/
H A Dincomplete_lq_factorization_test.cc44 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 Dnumeric_diff_test_utils.cc78 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/chromium_org/cc/animation/
H A Dtransform_operations_unittest.cc998 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/cc/trees/
H A Dlayer_tree_host_impl_unittest.cc2368 // Use a tolerance that requires the container size delta to be within 0.01
2370 double tolerance = 0.0001; local
2374 tolerance);
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_test_utils.cc130 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/chromium_org/net/url_request/
H A Durl_request_unittest.cc3606 int tolerance = upper_bound * 0.005; local
3607 if (tolerance < 2)
3608 tolerance = 2;
3611 // within the desired tolerance.
3612 while (upper_bound - lower_bound >= tolerance) {
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLayoutUnitTest.cpp69 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/chromium_org/third_party/WebKit/Source/platform/animation/
H A DTimingFunctionTest.cpp323 double tolerance = 0.01; local
325 EXPECT_NEAR(0.418, cubicEaseTiming->evaluate(0.25, tolerance), tolerance);
326 EXPECT_NEAR(0.805, cubicEaseTiming->evaluate(0.50, tolerance), tolerance);
327 EXPECT_NEAR(0.960, cubicEaseTiming->evaluate(0.75, tolerance), tolerance);
330 EXPECT_NEAR(0.093, cubicEaseInTiming->evaluate(0.25, tolerance), tolerance);
331 EXPECT_NEAR(0.305, cubicEaseInTiming->evaluate(0.50, tolerance), toleranc
[all...]
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_ratectrl.c1089 const int tolerance = (cpi->sf.recode_tolerance * frame_target) / 100; local
1090 *frame_under_shoot_limit = MAX(frame_target - tolerance - 200, 0);
1091 *frame_over_shoot_limit = MIN(frame_target + tolerance + 200,
/external/chromium_org/third_party/qcms/src/
H A Diccread.c260 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/third_party/skia/include/effects/
H A DSkAvoidXfermode.h28 There are two modes, and each mode interprets a tolerance value.
40 static SkAvoidXfermode* Create(SkColor opColor, U8CPU tolerance, Mode mode) { argument
41 return SkNEW_ARGS(SkAvoidXfermode, (opColor, tolerance, mode));
56 SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode);
/external/chromium_org/third_party/skia/src/effects/
H A DSkAvoidXfermode.cpp14 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);
34 const unsigned tolerance = buffer.readUInt(); local
36 return Create(color, tolerance, (Mode)mode);
/external/chromium_org/third_party/skia/tests/
H A DMatrix44Test.cpp12 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 DMatrixTest.cpp15 const SkScalar tolerance = SK_Scalar1 / 200000; local
16 return SkScalarAbs(a - b) <= tolerance;
404 SkScalar tolerance = SK_ScalarNearlyZero) {
408 if (diff < tolerance) {
417 if (diff <= largest*tolerance) {
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
H A Ddual_stream_unittest.cc52 void Validate(bool start_in_sync, int tolerance);
177 int tolerance = 0; local
180 tolerance = 12;
210 Validate(start_in_sync, tolerance);
276 void DualStreamTest::Validate(bool start_in_sync, int tolerance) { argument
278 int my_tolerance = stream_index == kPrimary ? 0 : tolerance;
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder_unittest.cc98 // output is compared vs |tolerance|, and the mean-squared error is compared
102 void EncodeDecodeTest(size_t expected_bytes, int tolerance, double mse, argument
104 ASSERT_GE(tolerance, 0) << "Test must define a tolerance >= 0";
129 CompareInputOutput(processed_samples, tolerance, delay);
136 // compared vs |tolerance|. The parameter |delay| is used to correct for codec
138 virtual void CompareInputOutput(size_t num_samples, int tolerance, argument
142 ASSERT_NEAR(input_[n], decoded_[channels_ * n + delay], tolerance) <<
151 // |tolerance|.
153 int tolerance) cons
673 int tolerance = 251; local
682 int tolerance = 308; local
691 int tolerance = 0; local
703 int tolerance = 6808; local
714 int tolerance = 3399; local
725 int tolerance = 19757; local
736 int tolerance = 19757; local
747 int tolerance = 11034; local
757 int tolerance = 6176; local
771 int tolerance = 6176; local
782 int tolerance = 6176; local
792 int tolerance = 6176; local
808 int tolerance = 20; local
819 int tolerance = 20; local
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dbitmaptools.cc153 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/chromium_org/ui/gfx/
H A Dtransform.cc35 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/deqp/modules/gles31/functional/
H A Des31fShaderImageLoadStoreTests.cpp3115 const int tolerance = expectPartialResult ? de::max(viewportWidth, viewportHeight)*3 : 0; local
3116 const int expectedMin = de::max(0, expectedCounter - tolerance);
3117 const int expectedMax = (expectedCounter + tolerance) * numSamples;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 5366 milliseconds

12