Searched refs:n1 (Results 1 – 9 of 9) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 40 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/ |
D | ASCIICaseInsensitiveComparator.java | 41 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/ |
D | OldAndroidPipedStreamTest.java | 272 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/ |
D | BaseCalendar.java | 494 int n400, n100, n4, n1; in getGregorianYearFromFixedDate() local 505 n1 = d3 / 365; in getGregorianYearFromFixedDate() 515 n1 = CalendarUtils.floorDivide(d3, 365); in getGregorianYearFromFixedDate() 518 year = 400 * n400 + 100 * n100 + 4 * n4 + n1; in getGregorianYearFromFixedDate() 519 if (!(n100 == 4 || n1 == 4)) { in getGregorianYearFromFixedDate()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/ |
D | OldSHA1PRNGSecureRandomTest.java | 148 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/ |
D | BufferedReader.java | 300 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/ |
D | AttributesTest.java | 209 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/ |
D | String.java | 1195 int n1 = s1.length(); in compare() local 1197 int min = Math.min(n1, n2); in compare() 1214 return n1 - n2; in compare()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 4121 PrefixTree n1 = newNode(key.substring(prefixLen), value, child); in add0() local 4123 child = n1; in add0()
|