Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DSystemTest.java30 long n1 = System.nanoTime(); in testNanoTime1() local
36 long nanos = n2 - n1; in testNanoTime1()
48 long n1 = System.nanoTime(); in testNanoTime2() local
56 long nanos = n2 - n1; in testNanoTime2()
/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/luni/src/main/java/java/util/
DGrego.java126 long n1 = floorDivide(rem[0], 365, rem); in dayToFields() local
128 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); in dayToFields()
130 if (n100 == 4 || n1 == 4) { in dayToFields()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1PRNG_SecureRandomTest.java152 int n1 = 10; in testNextBytesbyteArray02() local
155 byte[][] bytes1 = new byte[10][n1]; in testNextBytesbyteArray02()
166 int i1 = k / n1; in testNextBytesbyteArray02()
167 int i2 = k % n1; in testNextBytesbyteArray02()
/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()