/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 | 1343 float dx, dy, dist2, cover; in sp_setup_point() local 1349 dist2 = dx * dx + dy * dy; in sp_setup_point() 1350 if (dist2 <= rmax2) { in sp_setup_point() 1351 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() 1358 dist2 = dx * dx + dy * dy; in sp_setup_point() 1359 if (dist2 <= rmax2) { in sp_setup_point() 1360 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() 1367 dist2 = dx * dx + dy * dy; in sp_setup_point() 1368 if (dist2 <= rmax2) { in sp_setup_point() 1369 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/tensorflow/tensorflow/python/distribute/ |
D | distribute_lib_test.py | 261 dist2 = _TestStrategy() 273 ds_context.experimental_set_strategy(dist2) 274 self.assertIs(dist2, ds_context.get_strategy()) 309 dist2 = _TestStrategy() 310 scope2 = dist2.scope()
|
/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/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2Cap.java | 209 double dist2 = S2Point.sub(axis, p).norm2(); in addPoint() local 210 double newHeight = Math.max(height, ROUND_UP * 0.5 * dist2); in addPoint()
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | dirichlet_multinomial_test.py | 219 dist2 = ds.DirichletMultinomial(2., alpha) 222 mean2 = dist2.mean().eval() 353 dist2 = ds.DirichletMultinomial(ns2, alpha2) 356 covariance2 = dist2.covariance()
|
D | multinomial_test.py | 256 dist2 = multinomial.Multinomial(ns2, p2) 259 covariance2 = dist2.covariance()
|
D | beta_test.py | 387 for dist2 in [d2, d2_sp]: 388 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 | 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()
|
D | aflatin2.c | 2189 FT_Pos dist1, dist2, span, delta; in af_latin2_hint_edges() 2206 dist2 = edge3->opos - edge2->opos; in af_latin2_hint_edges() 2208 span = dist1 - dist2; in af_latin2_hint_edges()
|
/external/pcre/ |
D | Android.bp | 36 libpcre2_dist_prefix = "dist2"
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 107 … int dist2 = localeDistance.testOnlyDistance(supported, desired, 1000, FavorSubtag.LANGUAGE); in testTiming() local
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 104 … int dist2 = localeDistance.testOnlyDistance(supported, desired, 1000, FavorSubtag.LANGUAGE); in testTiming() local
|
/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/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 354 std::binomial_distribution<unsigned> dist2(5, 0.1); in test8() local 358 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/mesa3d/src/imgui/ |
D | imstb_truetype.h | 4485 float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); in stbtt_GetGlyphSDF() local 4486 if (dist2 < min_dist*min_dist) in stbtt_GetGlyphSDF() 4487 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF() 4553 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); in stbtt_GetGlyphSDF() 4554 if (dist2 < min_dist * min_dist) in stbtt_GetGlyphSDF() 4555 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF() 4561 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); in stbtt_GetGlyphSDF() 4562 if (dist2 < min_dist * min_dist) in stbtt_GetGlyphSDF() 4563 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF() 4569 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); in stbtt_GetGlyphSDF() [all …]
|
/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/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 | 932 SkScalar dist2 = pt_to_line(end, start, quadPts->fTangentStart); in intersectRay() local 933 if (std::max(dist1, dist2) <= fInvResScaleSquared) { in intersectRay() 935 "std::max(dist1=%g, dist2=%g) <= fInvResScaleSquared", dist1, dist2); in intersectRay()
|
/external/lzma/Asm/x86/ |
D | LzmaDecOpt.asm | 75 ; x9 match (MATCHED) / sym2 / dist2 / lpMask_reg 140 dist2 equ x9 define
|