Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 161) sorted by relevance

1234567

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSliceSpliteratorTest.java73 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
86 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
99 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
112 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
128 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
142 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
156 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
170 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local
191 public void testSliceSpliterator(String description, SliceTester r) { in testSliceSpliterator()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalRandom8Test.java43 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBadStreamSize() local
60 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBadStreamBounds() local
77 ThreadLocalRandom r = ThreadLocalRandom.current(); in testIntsCount() local
92 ThreadLocalRandom r = ThreadLocalRandom.current(); in testLongsCount() local
107 ThreadLocalRandom r = ThreadLocalRandom.current(); in testDoublesCount() local
122 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBoundedInts() local
141 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBoundedLongs() local
160 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBoundedDoubles() local
179 ThreadLocalRandom r = ThreadLocalRandom.current(); in testUnsizedIntsCount() local
190 ThreadLocalRandom r = ThreadLocalRandom.current(); in testUnsizedLongsCount() local
[all …]
DConcurrentHashMap8Test.java765 Long r; in testReduceKeysSequentially() local
775 Long r; in testReduceValuesSequentially() local
785 Map.Entry<Long,Long> r; in testReduceEntriesSequentially() local
795 Long r; in testReduceKeysInParallel() local
805 Long r; in testReduceValuesInParallel() local
815 Map.Entry<Long,Long> r; in testReduceEntriesInParallel() local
825 Long r = m.reduceKeys(Long.MAX_VALUE, (Long x) -> Long.valueOf(4 * x.longValue()), in testMapReduceKeysSequentially() local
835 Long r = m.reduceValues(Long.MAX_VALUE, (Long x) -> Long.valueOf(4 * x.longValue()), in testMapReduceValuesSequentially() local
845 … Long r = m.reduce(Long.MAX_VALUE, (Long x, Long y) -> Long.valueOf(x.longValue() + y.longValue()), in testMappedReduceSequentially() local
856 Long r = m.reduceKeys(1L, (Long x) -> Long.valueOf(4 * x.longValue()), in testMapReduceKeysInParallel() local
[all …]
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java147 SecureRandom r = SecureRandom.getInstance("anotherRandom", "SRProvider"); in testGetInstanceStringString() local
160 SecureRandom r = SecureRandom.getInstance("someRandom", "UnknownProvider"); in testGetInstanceStringString() local
173 SecureRandom r = SecureRandom.getInstance("someRandom", (String)null); in testGetInstanceStringString() local
186 SecureRandom r = SecureRandom.getInstance(null, "SRProvider"); in testGetInstanceStringString() local
210 SecureRandom r = SecureRandom.getInstance("unknownRandom", p); in testGetInstanceStringProvider() local
222 SecureRandom r = SecureRandom.getInstance(null, p); in testGetInstanceStringProvider() local
233 SecureRandom r = SecureRandom.getInstance("anyRandom", (Provider)null); in testGetInstanceStringProvider() local
/libcore/luni/src/test/java/tests/java/sql/
DInsertFunctionalityTest.java162 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert3() local
178 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert4() local
196 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert5() local
216 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsertPrepared() local
DUpdateFunctionalityTest2.java189 ResultSet r = statement.executeQuery("SELECT COUNT(*) " + "FROM " in testUpdate5() local
232 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testUpdate7() local
251 ResultSet r = statement.executeQuery("SELECT id FROM " in testUpdate8() local
275 ResultSet r = statement.executeQuery("SELECT testId, testValue FROM " in testUpdate9() local
DDeleteFunctionalityTest.java158 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete5() local
175 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete6() local
194 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete7() local
/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedReaderTest.java147 int r = br.read(); in test_read() local
328 BufferedReader r = new BufferedReader(new StringReader("1\r2\n3\r\n4")); in test_readLine_all_line_endings() local
337 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_read() local
346 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_array_read_1() local
354 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_array_read_2() local
363 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_skip() local
371 BufferedReader r = new BufferedReader(new StringReader("1\r\n2\n3")); in test_readLine_interaction_with_mark_and_reset() local
DOldAndroidByteArrayInputStreamTest.java45 int r; in read() local
65 int r; in skipRead() local
78 int r; in markRead() local
DOldAndroidCharArrayReaderTest.java44 int r; in read() local
64 int r; in skipRead() local
77 int r; in markRead() local
DOldAndroidStringReaderTest.java42 int r; in read() local
62 int r; in skipRead() local
75 int r; in markRead() local
DOldAndroidPushbackInputStreamTest.java59 int r; in read() local
79 int r; in skipRead() local
92 int r; in markRead() local
DOldAndroidBufferedReaderTest.java67 int r; in read() local
87 int r; in skipRead() local
100 int r; in markRead() local
DOldAndroidLineNumberReaderTest.java81 int r; in read() local
101 int r; in skipRead() local
114 int r; in markRead() local
/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathBuilderResultTest.java86 CertPathBuilderResult r = in testPKIXCertPathBuilderResult01() local
109 CertPathBuilderResult r = in testPKIXCertPathBuilderResult02() local
217 CertPathBuilderResult r = in testGetCertPath() local
242 CertPathBuilderResult r = in testToString() local
/libcore/benchmarks/src/benchmarks/regression/
DBigIntegerBenchmark.java24 Random r = new Random(); in timeRandomDivision() local
33 Random r = new Random(); in timeRandomGcd() local
42 Random r = new Random(); in timeRandomMultiplication() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileWriterTest.java50 int r = br.read(buf); in test_ConstructorLjava_io_File() local
104 int r = br.read(buf); in test_ConstructorLjava_io_FileDescriptor() local
123 int r = br.read(buf); in test_ConstructorLjava_lang_String() local
141 int r = br.read(buf); in test_ConstructorLjava_lang_StringZ() local
DFileReaderTest.java48 int r = br.read(buf); in test_ConstructorLjava_io_File() local
64 int r = br.read(buf); in test_ConstructorLjava_io_FileDescriptor() local
80 int r = br.read(buf); in test_ConstructorLjava_lang_String() local
DStringReaderTest.java85 int r = sr.read(); in test_read() local
98 int r = sr.read(buf, 0, testString.length()); in test_read$CII() local
112 int r = 0; in test_ready() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
DDeserializeMethodTest.java59 Runnable r = (Runnable & Serializable) () -> { }; in foo() local
69 Runnable r = () -> { }; in foo() local
80 Runnable r = (Runnable & Marker) () -> { }; in foo() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DFindFirstOpTest.java68 Optional<Integer> r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseStream() local
88 OptionalInt r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseIntStream() local
108 OptionalLong r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseLongStream() local
128 OptionalDouble r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseDoubleStream() local
DFindAnyOpTest.java77 Integer r = or.get(); in exerciseStream() local
101 int r = or.getAsInt(); in exerciseIntStream() local
125 long r = or.getAsLong(); in exerciseLongStream() local
149 double r = or.getAsDouble(); in exerciseDoubleStream() local
/libcore/luni/src/main/java/java/math/
DBigInt.java231 BigInt r = newBigInt(); in shift() local
253 BigInt r = newBigInt(); in addition() local
263 BigInt r = newBigInt(); in subtraction() local
270 BigInt r = newBigInt(); in gcd() local
276 BigInt r = newBigInt(); in product() local
283 BigInt r = newBigInt(); in bigExp() local
317 BigInt r = newBigInt(); in modulus() local
324 BigInt r = newBigInt(); in modExp() local
331 BigInt r = newBigInt(); in modInverse() local
338 BigInt r = newBigInt(); in generatePrimeDefault() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DGZIPOutputStreamTest.java103 int r = 0; in test_finish() local
130 int r = 0; in test_close() local
161 int r = 0; in test_write$BII() local
/libcore/ojluni/src/main/java/java/lang/ref/
DReferenceQueue.java66 private boolean enqueueLocked(Reference<? extends T> r) { in enqueueLocked()
125 Reference<? extends T> r = head; in reallyPollLocked() local
186 Reference<? extends T> r = reallyPollLocked(); in remove() local

1234567