Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DComparableTimSort.java440 int len1 = runLen[i]; in mergeAt() local
443 assert len1 > 0 && len2 > 0; in mergeAt()
444 assert base1 + len1 == base2; in mergeAt()
451 runLen[i] = len1 + len2; in mergeAt()
462 int k = gallopRight((Comparable<Object>) a[base2], a, base1, len1, 0); in mergeAt()
465 len1 -= k; in mergeAt()
466 if (len1 == 0) in mergeAt()
473 len2 = gallopLeft((Comparable<Object>) a[base1 + len1 - 1], a, in mergeAt()
480 if (len1 <= len2) in mergeAt()
481 mergeLo(base1, len1, base2, len2); in mergeAt()
[all …]
DTimSort.java474 int len1 = runLen[i]; in mergeAt() local
477 assert len1 > 0 && len2 > 0; in mergeAt()
478 assert base1 + len1 == base2; in mergeAt()
485 runLen[i] = len1 + len2; in mergeAt()
496 int k = gallopRight(a[base2], a, base1, len1, 0, c); in mergeAt()
499 len1 -= k; in mergeAt()
500 if (len1 == 0) in mergeAt()
507 len2 = gallopLeft(a[base1 + len1 - 1], a, base2, len2, len2 - 1, c); in mergeAt()
513 if (len1 <= len2) in mergeAt()
514 mergeLo(base1, len1, base2, len2); in mergeAt()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java360 int len1 = prv.length; in test_getProviders() local
361 if (len1 == 0) { in test_getProviders()
367 if ((len2 == len1 + 1) && (prv[len2-1].toString().equals("MyProvider version 1.0"))) { in test_getProviders()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java717 int len1 = path.length; in compareTo() local
720 int n = Math.min(len1, len2); in compareTo()
733 return len1 - len2; in compareTo()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java1024 int len1 = c.doFinal(bI2).length; in test_doFinal$B() local
1025 assertEquals(16, len1); in test_doFinal$B()
1061 int len1 = c.doFinal(b, 0, 16).length; in test_doFinal$BII() local
1062 assertEquals(16, len1); in test_doFinal$BII()
/libcore/ojluni/src/main/native/
Dzip_util.c1169 jboolean equals(char* name1, int len1, char* name2, int len2) { in equals() argument
1170 if (len1 != len2) { in equals()
1173 while (len1-- > 0) { in equals()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java3758 int len1 = m1.length;
3761 if (len1 < len2)
3763 if (len1 > len2)
3765 for (int i = 0; i < len1; i++) {