Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DWeakReferenceTest.java39 WeakReference wr = new WeakReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue() local
40 assertTrue("Initialization failed.", ((Boolean) wr.get()) in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
63 WeakReference wr = new WeakReference(bool); in test_ConstructorLjava_lang_Object() local
66 assertTrue("Initialization failed.", ((Boolean) wr.get()) in test_ConstructorLjava_lang_Object()
DReferenceQueueTest.java68 WeakReference wr = new WeakReference(obj, rq); in test_poll() local
72 wr.enqueue(); in test_poll()
97 wr.enqueue(); in test_poll()
171 WeakReference wr = new WeakReference(obj, rq); in test_removeJ() local
178 wr.enqueue(); in test_removeJ()
DReferenceTest.java70 WeakReference wr = new WeakReference(tmpB, new ReferenceQueue()); in test_clear() local
73 && (wr.get() != null)); in test_clear()
76 wr.clear(); in test_clear()
79 && (wr.get() == null)); in test_clear()
82 assertTrue("should always pass", tmpA != sr.get() && tmpB != wr.get()); in test_clear()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTest.java69 Writer wr = new MockLockWriter(lock); in test_writeLjava_lang_String() local
70 wr.write("Some string"); in test_writeLjava_lang_String()
71 wr.close(); in test_writeLjava_lang_String()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharsetEncoder.java360 WeakReference<CharsetDecoder> wr = cachedDecoder; in isLegalReplacement() local
362 if ((wr == null) || ((dec = wr.get()) == null)) { in isLegalReplacement()
/libcore/ojluni/src/main/native/
Dnet_util_md.c1378 fd_set rd, wr, ex;
1385 FD_ZERO(&wr);
1391 FD_SET(fd, &wr);
1394 FD_SET(fd, &wr);
1399 read_rv = NET_Select(fd+1, &rd, &wr, &ex, &t);