Home
last modified time | relevance | path

Searched refs:snk (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DPipedWriter.java58 public PipedWriter(PipedReader snk) throws IOException { in PipedWriter() argument
59 connect(snk); in PipedWriter()
91 public synchronized void connect(PipedReader snk) throws IOException { in connect() argument
92 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()
DPipedOutputStream.java63 public PipedOutputStream(PipedInputStream snk) throws IOException { in PipedOutputStream() argument
64 connect(snk); in PipedOutputStream()
96 public synchronized void connect(PipedInputStream snk) throws IOException { in connect() argument
97 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()