Searched refs:snk (Results 1 – 2 of 2) sorted by relevance
58 public PipedWriter(PipedReader snk) throws IOException { in PipedWriter() argument59 connect(snk); in PipedWriter()91 public synchronized void connect(PipedReader snk) throws IOException { in connect() argument92 if (snk == null) { in connect()94 } else if (sink != null || snk.connected) { in connect()96 } else if (snk.closedByReader || closed) { in connect()100 sink = snk; in connect()101 snk.in = -1; in connect()102 snk.out = 0; in connect()103 snk.connected = true; in connect()
63 public PipedOutputStream(PipedInputStream snk) throws IOException { in PipedOutputStream() argument64 connect(snk); in PipedOutputStream()96 public synchronized void connect(PipedInputStream snk) throws IOException { in connect() argument97 if (snk == null) { in connect()99 } else if (sink != null || snk.connected) { in connect()102 sink = snk; in connect()103 snk.in = -1; in connect()104 snk.out = 0; in connect()105 snk.connected = true; in connect()