/openjdk7/jdk/test/java/rmi/testlibrary/ |
H A D | TestFailedException.java | 71 public void printStackTrace(java.io.PrintWriter pw) argument 74 super.printStackTrace(pw); 76 synchronized(pw) { 77 pw.println(this); 78 detail.printStackTrace(pw);
|
/openjdk7/jdk/test/java/util/Hashtable/ |
H A D | SimpleSerialization.java | 82 try (PrintWriter pw = new PrintWriter(sw)) { 83 pw.println("Test FAILED: Deserialized object is not equal to the original object"); 84 pw.print("\tOriginal: "); 85 printObject(pw, orig).println(); 86 pw.print("\tCopy: "); 87 printObject(pw, copy).println(); 92 private static PrintWriter printObject(final PrintWriter pw, final Object o) { argument 93 pw.printf("%s@%08x", o.getClass().getName(), System.identityHashCode(o)); 94 return pw;
|
/openjdk7/jdk/test/java/util/Vector/ |
H A D | SimpleSerialization.java | 71 final PrintWriter pw = new PrintWriter(sw); 73 pw.println("Test FAILED: Deserialized object is not equal to the original object"); 74 pw.print("\tOriginal: "); 75 printObject(pw, orig).println(); 76 pw.print("\tCopy: "); 77 printObject(pw, copy).println(); 79 pw.close(); 83 private static PrintWriter printObject(final PrintWriter pw, final Object o) { argument 84 pw.printf("%s@%08x", o.getClass().getName(), System.identityHashCode(o)); 85 return pw; [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthComboPopup.java | 75 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument 84 pw - i.left - i.right, 88 return super.computePopupBounds(px, py, pw, ph);
|
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/ |
H A D | CramMD5Client.java | 55 * @param pw A non-null String or byte[] 58 CramMD5Client(String authID, byte[] pw) throws SaslException { argument 59 if (authID == null || pw == null) { 65 this.pw = pw; // caller should have already cloned 109 String digest = HMAC_MD5(pw, challengeData);
|
H A D | CramMD5Base.java | 46 protected byte[] pw; field in class:CramMD5Base 129 if (pw != null) { 131 for (int i = 0; i < pw.length; i++) { 132 pw[i] = (byte)0; 134 pw = null;
|
H A D | PlainClient.java | 39 private byte[] pw; field in class:PlainClient 52 * being authenticated. pw is associated with with this principal. 53 * @param pw A non-null byte[] containing the password. 55 PlainClient(String authorizationID, String authenticationID, byte[] pw) argument 57 if (authenticationID == null || pw == null) { 64 this.pw = pw; // caller should have already cloned 108 byte[] answer = new byte[pw.length + auth.length + 2 + 122 System.arraycopy(pw, 0, answer, pos, pw [all...] |
/openjdk7/jdk/test/java/io/Serializable/oldTests/ |
H A D | CheckForException.java | 111 private void writeObject(ObjectOutputStream pw) throws IOException { argument 112 pw.writeUTF("PickleClass"); 113 pw.writeInt(ii); 132 private void writeObject(ObjectOutputStream pw) argument 149 private void writeObject(ObjectOutputStream pw) throws IOException { argument 150 pw.writeInt(i);
|
H A D | ValidateClass.java | 85 private void writeObject(ObjectOutputStream pw) throws IOException { argument 86 pw.writeInt(i); 110 private void writeObject(ObjectOutputStream pw) throws IOException { argument 111 pw.writeInt(priority); 112 pw.writeObject(next);
|
H A D | CheckingEquality.java | 131 private void writeObject(ObjectOutputStream pw) throws IOException { argument 132 pw.writeObject(quatre); 133 pw.writeInt(cinq);
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | DefaultErrorHandler.java | 58 public DefaultErrorHandler(PrintWriter pw) argument 60 m_pw = pw; 66 public DefaultErrorHandler(PrintStream pw) argument 68 m_pw = new PrintWriter(pw, true); 291 public static void printLocation(PrintStream pw, TransformerException exception) argument 293 printLocation(new PrintWriter(pw), exception); 296 public static void printLocation(java.io.PrintStream pw, org.xml.sax.SAXParseException exception) argument 298 printLocation(new PrintWriter(pw), exception); 301 public static void printLocation(PrintWriter pw, Throwable exception) argument 338 pw [all...] |
H A D | ListingErrorHandler.java | 63 public ListingErrorHandler(PrintWriter pw) argument 65 if (null == pw) 69 m_pw = pw; 281 * @param pw PrintWriter to send output to 285 public static void logExceptionLocation(PrintWriter pw, Throwable exception) argument 287 if (null == pw) 288 pw = new PrintWriter(System.err, true); 337 pw.print(id + ":Line=" + locator.getLineNumber() 339 pw.println("exception:" + exception.getMessage()); 340 pw 362 logSourceLine(PrintWriter pw, SourceLocator locator) argument [all...] |
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | BasicTest3.java | 100 PasswordAuthentication pw; field in class:BasicTest3.MyAuthenticator3 103 pw = new PasswordAuthentication ("user", "passwordNotCheckedAnyway".toCharArray()); 109 return pw; 113 if (!new String (pw.getPassword()).equals ("passwordNotCheckedAnyway")) { 114 throw new RuntimeException ("Password was \"" + new String (pw.getPassword()) + "\"");
|
/openjdk7/jdk/test/java/util/EnumMap/ |
H A D | SimpleSerialization.java | 73 final PrintWriter pw = new PrintWriter(sw); 75 pw.println("Test FAILED: Deserialized object is not equal to the original object"); 76 pw.print("\tOriginal: "); 77 printObject(pw, orig).println(); 78 pw.print("\tCopy: "); 79 printObject(pw, copy).println(); 81 pw.close(); 85 private static PrintWriter printObject(final PrintWriter pw, final Object o) { argument 86 pw.printf("%s@%08x", o.getClass().getName(), System.identityHashCode(o)); 87 return pw; [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/sasl/ |
H A D | LdapSasl.java | 84 * @param pw Possibly null password; can be byte[], char[] or String 93 String server, String dn, Object pw, 104 cbh = new DefaultCallbackHandler(dn, pw, (String)env.get(SASL_REALM)); 92 saslBind(LdapClient clnt, Connection conn, String server, String dn, Object pw, String authMech, Hashtable env, Control[] bindCtls) argument
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | Node.java | 104 public abstract void write(PrintWriter pw); argument
|
H A D | ResultSet.java | 168 public void write(PrintWriter pw) { argument 169 pw.println("<result-set version=\"0.1\" name=\""+title+"\">"); 170 pw.println(" <test-desc>"+description+"</test-desc>"); 171 pw.println(" <test-date start=\""+start+"\" end=\""+end+"\"/>"); 174 pw.println(" <sys-prop key=\""+key+ 181 pw.println(" <sys-prop key=\""+key+ 186 ((Result) results.elementAt(i)).write(pw); 188 pw.println("</result-set>");
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | BasicAuthentication.java | 57 String realm, PasswordAuthentication pw) { 60 String plain = pw.getUserName() + ":"; 69 char[] passwd = pw.getPassword(); 80 this.pw = pw; 97 PasswordAuthentication pw) { 100 String plain = pw.getUserName() + ":"; 109 char[] passwd = pw.getPassword(); 120 this.pw = pw; 56 BasicAuthentication(boolean isProxy, String host, int port, String realm, PasswordAuthentication pw) argument 96 BasicAuthentication(boolean isProxy, URL url, String realm, PasswordAuthentication pw) argument [all...] |
H A D | NTLMAuthenticationProxy.java | 60 PasswordAuthentication pw) { 62 return threeArgCtr.newInstance(isProxy, url, pw); 73 PasswordAuthentication pw) { 75 return fiveArgCtr.newInstance(isProxy, host, port, pw); 58 create(boolean isProxy, URL url, PasswordAuthentication pw) argument 70 create(boolean isProxy, String host, int port, PasswordAuthentication pw) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | TablePrintable.java | 447 * @param pw the width of the area to print in 450 private void findNextClip(int pw, int ph) { argument 517 } while (clip.width + colWidth <= pw);
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | Console.java | 101 return pw; 246 pw.format(fmt, args); 317 pw.format(fmt, args); 333 pw.println(); 358 pw.flush(); 365 private PrintWriter pw; field in class:Console 570 pw = new PrintWriter(out, true) { public void close() {} };
|
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/ |
H A D | Crypt.java | 292 * @param pw the password to "encrypt". 301 public synchronized byte[] crypt(byte[] pw, byte[] salt) { argument 311 for(i=0; pwi < pw.length && i < 64; pwi++) { 312 c = pw[pwi];
|
/openjdk7/jdk/make/tools/src/build/tools/hasher/ |
H A D | Hasher.java | 235 void genEntry(Object[] a, int depth, PrintWriter pw) { argument 237 pw.print("new Object[] { \"" + a[0] + "\", " + v); 239 pw.print(" }"); 242 pw.println(","); 243 pw.print(ind + " "); 245 pw.print(" "); 246 genEntry((Object[])a[2], depth + 1, pw); 247 pw.print(" }"); 255 PrintWriter pw 262 pw [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaComboBoxPopup.java | 230 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument 250 if (scrBounds == null) return super.computePopupBounds(px, py, pw, ph); 258 pw += 15; 262 pw += 4; 267 pw = Math.max(minWidth, pw); 274 px = comboBoxBounds.width - pw - comboBoxInsets.right; 293 pw = Math.min(maxWidth, pw); 294 if (pw < minWidt 323 computePopupBoundsForMenu(final int px, final int py, final int pw, final int ph, final int itemCount, final Rectangle scrBounds) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/ |
H A D | NTLMAuthentication.java | 90 public NTLMAuthentication(boolean isProxy, URL url, PasswordAuthentication pw) { argument 95 init (pw); 98 private void init (PasswordAuthentication pw) { argument 99 this.pw = pw; 100 if (pw != null) { 101 String s = pw.getUserName(); 110 password = new String (pw.getPassword()); 124 PasswordAuthentication pw) { 130 init (pw); 123 NTLMAuthentication(boolean isProxy, String host, int port, PasswordAuthentication pw) argument [all...] |