/external/fonttools/Lib/fontTools/cu2qu/ |
D | ufo.py | 141 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/ |
D | test_smoothstepf.cpp | 54 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 217 … max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 1); in test_smoothstepf() 220 … max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 2); in test_smoothstepf() 223 … max_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 …]
|
D | test_mix.cpp | 38 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()
|
D | test_smoothstep.cpp | 78 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 248 …max_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/ |
D | cu2quPen.py | 41 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/ |
D | SkCubicMap.cpp | 36 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/ |
D | ufo_test.py | 82 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/ |
D | SkCubicMap.cpp | 145 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/ |
D | otf2ttf.py | 29 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/ |
D | rt-migrate.c | 138 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/ |
D | exponential_distribution_test.cc | 217 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/ |
D | exponential_distribution_test.cc | 228 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/ |
D | exponential_distribution_test.cc | 228 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/ |
D | exponential_distribution_test.cc | 224 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/ |
D | exponential_distribution_test.cc | 224 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()
|
D | poisson_distribution_test.cc | 280 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/ |
D | exponential_distribution_test.cc | 228 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/ |
D | distribution_test_util.cc | 411 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/ |
D | distribution_test_util.cc | 411 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/ |
D | distribution_test_util.cc | 411 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/ |
D | distribution_test_util.cc | 411 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/ |
D | distribution_test_util.cc | 411 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/ |
D | distribution_test_util.cc | 411 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/ |
D | remez.jl | 862 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/ |
D | remez.jl | 863 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)
|