Lines Matching refs:block
103 pub fn input(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in input()
105 let val = self.write_stdin(buf, block)?; in input()
120 pub fn output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in output()
121 return self.read_output(buf, block); in output()
131 pub fn stdout(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stdout()
132 return self.write_output(buf, block); in stdout()
142 pub fn stderr(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stderr()
143 return self.write_output(buf, block); in stderr()
153 pub fn read_stdin(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_stdin()
162 if block { in read_stdin()
187 fn write_stdin(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_stdin()
195 if block { in write_stdin()
219 fn read_output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_output()
227 if block { in read_output()
252 fn write_output(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_output()
260 if block { in write_output()