/external/autotest/client/deps/glbench/src/ |
D | windowmanagertest.cc | 41 float dist2 = dx * dx + dy * dy; in CreateBitmap() local 42 if (dist2 > 1.f) in CreateBitmap() 43 dist2 = 1.f; in CreateBitmap() 44 *pixel = (1.f - dist2) * 255.f; in CreateBitmap() 46 *pixel = (1.f - dist2) * 255.f; in CreateBitmap() 48 *pixel = (1.f - dist2) * 255.f; in CreateBitmap()
|
/external/eigen/Eigen/src/Geometry/ |
D | AlignedBox.h | 317 Scalar dist2(0); in squaredExteriorDistance() 324 dist2 += aux*aux; in squaredExteriorDistance() 329 dist2 += aux*aux; in squaredExteriorDistance() 332 return dist2; in squaredExteriorDistance() 338 Scalar dist2(0); in squaredExteriorDistance() 345 dist2 += aux*aux; in squaredExteriorDistance() 350 dist2 += aux*aux; in squaredExteriorDistance() 353 return dist2; in squaredExteriorDistance()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 1350 float dx, dy, dist2, cover; in sp_setup_point() local 1356 dist2 = dx * dx + dy * dy; in sp_setup_point() 1357 if (dist2 <= rmax2) { in sp_setup_point() 1358 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() 1365 dist2 = dx * dx + dy * dy; in sp_setup_point() 1366 if (dist2 <= rmax2) { in sp_setup_point() 1367 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() 1374 dist2 = dx * dx + dy * dy; in sp_setup_point() 1375 if (dist2 <= rmax2) { in sp_setup_point() 1376 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() [all …]
|
/external/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()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_points.c | 328 const GLfloat dist2 = dx * dx + dy * dy; in smooth_point() local 331 if (dist2 < rmax2) { in smooth_point() 332 if (dist2 >= rmin2) { in smooth_point() 334 coverage = 1.0F - (dist2 - rmin2) * cscale; in smooth_point()
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | dirichlet_multinomial_test.py | 219 dist2 = ds.DirichletMultinomial(2., alpha) 222 mean2 = dist2.mean().eval() 351 dist2 = ds.DirichletMultinomial(ns2, alpha2) 354 covariance2 = dist2.covariance()
|
D | multinomial_test.py | 256 dist2 = multinomial.Multinomial(ns2, p2) 259 covariance2 = dist2.covariance()
|
D | beta_test.py | 375 for dist2 in [d2, d2_sp]: 376 kl = kullback_leibler.kl_divergence(dist1, dist2)
|
/external/skqp/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()
|
/external/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()
|
/external/freetype/src/autofit/ |
D | afcjk.c | 1081 FT_Pos dist2 = 0; in af_cjk_hints_compute_edges() local 1091 dist2 = AF_SEGMENT_DIST( link, link1 ); in af_cjk_hints_compute_edges() 1092 if ( dist2 >= edge_distance_threshold ) in af_cjk_hints_compute_edges() 1098 if ( dist2 >= edge_distance_threshold ) in af_cjk_hints_compute_edges() 2072 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local 2089 dist2 = edge3->opos - edge2->opos; in af_cjk_hint_edges() 2091 span = dist1 - dist2; in af_cjk_hint_edges()
|
D | aflatin2.c | 2188 FT_Pos dist1, dist2, span, delta; in af_latin2_hint_edges() 2205 dist2 = edge3->opos - edge2->opos; in af_latin2_hint_edges() 2207 span = dist1 - dist2; in af_latin2_hint_edges()
|
/external/pcre/ |
D | Android.bp | 3 libpcre2_dist_prefix = "dist2"
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
D | tree_utils.cc | 492 double dist2 = getDistanceFromLambda3(v2, mu1, mu2); in getChebyshevEpsilon() local 493 return std::min(dist1, dist2); in getChebyshevEpsilon()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 353 std::binomial_distribution<unsigned> dist2(5, 0.1); in test8() local 357 unsigned r2 = dist2(gen2); in test8()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | XLocaleDistanceTest.java | 97 … int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.NORMAL); in testTiming() local
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | XLocaleDistanceTest.java | 106 …int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.REGION_FIRST); in testTiming() local
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | XLocaleDistanceTest.java | 103 …int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.REGION_FIRST); in testTiming() local
|
/external/libexif/po/ |
D | Makefile.in.in | 290 @$(MAKE) dist2 292 dist2: $(DISTFILES)
|
/external/e2fsprogs/po/ |
D | Makefile.in.in | 298 @$(MAKE) dist2 300 dist2: $(DISTFILES)
|
/external/elfutils/po/ |
D | Makefile.in.in | 365 @$(MAKE) dist2 367 dist2: stamp-po $(DISTFILES)
|
/external/skqp/src/core/ |
D | SkStroke.cpp | 903 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay() local 904 if (SkTMax(dist1, dist2) <= fInvResScaleSquared) { in intersectRay() 906 "SkTMax(dist1=%g, dist2=%g) <= fInvResScaleSquared", dist1, dist2); in intersectRay()
|
/external/skia/src/core/ |
D | SkStroke.cpp | 899 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay() local 900 if (SkTMax(dist1, dist2) <= fInvResScaleSquared) { in intersectRay() 902 "SkTMax(dist1=%g, dist2=%g) <= fInvResScaleSquared", dist1, dist2); in intersectRay()
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | mixture_test.py | 563 dist2 = ds.Mixture(cat2, components2, name="mixture2", 565 samples2 = dist2.sample(n, seed=123456).eval()
|
/external/lzma/Asm/x86/ |
D | LzmaDecOpt.asm | 75 ; x9 match (MATCHED) / sym2 / dist2 / lpMask_reg 140 dist2 equ x9 define
|