HomeSort by relevance Sort by last modified time
    Searched refs:length2 (Results 1 - 25 of 195) sorted by null

1 2 3 4 5 6 7 8

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
NameDistance.java 97 int length2 = array2.length; local
98 if (length2 > mMaxLength) {
99 length2 = mMaxLength;
103 Arrays.fill(mMatchFlags2, 0, length2, false);
105 int range = length2 / 2 - 1;
120 if (to > length2) {
121 to = length2;
152 float jaro = ((m / length1 + m / length2 + (m - (transpositions / 2f)) / m)) / 3;
167 return jaro + Math.min(0.1f, 1f / length2) * prefix * (1 - jaro);
  /external/opencv3/3rdparty/openexr/Imath/
ImathVecAlgo.h 123 typename Vec::BaseType neardot = (v0 - p).length2();
124 typename Vec::BaseType tmp = (v1 - p).length2();
132 tmp = (v2 - p).length2();
ImathRandom.h 343 while (v.length2() > 1);
375 float length2; // floats, but later we call the double-precision log() local
381 length2 = x * x + y * y;
383 while (length2 >= 1 || length2 == 0);
385 return x * sqrt (-2 * log (double (length2)) / length2);
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
InternalNano.java 200 int length2 = field2 == null ? 0 : field2.length; local
205 while (index2 < length2 && field2[index2] == null) {
209 boolean atEndOf2 = index2 >= length2;
235 int length2 = field2 == null ? 0 : field2.length; local
240 while (index2 < length2 && field2[index2] == null) {
244 boolean atEndOf2 = index2 >= length2;
  /external/replicaisland/src/com/replica/replicaisland/
PopOutComponent.java 77 if (mDistance.length2() < (mAppearDistance * mAppearDistance)) {
84 if (mDistance.length2() > (mHideDistance * mHideDistance)) {
86 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance)
SimpleCollisionComponent.java 50 if (mPreviousPosition.length2() > 0.0f) {
54 if (mMovementDirection.length2() > 0.0f) {
Vector2.java 87 return (float) Math.sqrt(length2());
90 public final float length2() { method in class:Vector2
OrbitalMagnetComponent.java 74 final float distanceFromCenter2 = mDelta.length2();
119 if (targetVelocity.length2() > (speed * speed)) {
  /libcore/luni/src/main/native/
cbigint.cpp 70 addHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2)
81 if (length1 == 0 || length2 == 0)
85 else if (length1 < length2)
87 length2 = length1;
103 while (++index < length2);
116 subtractHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2)
124 while (length2 > 0 && arg2[length2 - 1] == 0)
125 --length2;
127 addHighPrecision (arg1, length1, arg2, length2);
    [all...]
cbigint.h 88 void multiplyHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2,
93 int32_t compareHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2);
95 void subtractHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2);
97 int32_t addHighPrecision(uint64_t* arg1, int32_t length1, uint64_t* arg2, int32_t length2);
  /external/icu/icu4c/source/common/
unormcmp.cpp 142 const UChar *s2, int32_t length2,
202 if(length2==-1) {
205 limit2=s2+length2;
566 const UChar *s2, int32_t length2,
573 if(s1==0 || length1<-1 || s2==0 || length2<-1) {
621 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) {
623 length2=fcd2.length();
630 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) {
632 length2=fcd2.length();
638 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode)
    [all...]
ustr_imp.h 51 const UChar *s2, int32_t length2,
61 const UChar *s2, int32_t length2,
71 * @param length2 length of string 2, or -1 (NULL terminated)
79 const UChar *s2, int32_t length2,
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
btPersistentManifold.cpp 108 return btMax(btMax(tmp0.length2(),tmp1.length2()),tmp2.length2());
139 res0 = cross.length2();
146 res1 = cross.length2();
154 res2 = cross.length2();
162 res3 = cross.length2();
btSubSimplexConvexCast.cpp 74 btScalar dist2 = v.length2();
123 dist2 = v.length2();
143 if (n.length2() >= (SIMD_EPSILON*SIMD_EPSILON))
btComputeGjkEpaPenetration.h 166 if(newCachedSeparatingAxis.length2()<colDesc.m_gjkRelError2)
175 squaredDistance = newCachedSeparatingAxis.length2();
237 btScalar lenSqr =m_cachedSeparatingAxis.length2();
286 btScalar lenSqr = tmpNormalInB.length2();
290 lenSqr = m_cachedSeparatingAxis.length2();
325 if (m_cachedSeparatingAxis.length2() > btScalar(0.))
btGjkPairDetector.cpp 202 if(newCachedSeparatingAxis.length2()<REL_ERROR2)
211 squaredDistance = newCachedSeparatingAxis.length2();
275 btScalar lenSqr =m_cachedSeparatingAxis.length2();
331 btScalar lenSqr = tmpNormalInB.length2();
335 lenSqr = m_cachedSeparatingAxis.length2();
370 if (m_cachedSeparatingAxis.length2() > btScalar(0.))
  /libcore/luni/src/test/java/libcore/java/util/
OldPriorityQueueTest.java 88 int length2 = object2.length(); local
89 if (length1 > length2) {
91 } else if (length1 == length2) {
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
btGeometryUtil.cpp 106 if (planeEquation.length2() > btScalar(0.0001))
151 if ( ( n2n3.length2() > btScalar(0.0001) ) &&
152 ( n3n1.length2() > btScalar(0.0001) ) &&
153 ( n1n2.length2() > btScalar(0.0001) ) )
btGrahamScan2dConvexHull.h 47 btScalar al = (a-m_anchor).length2();
48 btScalar bl = (b-m_anchor).length2();
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
btConvexPointCloudShape.cpp 34 btScalar lenSqr = vec.length2();
82 if (vecnorm .length2() < (SIMD_EPSILON*SIMD_EPSILON))
btTriangleMesh.cpp 96 if ((m_4componentVertices[i]-vertex).length2() <= m_weldingThreshold)
116 if ((vtx-vertex).length2() <= m_weldingThreshold)
  /external/vulkan-validation-layers/libs/glm/gtx/
norm.hpp 58 GLM_FUNC_DECL T length2(
64 GLM_FUNC_DECL typename genType::value_type length2(
  /external/mockito/cglib-and-asm/src/org/mockito/asm/
ByteVector.java 288 int length2 = length + size; local
289 byte[] newData = new byte[length1 > length2 ? length1 : length2];
  /external/skia/tests/
PaintBreakTextTest.cpp 53 const size_t length2 = paint.breakText(text, length, width, &mm); local
54 REPORTER_ASSERT_MESSAGE(reporter, length2 == length, msg);
  /libcore/ojluni/src/main/java/sun/reflect/
Reflection.java 184 int length2 = lastDot2 - idx2; local
186 if (length1 != length2) {

Completed in 660 milliseconds

1 2 3 4 5 6 7 8