Home
last modified time | relevance | path

Searched refs:pr (Results 1 – 12 of 12) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedReaderTest.java236 PipedReader pr = new PipedReader(pw); in test_read$CII_ExceptionPriority4() local
238 pr.read(null, -1, 1); in test_read$CII_ExceptionPriority4()
247 PipedReader pr = new PipedReader(pw); in test_read_$CII_IOException() local
248 pr.close(); in test_read_$CII_IOException()
250 pr.read(null, 0, 10); in test_read_$CII_IOException()
256 pr = null; in test_read_$CII_IOException()
259 pr = new PipedReader(); in test_read_$CII_IOException()
260 pr.close(); in test_read_$CII_IOException()
262 pr.read(null, 0, 10); in test_read_$CII_IOException()
267 pr = null; in test_read_$CII_IOException()
[all …]
DPipedWriterTest.java27 public PipedReader pr; field in PipedWriterTest.PReader
33 pr = new PipedReader(pw); in PReader()
39 public PReader(PipedReader pr) { in PReader() argument
40 this.pr = pr; in PReader()
47 r = pr.read(); in run()
151 PipedReader pr = new PipedReader(); in test_flushAfterClose() local
152 pw = new PipedWriter(pr); in test_flushAfterClose()
161 pr = new PipedReader(); in test_flushAfterClose()
162 pw = new PipedWriter(pr); in test_flushAfterClose()
163 pr.close(); in test_flushAfterClose()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DPhantomReferenceTest.java41 PhantomReference pr = new PhantomReference(bool, rq); in test_get() local
42 assertNull("get() should return null.", pr.get()); in test_get()
43 pr.enqueue(); in test_get()
44 assertNull("get() should return null.", pr.get()); in test_get()
45 pr.clear(); in test_get()
46 assertNull("get() should return null.", pr.get()); in test_get()
134 PhantomReference pr = new PhantomReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue() local
137 assertTrue("Initialization failed.", !pr.isEnqueued()); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
DReferenceTest.java71 PhantomReference pr = new PhantomReference(tmpC, new ReferenceQueue()); in test_clear() local
74 assertNull("Referent is not null.", pr.get()); in test_clear()
77 pr.clear(); in test_clear()
80 assertNull("Referent is not null.", pr.get()); in test_clear()
94 final PhantomReference pr = new PhantomReference(tmpC, new ReferenceQueue()); in test_refersTo() local
97 assertTrue("phantom refersTo(referent)", pr.refersTo(tmpC)); in test_refersTo()
100 assertFalse("phantom refersTo(other)", pr.refersTo(tmpB)); in test_refersTo()
103 pr.clear(); in test_refersTo()
106 assertTrue("phantom refersTo(null)", pr.refersTo(null)); in test_refersTo()
109 assertFalse("phantom refersTo(nonnull)", pr.refersTo(tmpC)); in test_refersTo()
DReferenceQueueTest.java69 PhantomReference pr = new PhantomReference(str, rq); in test_poll() local
73 pr.enqueue(); in test_poll()
175 PhantomReference pr = new PhantomReference(str, rq); in test_removeJ() local
177 pr.enqueue(); in test_removeJ()
/libcore/luni/src/test/java/libcore/java/io/
DOldPipedWriterTest.java31 public PipedReader pr; field in OldPipedWriterTest.PReader
37 pr = new PipedReader(pw); in PReader()
44 public PReader(PipedReader pr) { in PReader() argument
45 this.pr = pr; in PReader()
61 pr.read(buf, 0, nbytes); in read()
225 reader.pr.close(); in test_write$CII()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactorySpiTest.java107 Parameters pr = new Parameters(psw); in test_engineInit_02() local
108 kmf.engineInit(pr); in test_engineInit_02()
131 Parameters pr = new Parameters(psw); in test_engineGetKeyManagers() local
132 kmf.engineInit(pr); in test_engineGetKeyManagers()
DTrustManagerFactorySpiTest.java86 Parameters pr = null; in test_engineInit_02() local
90 pr = new Parameters(ks); in test_engineInit_02()
91 tmf.init(pr); in test_engineInit_02()
96 assertEquals(pr, factory.getSpec()); in test_engineInit_02()
DSSLEngineTest.java154 String[] pr = sse.getSupportedProtocols(); in test_EnabledProtocols() local
156 sse.setEnabledProtocols(pr); in test_EnabledProtocols()
159 assertEquals("Incorrect array length", res.length, pr.length); in test_EnabledProtocols()
160 assertTrue("Incorrect array was returned", Arrays.equals(res, pr)); in test_EnabledProtocols()
/libcore/ojluni/src/main/resources/sun/util/logging/resources/
Dlogging_fr.properties42 FINER=Plus pr\u00E9cis
44 FINEST=Le plus pr\u00E9cis
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java1422 PhantomReference pr = new PhantomReference(bb, rq); in test_DirectByteBuffer_PhantomReference() local
1427 assertTrue(!pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
1436 assertTrue(!pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
1442 assertTrue(pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
/libcore/ojluni/src/main/java/java/util/
DTreeMap.java2850 TreeMapEntry<K,V> f = fence, e, p, pr; in forEachRemaining() local
2856 while ((pr = p.right) != null) in forEachRemaining()
2857 p = pr; in forEachRemaining()