Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 11 of 11) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DSystemTest.java42 long n2 = System.nanoTime(); in testNanoTime1() local
46 long nanos = n2 - n1; in testNanoTime1()
64 long n2 = System.nanoTime(); in testNanoTime2() local
66 long nanos = n2 - n1; in testNanoTime2()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSystemTest.java66 long n2 = System.nanoTime(); in testNanoTime1() local
70 long nanos = n2 - n1; in testNanoTime1()
88 long n2 = System.nanoTime(); in testNanoTime2() local
90 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.java273 int n2; field in OldAndroidPipedStreamTest.Fibonacci
280 n2 = 0; in next()
284 int ret = n1 + n2; in next()
285 n2 = n1; in next()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java153 int n2 = 20; in testNextBytesbyteArray02() local
156 byte[][] bytes2 = new byte[5][n2]; in testNextBytesbyteArray02()
168 int i3 = k / n2; in testNextBytesbyteArray02()
169 int i4 = k % n2; in testNextBytesbyteArray02()
/libcore/ojluni/src/test/java/util/BitSet/stream/
DBitSetStreamTest.java65 private int n2 = 1; field in BitSetStreamTest.Fibs
73 public int getAsInt() { int s = n1; n1 = n2; n2 = s + n1; return s; } in getAsInt()
/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/test/java/math/BigInteger/
DBigIntegerTest.java274 BigInteger n2 = n.pow(2); in squareRoot()
275 checkResult(n, n2.sqrt(), "sqrt() n^2 -> n"); in squareRoot()
278 BigInteger n2up = n2.add(BigInteger.ONE); in squareRoot()
323 BigInteger n2 = n.pow(2); in squareRootAndRemainder()
326 BigInteger[] actual = n2.sqrtAndRemainder(); in squareRootAndRemainder()
331 BigInteger n2up = n2.add(BigInteger.ONE); in squareRootAndRemainder()
340 BigInteger r = up.subtract(n2); in squareRootAndRemainder()
/libcore/ojluni/src/main/java/java/math/
DMutableBigInteger.java683 int n2 = 32 - n; in primitiveRightShift() local
687 val[i] = (c << n2) | (b >>> n); in primitiveRightShift()
699 int n2 = 32 - n; in primitiveLeftShift() local
703 val[i] = (b << n) | (c >>> n2); in primitiveLeftShift()
1466 int n2 = 32 - shift; in copyAndShift() local
1471 dst[dstFrom+i] = (b << shift) | (c >>> n2); in copyAndShift()
1507 int n2 = 32 - shift; in divideMagnitude() local
1511 remarr[i] = (b << shift) | (c >>> n2); in divideMagnitude()
/libcore/ojluni/src/main/java/java/lang/
DString.java1535 int n2 = s2.length(); in compare() local
1536 int min = Math.min(n1, n2); in compare()
1553 return n1 - n2; in compare()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4655 PrefixTree n2 = newNode(k.substring(prefixLen), v, null); in add0() local
4656 child.sibling = n2; in add0()