/external/opencv3/3rdparty/openexr/Imath/ |
D | ImathRandom.h | 343 while (v.length2() > 1); in solidSphereRand() 375 float length2; // floats, but later we call the double-precision log() in gaussRand() local 381 length2 = x * x + y * y; in gaussRand() 383 while (length2 >= 1 || length2 == 0); in gaussRand() 385 return x * sqrt (-2 * log (double (length2)) / length2); in gaussRand()
|
D | ImathVecAlgo.h | 123 typename Vec::BaseType neardot = (v0 - p).length2(); in closestVertex() 124 typename Vec::BaseType tmp = (v1 - p).length2(); in closestVertex() 132 tmp = (v2 - p).length2(); in closestVertex()
|
D | ImathLineAlgo.h | 235 T neardot = (v0 - l.closestPointTo(v0)).length2(); in closestVertex() 237 T tmp = (v1 - l.closestPointTo(v1)).length2(); in closestVertex() 245 tmp = (v2 - l.closestPointTo(v2)).length2(); in closestVertex()
|
D | ImathVec.h | 224 T length2 () const; 436 T length2 () const; 618 T length2 () const; 1173 T length2 = dot (*this); in length() local 1175 if (length2 < T (2) * limits<T>::smallest()) in length() 1178 return Math<T>::sqrt (length2); in length() 1183 Vec2<T>::length2 () const in length2() function 1664 T length2 = dot (*this); in length() local 1666 if (length2 < T (2) * limits<T>::smallest()) in length() 1669 return Math<T>::sqrt (length2); in length() [all …]
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | norm.inl | 13 GLM_FUNC_QUALIFIER T length2 function 22 GLM_FUNC_QUALIFIER T length2 function 31 GLM_FUNC_QUALIFIER T length2 function 40 GLM_FUNC_QUALIFIER T length2 function 55 return length2(p1 - p0); 65 return length2(p1 - p0); 75 return length2(p1 - p0); 85 return length2(p1 - p0);
|
D | norm.hpp | 58 GLM_FUNC_DECL T length2( 64 GLM_FUNC_DECL typename genType::value_type length2(
|
/external/icu/icu4c/source/common/ |
D | unormcmp.cpp | 142 const UChar *s2, int32_t length2, in unorm_cmpEquivFold() argument 202 if(length2==-1) { in unorm_cmpEquivFold() 205 limit2=s2+length2; in unorm_cmpEquivFold() 566 const UChar *s2, int32_t length2, in unorm_compare() argument 573 if(s1==0 || length1<-1 || s2==0 || length2<-1) { in unorm_compare() 621 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) { in unorm_compare() 623 length2=fcd2.length(); in unorm_compare() 630 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) { in unorm_compare() 632 length2=fcd2.length(); in unorm_compare() 638 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode); in unorm_compare()
|
D | ustrcase.cpp | 483 const UChar *s2, int32_t length2, in _cmpFold() argument 542 if(length2==-1) { in _cmpFold() 545 limit2=s2+length2; in _cmpFold() 849 const UChar *s2, int32_t length2, in u_strcmpFold() argument 852 return _cmpFold(s1, length1, s2, length2, options, NULL, NULL, pErrorCode); in u_strcmpFold() 859 const UChar *s2, int32_t length2, in u_strCaseCompare() argument 866 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) { in u_strCaseCompare() 870 return u_strcmpFold(s1, length1, s2, length2, in u_strCaseCompare() 902 const UChar *s2, int32_t length2, in u_caseInsensitivePrefixMatch() argument 906 _cmpFold(s1, length1, s2, length2, options, in u_caseInsensitivePrefixMatch()
|
D | ustr_imp.h | 51 const UChar *s2, int32_t length2, 61 const UChar *s2, int32_t length2, 79 const UChar *s2, int32_t length2,
|
D | ustring.cpp | 685 const UChar *s2, int32_t length2, in uprv_strCompare() argument 695 if(length1<0 && length2<0) { in uprv_strCompare() 751 if(length2<0) { in uprv_strCompare() 752 length2=u_strlen(s2); in uprv_strCompare() 756 if(length1<length2) { in uprv_strCompare() 759 } else if(length1==length2) { in uprv_strCompare() 764 limit1=start1+length2; in uprv_strCompare() 788 limit2=start2+length2; in uprv_strCompare() 923 const UChar *s2, int32_t length2, in u_strCompare() argument 926 if(s1==NULL || length1<-1 || s2==NULL || length2<-1) { in u_strCompare() [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
D | InternalNano.java | 200 int length2 = field2 == null ? 0 : field2.length; in equals() local 205 while (index2 < length2 && field2[index2] == null) { in equals() 209 boolean atEndOf2 = index2 >= length2; in equals() 235 int length2 = field2 == null ? 0 : field2.length; in equals() local 240 while (index2 < length2 && field2[index2] == null) { in equals() 244 boolean atEndOf2 = index2 >= length2; in equals()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | PopOutComponent.java | 77 if (mDistance.length2() < (mAppearDistance * mAppearDistance)) { in update() 84 if (mDistance.length2() > (mHideDistance * mHideDistance)) { in update() 86 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance) in update()
|
D | Vector2.java | 87 return (float) Math.sqrt(length2()); in length() 90 public final float length2() { in length2() method in Vector2
|
D | SimpleCollisionComponent.java | 50 if (mPreviousPosition.length2() > 0.0f) { in update() 54 if (mMovementDirection.length2() > 0.0f) { in update()
|
D | CameraSystem.java | 70 if (mPreInterpolateCameraPosition.length2() < in setTarget() 129 if (mBias.length2() > 0.0f && mTarget.getVelocity().length2() > 1.0f) { in update()
|
D | OrbitalMagnetComponent.java | 74 final float distanceFromCenter2 = mDelta.length2(); in applyMagnetism() 119 if (targetVelocity.length2() > (speed * speed)) { in applyMagnetism()
|
D | PhysicsComponent.java | 63 if (surfaceNormal.length2() > 0.0f) { in update() 78 if (newVelocity.length2() < inertiaSquared) { in update()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 343 final int length2 = 8 * 1024; 344 byte[] data = new byte[length2]; 345 for (int i = 0; i < length2; i++) { 349 final int length3 = bufferSize - length1 - length2; 361 for (int i = 0; i < length2; i++) {
|
/external/icu/icu4c/source/test/cintltst/ |
D | udatatst.c | 1406 int32_t length, dataLength, length2, headerLength; in TestSwapCase() local 1505 length2=swapFn(ds, inHeader, length, buffer, &errorCode); in TestSwapCase() 1514 if(length2!=length) { in TestSwapCase() 1516 name, length2, length); in TestSwapCase() 1532 length2=swapFn(ds, buffer, length, buffer, &errorCode); in TestSwapCase() 1541 if(length2!=length) { in TestSwapCase() 1543 name, length2, length); in TestSwapCase() 1559 length2=swapFn(ds, buffer, length, buffer2, &errorCode); in TestSwapCase() 1568 if(length2!=length) { in TestSwapCase() 1570 name, length2, length); in TestSwapCase() [all …]
|
D | trie2test.c | 545 int32_t length1, length2, length3; in testTrieSerialize() local 605 length2=utrie2_serialize(trie, storage, sizeof(storage), &errorCode); in testTrieSerialize() 614 if(length1!=length2) { in testTrieSerialize() 631 uprv_memset(swapped, 0x55, length2); in testTrieSerialize() 635 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize() 642 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize() 644 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize() 651 uprv_memset(storage, 0xaa, length2); in testTrieSerialize() 655 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize() 662 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
D | ByteVector.java | 288 int length2 = length + size; in enlarge() local 289 byte[] newData = new byte[length1 > length2 ? length1 : length2]; in enlarge()
|
/external/icu/icu4c/source/i18n/ |
D | uspoof.cpp | 368 const UChar *id2, int32_t length2, in uspoof_areConfusable() argument 374 if (length1 < -1 || length2 < -1) { in uspoof_areConfusable() 380 UnicodeString id2Str((length2==-1), id2, length2); // Aliasing constructor in uspoof_areConfusable() 388 const char *id2, int32_t length2, in uspoof_areConfusableUTF8() argument 394 if (length1 < -1 || length2 < -1) { in uspoof_areConfusableUTF8() 399 …UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : uprv_strlen(… in uspoof_areConfusableUTF8()
|
/external/skia/tests/ |
D | PaintBreakTextTest.cpp | 53 const size_t length2 = paint.breakText(text, length, width, &mm); in test_eq_measure_text() local 54 REPORTER_ASSERT_MESSAGE(reporter, length2 == length, msg); in test_eq_measure_text()
|
/external/tcpdump/ |
D | print-ospf.c | 826 register u_int length2; in ospf_decode_lls() local 847 length2 = EXTRACT_16BITS(&op->ospf_len); in ospf_decode_lls() 848 dptr = (u_char *)op + length2; in ospf_decode_lls() 853 length2 += op->ospf_authdata[3]; in ospf_decode_lls() 855 if (length2 >= length) { in ospf_decode_lls() 864 length2 = EXTRACT_16BITS(dptr); in ospf_decode_lls() 865 ND_PRINT((ndo, ", length: %u", length2)); in ospf_decode_lls()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | uspoof.h | 794 const UChar *id2, int32_t length2, 827 const char *id2, int32_t length2,
|