/libcore/luni/src/test/java/libcore/java/io/ |
D | OldPipedWriterTest.java | 35 public PReader(PipedWriter pw) { in PReader() argument 37 pr = new PipedReader(pw); in PReader() 74 PipedWriter pw; field in OldPipedWriterTest 78 pw = new PipedWriter(); in test_Constructor() 79 assertNotNull(pw); in test_Constructor() 81 pw.close(); in test_Constructor() 91 pw = new PipedWriter(rd); in test_ConstructorLjava_io_PipedReader() 99 pw.write(testBuf); in test_ConstructorLjava_io_PipedReader() 104 pw.close(); in test_ConstructorLjava_io_PipedReader() 110 pw = new PipedWriter(rd); in test_ConstructorLjava_io_PipedReader() [all …]
|
D | OldBufferedReaderTest.java | 387 PrintWriter pw = new PrintWriter(new OutputStreamWriter(pos)); in test_8778372() 388 pw.print("hello, world\r"); in test_8778372() 389 pw.flush(); in test_8778372()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PrintWriterTest.java | 58 PrintWriter pw; field in PrintWriterTest 72 pw.println("Random Chars"); in test_ConstructorLjava_io_OutputStream() 73 pw.write("Hello World"); in test_ConstructorLjava_io_OutputStream() 74 pw.flush(); in test_ConstructorLjava_io_OutputStream() 94 pw = new PrintWriter(bao, true); in test_ConstructorLjava_io_OutputStreamZ() 95 pw.println("Random Chars"); in test_ConstructorLjava_io_OutputStreamZ() 96 pw.write("Hello World"); in test_ConstructorLjava_io_OutputStreamZ() 102 pw.flush(); in test_ConstructorLjava_io_OutputStreamZ() 121 pw = new PrintWriter(sw = new Support_StringWriter()); in test_ConstructorLjava_io_Writer() 122 pw.print("Hello"); in test_ConstructorLjava_io_Writer() [all …]
|
D | PipedReaderTest.java | 29 public PipedWriter pw; field in PipedReaderTest.PWriter 33 pw = new PipedWriter(reader); in PWriter() 40 pw = new PipedWriter(); in PWriter() 47 pw.write(c); in run() 143 preader.connect(pwriter.pw); in test_connectLjava_io_PipedWriter() 151 preader.connect(pwriter.pw); in test_connectLjava_io_PipedWriter() 202 PipedWriter pw = new PipedWriter(); in test_read$CII_ExceptionPriority() local 205 obj = new PipedReader(pw); in test_read$CII_ExceptionPriority() 213 PipedWriter pw = new PipedWriter(); in test_read$CII_ExceptionPriority2() local 216 obj = new PipedReader(pw); in test_read$CII_ExceptionPriority2() [all …]
|
D | PipedWriterTest.java | 31 public PReader(PipedWriter pw) { in PReader() argument 33 pr = new PipedReader(pw); in PReader() 62 PipedWriter pw; field in PipedWriterTest 80 pw = new PipedWriter(rd); in test_ConstructorLjava_io_PipedReader() 83 pw.write(buf); in test_ConstructorLjava_io_PipedReader() 84 pw.close(); in test_ConstructorLjava_io_PipedReader() 98 pw = new PipedWriter(rd); in test_close() 100 pw.close(); in test_close() 102 pw.write(buf); in test_close() 117 pw = new PipedWriter(); in test_connectLjava_io_PipedReader() [all …]
|
D | PipedInputStreamTest.java | 54 PWriter pw; field in PipedInputStreamTest 84 t = new Thread(pw = new PWriter(pos, 1000)); in test_readException() 108 t = new Thread(pw = new PWriter(pos, 1000)); in test_available() 111 synchronized (pw) { in test_available() 112 pw.wait(10000); in test_available() 159 t = new Thread(pw = new PWriter(pos, 1000)); in test_connectLjava_io_PipedOutputStream() 162 synchronized (pw) { in test_connectLjava_io_PipedOutputStream() 163 pw.wait(10000); in test_connectLjava_io_PipedOutputStream() 177 t = new Thread(pw = new PWriter(pos, 1000)); in test_read() 180 synchronized (pw) { in test_read() [all …]
|
/libcore/luni/src/main/java/java/util/logging/ |
D | SimpleFormatter.java | 57 PrintWriter pw = null; in format() local 60 pw = new PrintWriter(sw); in format() 61 t.printStackTrace(pw); in format() 64 IoUtils.closeQuietly(pw); in format()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | InvocationTargetExceptionTest.java | 262 PrintWriter pw; in test_printStackTraceLjava_io_PrintWriter() local 266 pw = new PrintWriter(caw); in test_printStackTraceLjava_io_PrintWriter() 269 ite.printStackTrace(pw); in test_printStackTraceLjava_io_PrintWriter() 274 pw.close(); in test_printStackTraceLjava_io_PrintWriter() 277 pw = new PrintWriter(bao); in test_printStackTraceLjava_io_PrintWriter() 280 ite.printStackTrace(pw); in test_printStackTraceLjava_io_PrintWriter() 282 pw.flush(); // Test will fail if this line removed. in test_printStackTraceLjava_io_PrintWriter()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThrowableTest.java | 166 PrintWriter pw = new PrintWriter(bao); in test_printStackTraceLjava_io_PrintWriter() local 168 x.printStackTrace(pw); in test_printStackTraceLjava_io_PrintWriter() 169 pw.close(); in test_printStackTraceLjava_io_PrintWriter()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 179 PrintWriter pw = new PrintWriter(baos); in test_listLjava_io_PrintWriter() local 185 myProps.list(pw); in test_listLjava_io_PrintWriter() 186 pw.flush(); in test_listLjava_io_PrintWriter() 192 pw = null; in test_listLjava_io_PrintWriter() 194 myProps.list(pw); in test_listLjava_io_PrintWriter()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 281 static jobject makeStructPasswd(JNIEnv* env, const struct passwd& pw) { in makeStructPasswd() argument 282 TO_JAVA_STRING(pw_name, pw.pw_name); in makeStructPasswd() 283 TO_JAVA_STRING(pw_dir, pw.pw_dir); in makeStructPasswd() 284 TO_JAVA_STRING(pw_shell, pw.pw_shell); in makeStructPasswd() 288 pw_name, static_cast<jint>(pw.pw_uid), static_cast<jint>(pw.pw_gid), pw_dir, pw_shell); in makeStructPasswd()
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |