Searched refs:length2 (Results 1 - 25 of 82) sorted by relevance

1234

/external/chromium_org/third_party/icu/source/i18n/
H A Ducol_wgt.h29 int32_t length2; member in struct:WeightRange
H A Ducol_wgt.cpp113 length=range->length2+1;
117 range->length2=length;
353 /* set the length2 and count2 fields */
355 ranges[i].length2=ranges[i].length;
362 minLength=ranges[0].length2;
367 lengthCounts[ranges[i].length2]+=ranges[i].count2;
412 ranges[1].length2=minLength;
429 /* set the bytes in the end weight at length+1..length2 to maxByte */
454 for(i=0; ranges[i].length2==minLength; ++i) {
469 printf("ranges[%ld] .start=0x%08lx .end=0x%08lx .length=%ld .length2
[all...]
/external/icu4c/i18n/
H A Ducol_wgt.h29 int32_t length2; member in struct:WeightRange
H A Ducol_wgt.cpp126 length=range->length2+1;
130 range->length2=length;
366 /* set the length2 and count2 fields */
368 ranges[i].length2=ranges[i].length;
375 minLength=ranges[0].length2;
380 lengthCounts[ranges[i].length2]+=ranges[i].count2;
425 ranges[1].length2=minLength;
442 /* set the bytes in the end weight at length+1..length2 to maxByte */
467 for(i=0; ranges[i].length2==minLength; ++i) {
482 printf("ranges[%ld] .start=0x%08lx .end=0x%08lx .length=%ld .length2
[all...]
H A Duspoof.cpp307 const UChar *id2, int32_t length2,
313 if (length1 < -1 || length2 < -1) {
319 UnicodeString id2Str((length2==-1), id2, length2); // Aliasing constructor
327 const char *id2, int32_t length2,
333 if (length1 < -1 || length2 < -1) {
338 UnicodeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : uprv_strlen(id2)));
305 uspoof_areConfusable(const USpoofChecker *sc, const UChar *id1, int32_t length1, const UChar *id2, int32_t length2, UErrorCode *status) argument
325 uspoof_areConfusableUTF8(const USpoofChecker *sc, const char *id1, int32_t length1, const char *id2, int32_t length2, UErrorCode *status) argument
/external/replicaisland/src/com/replica/replicaisland/
H A DPopOutComponent.java77 if (mDistance.length2() < (mAppearDistance * mAppearDistance)) {
84 if (mDistance.length2() > (mHideDistance * mHideDistance)) {
86 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance)
H A DSimpleCollisionComponent.java50 if (mPreviousPosition.length2() > 0.0f) {
54 if (mMovementDirection.length2() > 0.0f) {
H A DVector2.java87 return (float) Math.sqrt(length2());
90 public final float length2() { method in class:Vector2
H A DOrbitalMagnetComponent.java74 final float distanceFromCenter2 = mDelta.length2();
119 if (targetVelocity.length2() > (speed * speed)) {
H A DAttackAtDistanceComponent.java66 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance)
H A DCameraSystem.java70 if (mPreInterpolateCameraPosition.length2() <
129 if (mBias.length2() > 0.0f && mTarget.getVelocity().length2() > 1.0f) {
/external/icu4c/common/
H A Dunormcmp.cpp144 const UChar *s2, int32_t length2,
204 if(length2==-1) {
207 limit2=s2+length2;
568 const UChar *s2, int32_t length2,
575 if(s1==0 || length1<-1 || s2==0 || length2<-1) {
623 if(_normalize(&fn2, s2, length2, fcd2, pErrorCode)) {
625 length2=fcd2.length();
632 if(_normalize(n2, s2, length2, fcd2, pErrorCode)) {
634 length2=fcd2.length();
640 return unorm_cmpEquivFold(s1, length1, s2, length2, option
143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode) argument
567 unorm_compare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dustr_imp.h51 const UChar *s2, int32_t length2,
61 const UChar *s2, int32_t length2,
H A Dustring.cpp685 const UChar *s2, int32_t length2,
695 if(length1<0 && length2<0) {
717 /* special handling for strncmp, assume length1==length2>=0 but also check for NUL */
751 if(length2<0) {
752 length2=u_strlen(s2);
755 /* limit1=start1+min(lenght1, length2) */
756 if(length1<length2) {
759 } else if(length1==length2) {
762 } else /* length1>length2 */ {
764 limit1=start1+length2;
684 uprv_strCompare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UBool strncmpStyle, UBool codePointOrder) argument
922 u_strCompare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UBool codePointOrder) argument
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dunormcmp.cpp144 const UChar *s2, int32_t length2,
204 if(length2==-1) {
207 limit2=s2+length2;
539 const UChar *s2, int32_t length2,
546 if(s1==0 || length1<-1 || s2==0 || length2<-1) {
600 UnicodeString str2(length2<0, s2, length2);
628 length2=fcd2.length();
633 return unorm_cmpEquivFold(s1, length1, s2, length2, options, pErrorCode);
143 unorm_cmpEquivFold(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode) argument
538 unorm_compare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode) argument
H A Dlocdispnames.cpp436 int32_t length, length2, length3 = 0; local
524 length2=uloc_getDisplayScript(locale, displayLocale,
528 length2=uloc_getDisplayScript(locale, displayLocale,
532 hasScript= length2>0;
533 length+=length2;
550 length2=uloc_getDisplayCountry(locale, displayLocale,
554 length2=uloc_getDisplayCountry(locale, displayLocale,
558 hasCountry= length2>0;
559 length+=length2;
576 length2
[all...]
H A Dustr_imp.h54 const UChar *s2, int32_t length2,
65 const UChar *s2, int32_t length2,
H A Dustring.c684 const UChar *s2, int32_t length2,
694 if(length1<0 && length2<0) {
716 /* special handling for strncmp, assume length1==length2>=0 but also check for NUL */
750 if(length2<0) {
751 length2=u_strlen(s2);
754 /* limit1=start1+min(lenght1, length2) */
755 if(length1<length2) {
758 } else if(length1==length2) {
761 } else /* length1>length2 */ {
763 limit1=start1+length2;
683 uprv_strCompare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UBool strncmpStyle, UBool codePointOrder) argument
921 u_strCompare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, UBool codePointOrder) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Didnaref.h205 * @param length2 Length of second source string, or -1 if NUL-terminated.
222 const UChar *s2, int32_t length2,
/external/compiler-rt/lib/asan/
H A Dasan_report.h47 const char *offset2, uptr length2, StackTrace *stack);
/external/icu4c/test/intltest/
H A Didnaref.h201 * @param length2 Length of second source string, or -1 if NUL-terminated.
217 const UChar *s2, int32_t length2,
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Duspoof.h657 * @param length2 The length of the second string, expressed in
673 const UChar *s2, int32_t length2,
691 * @param length2 The length of the second string in bytes, or -1
706 const char *s2, int32_t length2,
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dudatatst.c1356 int32_t length, dataLength, length2, headerLength; local
1455 length2=swapFn(ds, inHeader, length, buffer, &errorCode);
1464 if(length2!=length) {
1466 name, length2, length);
1482 length2=swapFn(ds, buffer, length, buffer, &errorCode);
1491 if(length2!=length) {
1493 name, length2, length);
1509 length2=swapFn(ds, buffer, length, buffer2, &errorCode);
1518 if(length2!=length) {
1520 name, length2, lengt
[all...]
H A Dtrie2test.c547 int32_t length1, length2, length3; local
607 length2=utrie2_serialize(trie, storage, sizeof(storage), &errorCode);
616 if(length1!=length2) {
633 uprv_memset(swapped, 0x55, length2);
637 if(U_FAILURE(errorCode) || swappedLength!=length2) {
644 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode);
646 if(U_FAILURE(errorCode) || swappedLength!=length2) {
653 uprv_memset(storage, 0xaa, length2);
657 if(U_FAILURE(errorCode) || swappedLength!=length2) {
664 swappedLength=utrie2_swap(ds, swapped, length2, storag
[all...]
/external/icu4c/test/cintltst/
H A Dudatatst.c1364 int32_t length, dataLength, length2, headerLength; local
1463 length2=swapFn(ds, inHeader, length, buffer, &errorCode);
1472 if(length2!=length) {
1474 name, length2, length);
1490 length2=swapFn(ds, buffer, length, buffer, &errorCode);
1499 if(length2!=length) {
1501 name, length2, length);
1517 length2=swapFn(ds, buffer, length, buffer2, &errorCode);
1526 if(length2!=length) {
1528 name, length2, lengt
[all...]

Completed in 481 milliseconds

1234