/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedReaderTest.java | 236 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 …]
|
D | PipedWriterTest.java | 27 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/ |
D | PhantomReferenceTest.java | 41 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()
|
D | ReferenceTest.java | 71 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()
|
D | ReferenceQueueTest.java | 69 PhantomReference pr = new PhantomReference(str, rq); in test_poll() local 73 pr.enqueue(); in test_poll() 181 PhantomReference pr = new PhantomReference(str, rq); in test_removeJ() local 183 pr.enqueue(); in test_removeJ()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldPipedWriterTest.java | 31 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/ojluni/src/test/java/util/Properties/ |
D | CompatibilityTest.java | 68 Properties pr = new Properties(); in storeToXML() local 69 pr.put(key, value); in storeToXML() 70 pr.storeToXML(os, "Test", "UTF-8"); in storeToXML()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | KeyManagerFactorySpiTest.java | 107 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()
|
D | TrustManagerFactorySpiTest.java | 86 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()
|
D | SSLEngineTest.java | 154 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/ |
D | logging_fr.properties | 42 FINER=Plus pr\u00E9cis 44 FINEST=Le plus pr\u00E9cis
|
/libcore/ojluni/src/main/java/java/util/ |
D | HashMap.java | 2019 TreeNode<K,V> pl = p.left, pr = p.right, q; in find() local 2023 p = pr; in find() 2027 p = pr; in find() 2028 else if (pr == null) in find() 2033 p = (dir < 0) ? pl : pr; in find() 2034 else if ((q = pr.find(h, k, kc)) != null) in find() 2213 TreeNode<K,V> p = this, pl = left, pr = right, replacement; in removeTreeNode() local 2214 if (pl != null && pr != null) { in removeTreeNode() 2215 TreeNode<K,V> s = pr, sl; in removeTreeNode() 2221 if (s == pr) { // p was s's direct parent in removeTreeNode() [all …]
|
D | TreeMap.java | 3203 TreeMapEntry<K,V> f = fence, e, p, pr; in forEachRemaining() local 3209 while ((pr = p.right) != null) in forEachRemaining() 3210 p = pr; in forEachRemaining()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 1451 PhantomReference pr = new PhantomReference(bb, rq); in test_DirectByteBuffer_PhantomReference() local 1456 assertTrue(!pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference() 1465 assertTrue(!pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference() 1471 assertTrue(pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 2744 TreeNode<K,V> pl = p.left, pr = p.right; in findTreeNode() local 2748 p = pr; in findTreeNode() 2752 p = pr; in findTreeNode() 2753 else if (pr == null) in findTreeNode() 2758 p = (dir < 0) ? pl : pr; in findTreeNode() 2759 else if ((q = pr.findTreeNode(h, k, kc)) != null) in findTreeNode() 3017 TreeNode<K,V> pr = p.right; in removeTreeNode() local 3018 if (pl != null && pr != null) { in removeTreeNode() 3019 TreeNode<K,V> s = pr, sl; in removeTreeNode() 3025 if (s == pr) { // p was s's direct parent in removeTreeNode() [all …]
|