Home
last modified time | relevance | path

Searched defs:tolerance (Results 1 – 25 of 154) sorted by relevance

1234567

/external/fonttools/Lib/fontTools/varLib/
Diup.py89 def can_iup_in_between(deltas, coords, i, j, tolerance): argument
98 def _iup_contour_bound_forced_set(delta, coords, tolerance=0): argument
166 def _iup_contour_optimize_dp(delta, coords, forced={}, tolerance=0, lookback=None): argument
216 def iup_contour_optimize(delta, coords, tolerance=0.): argument
288 def iup_delta_optimize(delta, coords, ends, tolerance=0.): argument
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DStatsTestUtil.java88 double tolerance) { in assertAggregationMapEquals()
92 assertAggregationDataEquals(expected.get(entry.getKey()), entry.getValue(), tolerance); in assertAggregationMapEquals() local
104 AggregationData expected, final AggregationData actual, final double tolerance) { in assertAggregationDataEquals()
187 DistributionData expected, DistributionData actual, double tolerance) { in assertDistributionDataEquals()
/external/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc47 int tolerance, in CompareInputOutput()
62 int tolerance) { in CompareTwoChannels()
158 int tolerance, in EncodeDecodeTest()
465 int tolerance = 251; in TEST_F() local
491 int tolerance = 308; in TEST_F() local
503 int tolerance = 0; in TEST_F() local
516 int tolerance = 6808; in TEST_F() local
530 int tolerance = 3399; in TEST_F() local
547 int tolerance = 19757; in TEST_F() local
564 int tolerance = 11034; in TEST_F() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc74 int output_integer_bits, int tolerance) { in CheckOutputData()
121 const string& check_label, int tolerance) { in RunSingleTest()
155 const string& check_label, int tolerance) { in RunSingleTest()
200 int tolerance) { in RunSingleTest()
245 int tolerance, NumberGenerator* generator) { in RunUniformTest()
261 const string& check_label, int tolerance, in RunUniformShiftUniformTest()
285 int tolerance = in TEST_F() local
/external/fonttools/Lib/fontTools/misc/
DroundTools.py44 def maybeRound(v, tolerance, round=otRound): argument
48 def roundFunc(tolerance, round=otRound): argument
/external/guava/android/guava-tests/test/com/google/common/primitives/
DDoublesTest.java244 double tolerance = 1e-10; in testConstrainToRange() local
246 (double) 1, Doubles.constrainToRange((double) 1, (double) 0, (double) 5), tolerance); in testConstrainToRange() local
248 (double) 1, Doubles.constrainToRange((double) 1, (double) 1, (double) 5), tolerance); in testConstrainToRange() local
250 (double) 3, Doubles.constrainToRange((double) 1, (double) 3, (double) 5), tolerance); in testConstrainToRange() local
252 (double) -1, Doubles.constrainToRange((double) 0, (double) -5, (double) -1), tolerance); in testConstrainToRange() local
254 (double) 2, Doubles.constrainToRange((double) 5, (double) 2, (double) 2), tolerance); in testConstrainToRange() local
DFloatsTest.java234 float tolerance = 1e-10f; in testConstrainToRange() local
235 assertEquals((float) 1, Floats.constrainToRange((float) 1, (float) 0, (float) 5), tolerance); in testConstrainToRange() local
236 assertEquals((float) 1, Floats.constrainToRange((float) 1, (float) 1, (float) 5), tolerance); in testConstrainToRange() local
237 assertEquals((float) 3, Floats.constrainToRange((float) 1, (float) 3, (float) 5), tolerance); in testConstrainToRange() local
238 assertEquals((float) -1, Floats.constrainToRange((float) 0, (float) -5, (float) -1), tolerance); in testConstrainToRange() local
239 assertEquals((float) 2, Floats.constrainToRange((float) 5, (float) 2, (float) 2), tolerance); in testConstrainToRange() local
/external/guava/guava-tests/test/com/google/common/primitives/
DFloatsTest.java234 float tolerance = 1e-10f; in testConstrainToRange() local
235 assertEquals((float) 1, Floats.constrainToRange((float) 1, (float) 0, (float) 5), tolerance); in testConstrainToRange() local
236 assertEquals((float) 1, Floats.constrainToRange((float) 1, (float) 1, (float) 5), tolerance); in testConstrainToRange() local
237 assertEquals((float) 3, Floats.constrainToRange((float) 1, (float) 3, (float) 5), tolerance); in testConstrainToRange() local
238 assertEquals((float) -1, Floats.constrainToRange((float) 0, (float) -5, (float) -1), tolerance); in testConstrainToRange() local
239 assertEquals((float) 2, Floats.constrainToRange((float) 5, (float) 2, (float) 2), tolerance); in testConstrainToRange() local
DDoublesTest.java244 double tolerance = 1e-10; in testConstrainToRange() local
246 (double) 1, Doubles.constrainToRange((double) 1, (double) 0, (double) 5), tolerance); in testConstrainToRange() local
248 (double) 1, Doubles.constrainToRange((double) 1, (double) 1, (double) 5), tolerance); in testConstrainToRange() local
250 (double) 3, Doubles.constrainToRange((double) 1, (double) 3, (double) 5), tolerance); in testConstrainToRange() local
252 (double) -1, Doubles.constrainToRange((double) 0, (double) -5, (double) -1), tolerance); in testConstrainToRange() local
254 (double) 2, Doubles.constrainToRange((double) 5, (double) 2, (double) 2), tolerance); in testConstrainToRange() local
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DManualGlitchActivity.java67 float tolerance = (float) mTaperTolerance.linearToExponential( in setToleranceProgress() local
87 private void setToleranceFader(float tolerance) { in setToleranceFader()
142 float tolerance = bundle.getFloat(KEY_TOLERANCE, DEFAULT_TOLERANCE); in configureStreamsFromBundle() local
/external/deqp-deps/amber/src/
Dverifier.cc76 double tolerance, in IsEqualWithTolerance()
99 const auto& tolerance = command->GetTolerances(); in CheckActualValue() local
174 double* tolerance, in SetupToleranceForTexels()
317 const double* tolerance, in IsTexelEqualToExpected()
455 double tolerance[4] = {0, 0, 0, 0}; in Probe() local
/external/skia/tests/
DStrokeIndirectTest.cpp224 int8_t actualLevel, float tolerance, bool printError = true) { in check_resolve_level()
241 int8_t** nextResolveLevel, float tolerance) { in check_first_resolve_levels()
260 float tolerance = 1.15f; in test_tolerance() local
278 float tolerance = test_tolerance(stroke.getJoin()); in verifyResolveLevels() local
445 float tolerance = test_tolerance(stroke.getJoin()); in verifyBuffers() local
/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_test.cc116 float tolerance = 1e-3; in TEST_P() local
193 float tolerance = 1e-3; in TEST_P() local
270 float tolerance = 1e-3; in TEST_P() local
339 float tolerance = 1e-3; in TEST_P() local
412 float tolerance = 1e-3; in TEST_P() local
488 float tolerance = 1e-3; in TEST_P() local
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib.py409 tolerance=5): argument
444 tolerance=5): argument
470 tolerance=5): argument
515 tolerance=5, argument
556 tolerance=5): argument
/external/libchrome/base/numerics/
Dranges.h20 constexpr bool IsApproximatelyEqual(T lhs, T rhs, T tolerance) { in IsApproximatelyEqual()
/external/fonttools/Lib/fontTools/cu2qu/
Dcu2qu.py240 def cubic_farthest_fit_inside(p0, p1, p2, p3, tolerance): argument
274 def cubic_approx_quadratic(cubic, tolerance, _2_3=2/3): argument
310 def cubic_approx_spline(cubic, n, tolerance, _2_3=2/3): argument
/external/eigen/Eigen/src/SparseCore/
DSparseSparseProductWithPruning.h20 …pl(const Lhs& lhs, const Rhs& rhs, ResultType& res, const typename ResultType::RealScalar& toleran… in sparse_sparse_product_with_pruning_impl()
/external/oboe/tests/
DtestFlowgraph.cpp100 constexpr float tolerance = 0.0001f; // arbitrary in TEST() local
157 constexpr float tolerance = 0.000001f; // arbitrary in TEST() local
/external/libcxx/test/libcxx/numerics/complex.number/
D__sqr.pass.cpp23 const T tolerance = std::is_same<T, float>::value ? 1.e-6 : 1.e-14; in test() local
/external/webrtc/call/
Dreceive_time_calculator.h30 FieldTrialParameter<TimeDelta> tolerance; member
/external/skia/src/core/
DSkContourMeasure.cpp137 static bool quad_too_curvy(const SkPoint pts[3], SkScalar tolerance) { in quad_too_curvy()
150 const SkPoint& lastPt, SkScalar tolerance) { in conic_too_curvy()
159 SkScalar tolerance) { in cheap_dist_exceeds_limit()
165 static bool cubic_too_curvy(const SkPoint pts[4], SkScalar tolerance) { in cubic_too_curvy()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dconv_test_common.cc47 T* output_data, float tolerance) { in ValidateConvGoldens()
86 float* output_data, float tolerance) { in ValidateConvGoldens()
97 int8_t* output_data, float tolerance) { in ValidateConvGoldens()
108 uint8_t* output_data, float tolerance) { in ValidateConvGoldens()
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java359 public static boolean fuzzyEquals(double a, double b, double tolerance) { in fuzzyEquals()
380 public static int fuzzyCompare(double a, double b, double tolerance) { in fuzzyCompare()
/external/guava/android/guava/src/com/google/common/math/
DDoubleMath.java359 public static boolean fuzzyEquals(double a, double b, double tolerance) { in fuzzyEquals()
380 public static int fuzzyCompare(double a, double b, double tolerance) { in fuzzyCompare()
/external/llvm-project/libcxx/test/libcxx/numerics/complex.number/
D__sqr.pass.cpp24 const T tolerance = std::is_same<T, float>::value ? 1.e-6 : 1.e-14; in test() local

1234567