/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/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | BasicAuthentication.java | 57 String realm, PasswordAuthentication pw) { in BasicAuthentication() argument 60 String plain = pw.getUserName() + ":"; in BasicAuthentication() 69 char[] passwd = pw.getPassword(); in BasicAuthentication() 80 this.pw = pw; in BasicAuthentication() 97 PasswordAuthentication pw) { in BasicAuthentication() argument 100 String plain = pw.getUserName() + ":"; in BasicAuthentication() 109 char[] passwd = pw.getPassword(); in BasicAuthentication() 120 this.pw = pw; in BasicAuthentication()
|
D | NTLMAuthenticationProxy.java | 60 PasswordAuthentication pw) { in create() argument 62 return threeArgCtr.newInstance(isProxy, url, pw); in create() 73 PasswordAuthentication pw) { in create() argument 75 return fiveArgCtr.newInstance(isProxy, host, port, pw); in create()
|
D | DigestAuthentication.java | 176 String authMethod, PasswordAuthentication pw, in DigestAuthentication() argument 183 this.pw = pw; in DigestAuthentication() 188 String authMethod, PasswordAuthentication pw, in DigestAuthentication() argument 196 this.pw = pw; in DigestAuthentication() 293 if (params.nonce == null || authMethod == null || pw == null || realm == null) { in setHeaders() 331 char[] passwd = pw.getPassword(); in getHeaderValueImpl() 349 response = computeDigest(true, pw.getUserName(),passwd,realm, in getHeaderValueImpl() 361 + " username=\"" + pw.getUserName() in getHeaderValueImpl() 388 char[] passwd = pw.getPassword(); in checkResponse() 389 String username = pw.getUserName(); in checkResponse()
|
D | AuthenticationInfo.java | 75 transient protected PasswordAuthentication pw; field in AuthenticationInfo 78 return pw; in credentials() 439 pw = new PasswordAuthentication (s1, s2.toCharArray()); in readObject() 446 s1 = pw.getUserName(); in writeObject() 447 s2 = new String (pw.getPassword()); in writeObject()
|
D | HttpURLConnection.java | 1520 PasswordAuthentication pw = srv.pw; 1528 false, u, realm, "Digest", pw, digestparams);
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SimpleFormatter.java | 155 PrintWriter pw = new PrintWriter(sw); in format() local 156 pw.println(); in format() 157 record.getThrown().printStackTrace(pw); in format() 158 pw.close(); 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/ojluni/src/main/java/java/io/ |
D | Console.java | 102 return pw; in writer() 247 pw.format(fmt, args); in readLine() 318 pw.format(fmt, args); in readPassword() 334 pw.println(); in readPassword() 359 pw.flush(); in flush() 366 private PrintWriter pw; field in Console 552 pw = new PrintWriter(out, true) { public void close() {} }; in Console()
|
D | PrintWriter.java | 360 PrintWriter pw = (PrintWriter) out; in checkError() local 361 return pw.checkError(); in checkError()
|
/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/ojluni/src/main/java/sun/util/logging/ |
D | PlatformLogger.java | 565 PrintWriter pw = new PrintWriter(sw); in format() local 566 pw.println(); in format() 567 thrown.printStackTrace(pw); in format() 568 pw.close(); in format()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocksSocketImpl.java | 158 PasswordAuthentication pw = in authenticate() local 166 if (pw != null) { in authenticate() 167 userName = pw.getUserName(); in authenticate() 168 password = new String(pw.getPassword()); in authenticate()
|
/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/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | OpTestCase.java | 426 PrintWriter pw = new PrintWriter(sw); in exercise() local 428 t.getCause().printStackTrace(pw); in exercise() 429 pw.flush(); in exercise()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | OpTestCase.java | 427 PrintWriter pw = new PrintWriter(sw); in exercise() local 429 t.getCause().printStackTrace(pw); in exercise() 430 pw.flush(); in exercise()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 411 static jobject makeStructPasswd(JNIEnv* env, const struct passwd& pw) { in makeStructPasswd() argument 412 TO_JAVA_STRING(pw_name, pw.pw_name); in makeStructPasswd() 413 TO_JAVA_STRING(pw_dir, pw.pw_dir); in makeStructPasswd() 414 TO_JAVA_STRING(pw_shell, pw.pw_shell); in makeStructPasswd() 418 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/ ... |