/external/libjpeg-turbo/ |
D | jquant2.c | 301 JLONG dist0, dist1, dist2; in update_box() local 384 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box() 386 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box() 767 JLONG dist0, dist1; /* initial distance values */ in find_best_colors() local 808 dist1 = dist0; in find_best_colors() 811 dist2 = dist1; in find_best_colors() 823 dist1 += xx1; in find_best_colors()
|
/external/skqp/tests/ |
D | PathOpsAngleIdeas.cpp | 779 double dist1 = v1.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 | 779 double dist1 = v1.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/tools/viewer/ |
D | TouchGesture.cpp | 318 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local 320 double scale = dist1 / dist0; in computePinch()
|
/external/skqp/tools/viewer/ |
D | TouchGesture.cpp | 321 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local 323 double scale = dist1 / dist0; in computePinch()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 106 … int dist1 = localeDistance.testOnlyDistance(desired, supported, 1000, FavorSubtag.LANGUAGE); in testTiming() local
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 103 … int dist1 = localeDistance.testOnlyDistance(desired, supported, 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 | 352 std::binomial_distribution<> dist1(5, 0.1); in test8() local 356 int r1 = dist1(gen1); in test8()
|
/external/llvm-project/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | eval.pass.cpp | 353 std::binomial_distribution<> dist1(5, 0.1); in test8() local 357 int r1 = dist1(gen1); in test8()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | XLocaleDistanceTest.java | 96 … int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL); in testTiming() local
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | beta_test.py | 386 for dist1 in [d1, d1_sp]: 388 kl = kullback_leibler.kl_divergence(dist1, dist2)
|
D | dirichlet_multinomial_test.py | 218 dist1 = ds.DirichletMultinomial(1., alpha) 221 mean1 = dist1.mean().eval()
|
/external/freetype/src/autofit/ |
D | afcjk.c | 2074 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local 2090 dist1 = edge2->opos - edge1->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() 2205 dist1 = edge2->opos - edge1->opos; in af_latin2_hint_edges() 2208 span = dist1 - dist2; in af_latin2_hint_edges()
|
D | aflatin.c | 3350 FT_Pos dist1, dist2, span, delta; in af_latin_hint_edges() local 3366 dist1 = edge2->opos - edge1->opos; in af_latin_hint_edges() 3369 span = dist1 - dist2; in af_latin_hint_edges()
|
/external/skqp/src/utils/ |
D | SkPolyUtils.cpp | 1310 SkScalar dist1 = prevEdge->computeCrossingDistance(currNextEdge); in SkOffsetSimplePolygon() local 1312 if (dist0 < 0 && dist1 < 0) { in SkOffsetSimplePolygon() 1336 if (dist0 < dist1) { in SkOffsetSimplePolygon()
|
/external/skqp/src/core/ |
D | SkStroke.cpp | 902 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); 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 | 931 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); 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/skia/src/utils/ |
D | SkPolyUtils.cpp | 1358 SkScalar dist1 = prevEdge->computeCrossingDistance(currNextEdge); in SkOffsetSimplePolygon() local 1360 if (dist0 < 0 && dist1 < 0) { in SkOffsetSimplePolygon() 1384 if (dist0 < dist1) { in SkOffsetSimplePolygon()
|
/external/libopus/celt/ |
D | bands.c | 1586 opus_val32 dist0, dist1; in quant_all_bands() local 1634 …dist1 = MULT16_32_Q15(w[0], celt_inner_prod(X_save, X, N, arch)) + MULT16_32_Q15(w[1], celt_inner_… in quant_all_bands() 1635 if (dist0 >= dist1) { in quant_all_bands()
|
/external/swiftshader/src/Shader/ |
D | ShaderCore.hpp | 277 void dist1(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp = false);
|
D | VertexProgram.cpp | 273 case Shader::OPCODE_DIST1: dist1(d.x, s0, s1, pp); break; in program()
|
D | PixelProgram.cpp | 253 case Shader::OPCODE_DIST1: dist1(d.x, s0, s1, pp); break; in applyShader()
|
D | ShaderCore.cpp | 973 void ShaderCore::dist1(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp) in dist1() function in sw::ShaderCore
|