Lines Matching defs:in
9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
39 public static char[] readPassword(InputStream in) throws IOException {
40 return readPassword(in, false);
46 public static char[] readPassword(InputStream in, boolean isEchoOn)
55 if (!isEchoOn && in == System.in && ((con = System.console()) != null)) {
63 in = new ByteArrayInputStream(consoleBytes);
81 switch (c = in.read()) {
88 int c2 = in.read();
90 if (!(in instanceof PushbackInputStream)) {
91 in = new PushbackInputStream(in);
93 ((PushbackInputStream)in).unread(c2);