Lines Matching refs:block
105 pub fn input(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in input()
107 let val = self.write_stdin(buf, block)?; in input()
122 pub fn output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in output()
123 return self.read_output(buf, block); in output()
133 pub fn stdout(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stdout()
134 return self.write_output(buf, block); in stdout()
144 pub fn stderr(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stderr()
145 return self.write_output(buf, block); in stderr()
155 pub fn read_stdin(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_stdin()
164 if block { in read_stdin()
199 fn write_stdin(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_stdin()
207 if block { in write_stdin()
231 fn read_output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_output()
239 if block { in read_output()
264 fn write_output(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_output()
272 if block { in write_output()