Home
last modified time | relevance | path

Searched refs:max_err (Results 1 – 25 of 51) sorted by relevance

123

/external/fonttools/Lib/fontTools/cu2qu/
Dufo.py141 def _segments_to_quadratic(segments, max_err, stats): argument
146 new_points = curves_to_quadratic([s[1] for s in segments], max_err)
156 def _glyphs_to_quadratic(glyphs, max_err, reverse_direction, stats): argument
180 segments = _segments_to_quadratic(segments, max_err, stats)
195 glyphs, max_err=None, reverse_direction=False, stats=None): argument
209 if not max_err:
211 max_err = DEFAULT_MAX_ERR * 1000
213 if isinstance(max_err, (list, tuple)):
214 max_errors = max_err
216 max_errors = [max_err] * len(glyphs)
[all …]
/external/OpenCL-CTS/test_conformance/commonfns/
Dtest_smoothstepf.cpp54 float r, t, delta, max_err = 0.0f; in verify_smoothstep() local
67 if (delta > max_err) in verify_smoothstep()
68 max_err = delta; in verify_smoothstep()
71 return max_err; in verify_smoothstep()
84 float max_err = 0.0f; in test_smoothstepf() local
217max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 1); in test_smoothstepf()
220max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 2); in test_smoothstepf()
223max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 4); in test_smoothstepf()
227 if (max_err > MAX_ERR) in test_smoothstepf()
229 log_error("%s test failed %g max err\n", fn_names[i], max_err); in test_smoothstepf()
[all …]
Dtest_mix.cpp38 float r, delta, max_err = 0.0f; in verify_mix() local
45 if(delta > max_err) max_err = delta; in verify_mix()
47 return max_err; in verify_mix()
60 float max_err; in test_mix() local
170 max_err = verify_mix(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, num_elements); in test_mix()
171 if (max_err > MAX_ERR) in test_mix()
173 log_error("MIX test failed %g max err\n", max_err); in test_mix()
178 log_info("MIX test passed %g max err\n", max_err); in test_mix()
Dtest_smoothstep.cpp78 float r, t, delta, max_err = 0.0f; in verify_smoothstep() local
90 if (delta > max_err) in verify_smoothstep()
91 max_err = delta; in verify_smoothstep()
94 return max_err; in verify_smoothstep()
107 float max_err; in test_smoothstep() local
248max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems * g_arrV… in test_smoothstep()
250 if (max_err > MAX_ERR) in test_smoothstep()
252 log_error("%s test failed %g max err\n", fn_names[i], max_err); in test_smoothstep()
257 log_info("%s test passed %g max err\n", fn_names[i], max_err); in test_smoothstep()
/external/fonttools/Lib/fontTools/pens/
Dcu2quPen.py41 def __init__(self, other_pen, max_err, reverse_direction=False, argument
47 self.max_err = max_err
97 quadratic = curve_to_quadratic(curve, self.max_err)
149 def __init__(self, other_point_pen, max_err, reverse_direction=False, argument
156 self.max_err = max_err
171 quad = curve_to_quadratic(cubic, self.max_err)
/external/skia/src/core/
DSkCubicMap.cpp36 static float max_err; variable
47 if (err > max_err) { in compute_t_from_x()
48 max_err = err; in compute_t_from_x()
49 SkDebugf("max error %g\n", max_err); in compute_t_from_x()
/external/fonttools/Tests/cu2qu/
Dufo_test.py82 fonts_to_quadratic(fonts, max_err=4.096, stats=stats)
87 fonts_to_quadratic(fonts, max_err=[4.096, 4.096], stats=stats)
92 fonts_to_quadratic(fonts, max_err=1.000, max_err_em=0.001)
119 glyphs_to_quadratic(glyphs, max_err=4.096, stats=stats)
125 glyphs_to_quadratic(glyphs, max_err=[4.096, 4.096], stats=stats)
133 assert glyph_to_quadratic(fonts[0]['a'], max_err=4.096,
/external/skqp/src/core/
DSkCubicMap.cpp145 static float max_err; variable
157 if (err > max_err) { in compute_t_from_x()
158 max_err = err; in compute_t_from_x()
159 SkDebugf("max error %g\n", max_err); in compute_t_from_x()
/external/fonttools/Snippets/
Dotf2ttf.py29 glyphs, max_err=MAX_ERR, reverse_direction=REVERSE_DIRECTION): argument
34 cu2quPen = Cu2QuPen(ttPen, max_err,
120 max_err=options.max_error,
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c138 static unsigned long long max_err = MAX_ERR; variable
213 max_err = atoi(v) * NS_PER_US; in parse_args()
367 ((intervals[i].records[l].y - last) > max_err)) { in check_times()
378 max_err)) { in check_times()
/external/angle/third_party/abseil-cpp/absl/random/
Dexponential_distribution_test.cc217 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
219 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
230 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/external/libtextclassifier/abseil-cpp/absl/random/
Dexponential_distribution_test.cc228 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
230 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
241 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/external/openscreen/third_party/abseil/src/absl/random/
Dexponential_distribution_test.cc228 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
230 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
241 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/external/webrtc/third_party/abseil-cpp/absl/random/
Dexponential_distribution_test.cc224 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
226 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
237 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/external/abseil-cpp/absl/random/
Dexponential_distribution_test.cc224 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
226 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
237 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
Dpoisson_distribution_test.cc280 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
282 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
292 p, max_err, m.mean, mean(), std::sqrt(m.variance), in SingleZTest()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dexponential_distribution_test.cc228 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
230 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
241 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/external/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/external/arm-optimized-routines/math/tools/
Dremez.jl862 max_err = maximum([abs(y) for (x,y) = extrema])
863 variation = (max_err - min_err) / max_err
867 return nc, dc, max_err, extrema
873 n, d, max_err, w)
/external/llvm-project/libc/AOR_v20.02/math/tools/
Dremez.jl863 max_err = maximum([abs(y) for (x,y) = extrema])
864 variation = (max_err - min_err) / max_err
868 return nc, dc, max_err, extrema
874 n, d, max_err, w)

123