Home
last modified time | relevance | path

Searched refs:do_io (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/mio/src/net/uds/
Dstream.rs76 self.inner.do_io(|inner| (&*inner).read(buf)) in read()
80 self.inner.do_io(|inner| (&*inner).read_vectored(bufs)) in read_vectored()
86 self.inner.do_io(|inner| (&*inner).read(buf)) in read()
90 self.inner.do_io(|inner| (&*inner).read_vectored(bufs)) in read_vectored()
96 self.inner.do_io(|inner| (&*inner).write(buf)) in write()
100 self.inner.do_io(|inner| (&*inner).write_vectored(bufs)) in write_vectored()
104 self.inner.do_io(|inner| (&*inner).flush()) in flush()
110 self.inner.do_io(|inner| (&*inner).write(buf)) in write()
114 self.inner.do_io(|inner| (&*inner).write_vectored(bufs)) in write_vectored()
118 self.inner.do_io(|inner| (&*inner).flush()) in flush()
Ddatagram.rs71 .do_io(|inner| sys::uds::datagram::recv_from(inner, buf)) in recv_from()
78 self.inner.do_io(|inner| inner.recv(buf)) in recv()
85 self.inner.do_io(|inner| inner.send_to(buf, path)) in send_to()
95 self.inner.do_io(|inner| inner.send(buf)) in send()
/external/rust/crates/mio/src/net/tcp/
Dstream.rs177 self.inner.do_io(|inner| (&*inner).read(buf)) in read()
181 self.inner.do_io(|inner| (&*inner).read_vectored(bufs)) in read_vectored()
187 self.inner.do_io(|inner| (&*inner).read(buf)) in read()
191 self.inner.do_io(|inner| (&*inner).read_vectored(bufs)) in read_vectored()
197 self.inner.do_io(|inner| (&*inner).write(buf)) in write()
201 self.inner.do_io(|inner| (&*inner).write_vectored(bufs)) in write_vectored()
205 self.inner.do_io(|inner| (&*inner).flush()) in flush()
211 self.inner.do_io(|inner| (&*inner).write(buf)) in write()
215 self.inner.do_io(|inner| (&*inner).write_vectored(bufs)) in write_vectored()
219 self.inner.do_io(|inner| (&*inner).flush()) in flush()
Dlistener.rs90 self.inner.do_io(|inner| { in accept()
/external/rust/crates/mio/src/sys/unix/
Dpipe.rs247 self.inner.do_io(|sender| (&*sender).write(buf)) in write()
251 self.inner.do_io(|sender| (&*sender).write_vectored(bufs)) in write_vectored()
255 self.inner.do_io(|sender| (&*sender).flush()) in flush()
261 self.inner.do_io(|sender| (&*sender).write(buf)) in write()
265 self.inner.do_io(|sender| (&*sender).write_vectored(bufs)) in write_vectored()
269 self.inner.do_io(|sender| (&*sender).flush()) in flush()
344 self.inner.do_io(|sender| (&*sender).read(buf)) in read()
348 self.inner.do_io(|sender| (&*sender).read_vectored(bufs)) in read_vectored()
354 self.inner.do_io(|sender| (&*sender).read(buf)) in read()
358 self.inner.do_io(|sender| (&*sender).read_vectored(bufs)) in read_vectored()
Dmod.rs46 pub fn do_io<T, F, R>(&self, f: F, io: &T) -> io::Result<R>
/external/rust/crates/mio/src/net/
Dudp.rs189 self.inner.do_io(|inner| inner.send_to(buf, target)) in send_to()
224 self.inner.do_io(|inner| inner.recv_from(buf)) in recv_from()
260 self.inner.do_io(|inner| inner.peek_from(buf)) in peek_from()
266 self.inner.do_io(|inner| inner.send(buf)) in send()
280 self.inner.do_io(|inner| inner.recv(buf)) in recv()
294 self.inner.do_io(|inner| inner.peek(buf)) in peek()
/external/rust/crates/mio/src/
Dio_source.rs90 pub fn do_io<F, R>(&self, f: F) -> io::Result<R> in do_io() method
94 self.state.do_io(f, &self.inner) in do_io()
/external/rust/crates/mio/src/sys/shell/
Dmod.rs35 pub fn do_io<T, F, R>(&self, f: F, io: &T) -> io::Result<R>
/external/ltp/tools/genload/
Dstress.c98 int do_io = 0; /* Default to 1 fork. */ in main() local
166 do_io = 1; in main()
218 if (do_io) { in main()
Dgenload.c98 int do_io = 0; /* Default to 1 fork. */ in main() local
166 do_io = 1; in main()
218 if (do_io) { in main()
/external/rust/crates/mio/src/sys/windows/
Dmod.rs77 pub fn do_io<T, F, R>(&self, f: F, io: &T) -> io::Result<R>