Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 8 of 8) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DSystemTest.java40 long n1 = System.nanoTime(); in testNanoTime1() local
46 long nanos = n2 - n1; in testNanoTime1()
58 long n1 = System.nanoTime(); in testNanoTime2() local
66 long nanos = n2 - n1; in testNanoTime2()
/libcore/ojluni/src/main/java/sun/misc/
DASCIICaseInsensitiveComparator.java41 int n1=s1.length(), n2=s2.length(); in compare() local
42 int minLen = n1 < n2 ? n1 : n2; in compare()
55 return n1 - n2; in compare()
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidPipedStreamTest.java272 int n1 = -1; field in OldAndroidPipedStreamTest.Fibonacci
276 if (n1 < 0) { in next()
277 n1 = 0; in next()
279 } else if (n1 == 0) { in next()
281 n1 = 1; in next()
284 int ret = n1 + n2; in next()
285 n2 = n1; in next()
286 n1 = ret; in next()
/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java495 int n400, n100, n4, n1; in getGregorianYearFromFixedDate() local
506 n1 = d3 / 365; in getGregorianYearFromFixedDate()
516 n1 = CalendarUtils.floorDivide(d3, 365); in getGregorianYearFromFixedDate()
519 year = 400 * n400 + 100 * n100 + 4 * n4 + n1; in getGregorianYearFromFixedDate()
520 if (!(n100 == 4 || n1 == 4)) { in getGregorianYearFromFixedDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java148 int n1 = 10; in testNextBytesbyteArray02() local
151 byte[][] bytes1 = new byte[10][n1]; in testNextBytesbyteArray02()
162 int i1 = k / n1; in testNextBytesbyteArray02()
163 int i2 = k % n1; in testNextBytesbyteArray02()
/libcore/ojluni/src/main/java/java/io/
DBufferedReader.java300 int n1 = read1(cbuf, off + n, len - n); in read() local
301 if (n1 <= 0) break; in read()
302 n += n1; in read()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DAttributesTest.java209 Attributes.Name n1 = new Attributes.Name("name"), n2 = new Attributes.Name("Name"); in test_equalsLjava_lang_Object() local
210 assertEquals(n1, n2); in test_equalsLjava_lang_Object()
/libcore/ojluni/src/main/java/java/lang/
DString.java1104 int n1 = s1.length(); in compare() local
1106 int min = Math.min(n1, n2); in compare()
1123 return n1 - n2; in compare()