/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/ |
D | 0-opt.spvasm | 10 OpName %dist2 "dist2" 40 %dist2 = OpVariable %_ptr_Function_float Function 54 OpStore %dist2 %40 57 %43 = OpLoad %float %dist2
|
D | 0-opt.wgsl | 6 var dist2 : f32; 13 dist2 = distance(tanh(x_38), vec4<f32>(0.761590004, 0.964030027, 0.995050013, 0.999329984)); 15 let x_43 : f32 = dist2;
|
/third_party/boost/boost/polygon/detail/ |
D | polygon_simplify.hpp | 83 ftype dist2; in simplify() local 84 if (f2 < 0) dist2 = ab_ab; in simplify() 85 else if(f2 > 1) dist2 = bc_bc; in simplify() 86 else dist2 = perpx*perpx + perpy*perpy; in simplify() 88 if(dist2 > len2) { in simplify()
|
/third_party/boost/libs/math/test/ |
D | norms_test.cpp | 220 Real dist2 = lp_distance(v, u, 7); in test_lp_distance() local 222 BOOST_TEST(abs(dist1 - dist2) < tol*dist1); in test_lp_distance() 243 Real dist2 = lp_distance(v, u, 7); in test_complex_lp_distance() local 245 BOOST_TEST(abs(dist1 - dist2) < tol*dist1); in test_complex_lp_distance() 266 double dist2 = lp_distance(s, v, 7); in test_integer_lp_distance() local 267 BOOST_TEST(abs(dist1 - dist2) < tol*dist2); in test_integer_lp_distance() 569 Real dist2 = l1_distance(w, v); in test_l1_distance() local 570 BOOST_TEST(abs(dist1 - dist2) < tol*dist1); in test_l1_distance() 591 double dist2 = l1_distance(w, v); in test_integer_l1_distance() local 592 BOOST_TEST(abs(dist1 - dist2) < tol*dist1); in test_integer_l1_distance() [all …]
|
D | test_chi_squared.cpp | 76 boost::math::non_central_chi_squared_distribution<RealType> dist2(df, 0); in test_spot() local 78 cdf(dist2, cs), P, tol); in test_spot() 80 pdf(dist2, cs), naive_pdf(dist2.degrees_of_freedom(), cs), tol); in test_spot() 88 cdf(complement(dist2, cs)), Q, tol); in test_spot() 90 quantile(dist2, P), cs, tol); in test_spot() 92 quantile(complement(dist2, Q)), cs, tol); in test_spot()
|
D | test_fisher_f.cpp | 398 fisher_f_distribution<RealType> dist2(static_cast<RealType>(8), static_cast<RealType>(12)); in test_spots() local 400 skewness(dist2) in test_spots() 403 kurtosis_excess(dist2) in test_spots() 406 kurtosis(dist2) in test_spots()
|
/third_party/ffmpeg/libavcodec/ |
D | aacenc_is.c | 45 float dist1 = 0.0f, dist2 = 0.0f; in ff_aac_is_encoding_err() local 77 dist2 += quantize_band_cost(s, IS, I34, sce0->ics.swb_sizes[g], in ff_aac_is_encoding_err() 85 dist2 += dist_spec_err; in ff_aac_is_encoding_err() 88 is_error.pass = dist2 <= dist1; in ff_aac_is_encoding_err() 90 is_error.error = dist2 - dist1; in ff_aac_is_encoding_err() 92 is_error.dist2 = dist2; in ff_aac_is_encoding_err()
|
D | aacenc_is.h | 41 float dist2; /* From IS'd coeffs */ member
|
D | aacenc_pred.c | 259 float dist1, dist2, dist_spec_err = 0.0f; in ff_aac_search_for_pred() local 299 dist2 = quantize_and_encode_band_cost(s, NULL, &sce->prcoeffs[start_coef], NULL, in ff_aac_search_for_pred() 305 dist2 += dist_spec_err; in ff_aac_search_for_pred() 307 if (dist2 <= dist1 && cb_p <= cb_n) { in ff_aac_search_for_pred()
|
D | aacenc_ltp.c | 183 float dist1 = 0.0f, dist2 = 0.0f; in ff_aac_search_for_ltp() local 198 dist2 += quantize_band_cost(s, PCD, PCD34, sce->ics.swb_sizes[g], in ff_aac_search_for_ltp() 205 if (dist2 < dist1 && bits2 < bits1) { in ff_aac_search_for_ltp()
|
D | aaccoder.c | 586 float dist1 = 0.0f, dist2 = 0.0f, noise_amp; in search_for_pns() local 664 … dist2 += band->energy/(band->spread*band->spread)*lambda*dist_thresh/band->threshold; in search_for_pns() 667 dist2 += 5; in search_for_pns() 669 dist2 += 9; in search_for_pns() 673 …+g] || !sce->band_alt[w*16+g] || (energy_ratio > 0.85f && energy_ratio < 1.25f && dist2 < dist1)) { in search_for_pns() 802 float dist1 = 0.0f, dist2 = 0.0f; in search_for_ms() local 853 dist2 += quantize_band_cost(s, M, in search_for_ms() 859 dist2 += quantize_band_cost(s, S, in search_for_ms() 868 dist2 -= b3+b4; in search_for_ms() 870 cpe->ms_mask[w*16+g] = dist2 <= dist1 && B1 < B0; in search_for_ms()
|
D | texturedspenc.c | 502 int dist, bias, dist4, dist2; in compress_alpha() local 536 dist2 = dist * 2; in compress_alpha() 552 tmp = (alp >= dist2) ? -1 : 0; in compress_alpha() 554 alp -= dist2 & tmp; in compress_alpha()
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | tentacle3d.c | 229 pretty_move (PluginInfo * goomInfo, float cycle, float *dist, float *dist2, in pretty_move() argument 247 *dist2 = fx_data->distt2 = (tmp + 15.0f * fx_data->distt2) / 16.0f; in pretty_move() 294 float dist, dist2, rotangle; in tentacle_update() local 332 pretty_move (goomInfo, fx_data->cycle, &dist, &dist2, &rotangle, fx_data); in tentacle_update() 343 grid3d_update (fx_data->grille[tmp], rotangle, fx_data->vals, dist2); in tentacle_update() 353 pretty_move (goomInfo, fx_data->cycle, &dist, &dist2, &rotangle, fx_data); in tentacle_update()
|
/third_party/boost/libs/container/test/ |
D | check_equal_containers.hpp | 76 …typename ContA::size_type dist2 = (typename ContA::size_type)boost::container::iterator_distance(i… in CheckEqualContainers() local 77 if(dist2 != cont_b.size()){ in CheckEqualContainers()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jquant2.c | 301 JLONG dist0, dist1, dist2; in update_box() local 385 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box() 386 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box() 768 register JLONG dist2; /* current distance in inner loop */ in find_best_colors() local 811 dist2 = dist1; in find_best_colors() 814 if (dist2 < *bptr) { in find_best_colors() 815 *bptr = dist2; in find_best_colors() 818 dist2 += xx2; in find_best_colors()
|
/third_party/libjpeg/ |
D | jquant2.c | 323 INT32 dist0,dist1,dist2; in update_box() local 407 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box() 408 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box() 790 register INT32 dist2; /* current distance in inner loop */ in find_best_colors() local 833 dist2 = dist1; in find_best_colors() 836 if (dist2 < *bptr) { in find_best_colors() 837 *bptr = dist2; in find_best_colors() 840 dist2 += xx2; in find_best_colors()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jquant2.c | 301 JLONG dist0, dist1, dist2; in update_box() local 385 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box() 386 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box() 768 register JLONG dist2; /* current distance in inner loop */ in find_best_colors() local 811 dist2 = dist1; in find_best_colors() 814 if (dist2 < *bptr) { in find_best_colors() 815 *bptr = dist2; in find_best_colors() 818 dist2 += xx2; in find_best_colors()
|
/third_party/boost/libs/multiprecision/test/ |
D | test_mpfi.cpp | 92 uniform_real_distribution<mpfr_float_50> dist2(-1, 1); in test_trig() local 119 val = dist2(gen); in test_trig() 146 uniform_real_distribution<mpfr_float_50> dist2(-1, 1); in test_hyp() local
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | LzcompCompress.java | 153 int[] dist2 = new int[1]; in makeCopyDecision() local 156 int len2 = findMatch(index, dist2, gain2, costPerByte2); in makeCopyDecision() 162 len2 = findMatch(here + len1, dist2, gain2, costPerByte2); in makeCopyDecision()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | LzcompCompress.java | 153 int[] dist2 = new int[1]; in makeCopyDecision() local 156 int len2 = findMatch(index, dist2, gain2, costPerByte2); in makeCopyDecision() 162 len2 = findMatch(here + len1, dist2, gain2, costPerByte2); in makeCopyDecision()
|
/third_party/mtdev/src/ |
D | common.h | 65 static inline int dist2(int dx, int dy) in dist2() function
|
/third_party/skia/tests/ |
D | PathOpsAngleIdeas.cpp | 777 double dist2 = v2.length() * m; in mDistance() local 781 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-', in mDistance() 786 bool use1 = fabs(dist1) < fabs(dist2); in mDistance() 788 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2, in mDistance() 789 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance() 791 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
|
/third_party/flutter/skia/tests/ |
D | PathOpsAngleIdeas.cpp | 780 double dist2 = v2.length() * m; in mDistance() local 784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-', in mDistance() 789 bool use1 = fabs(dist1) < fabs(dist2); in mDistance() 791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2, in mDistance() 792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance() 794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
|
/third_party/freetype/src/autofit/ |
D | afcjk.c | 1080 FT_Pos dist2 = 0; in af_cjk_hints_compute_edges() local 1090 dist2 = AF_SEGMENT_DIST( link, link1 ); in af_cjk_hints_compute_edges() 1091 if ( dist2 >= edge_distance_threshold ) in af_cjk_hints_compute_edges() 1097 if ( dist2 >= edge_distance_threshold ) in af_cjk_hints_compute_edges() 2074 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local 2091 dist2 = edge3->opos - edge2->opos; in af_cjk_hint_edges() 2093 span = dist1 - dist2; in af_cjk_hint_edges()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | afcjk.c | 1074 FT_Pos dist2 = 0; in af_cjk_hints_compute_edges() local 1084 dist2 = AF_SEGMENT_DIST( link, link1 ); in af_cjk_hints_compute_edges() 1085 if ( dist2 >= edge_distance_threshold ) in af_cjk_hints_compute_edges() 1091 if ( dist2 >= edge_distance_threshold ) in af_cjk_hints_compute_edges() 2057 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local 2074 dist2 = edge3->opos - edge2->opos; in af_cjk_hint_edges() 2076 span = dist1 - dist2; in af_cjk_hint_edges()
|