Home
last modified time | relevance | path

Searched refs:dist1 (Results 1 – 24 of 24) sorted by relevance

/external/libjpeg-turbo/
Djquant2.c301 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/
DPathOpsAngleIdeas.cpp779 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/
DPathOpsAngleIdeas.cpp779 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/
DTouchGesture.cpp318 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local
320 double scale = dist1 / dist0; in computePinch()
/external/skqp/tools/viewer/
DTouchGesture.cpp321 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/
DLocaleDistanceTest.java106 … 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/
DLocaleDistanceTest.java103 … 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/
Deval.pass.cpp352 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/
Deval.pass.cpp353 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/
DXLocaleDistanceTest.java96 … int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL); in testTiming() local
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dbeta_test.py386 for dist1 in [d1, d1_sp]:
388 kl = kullback_leibler.kl_divergence(dist1, dist2)
Ddirichlet_multinomial_test.py218 dist1 = ds.DirichletMultinomial(1., alpha)
221 mean1 = dist1.mean().eval()
/external/freetype/src/autofit/
Dafcjk.c2074 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()
Daflatin2.c2189 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()
Daflatin.c3350 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/
DSkPolyUtils.cpp1310 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/
DSkStroke.cpp902 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/
DSkStroke.cpp931 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/
DSkPolyUtils.cpp1358 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/
Dbands.c1586 opus_val32 dist0, dist1; in quant_all_bands() local
1634dist1 = 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/
DShaderCore.hpp277 void dist1(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp = false);
DVertexProgram.cpp273 case Shader::OPCODE_DIST1: dist1(d.x, s0, s1, pp); break; in program()
DPixelProgram.cpp253 case Shader::OPCODE_DIST1: dist1(d.x, s0, s1, pp); break; in applyShader()
DShaderCore.cpp973 void ShaderCore::dist1(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp) in dist1() function in sw::ShaderCore