Home
last modified time | relevance | path

Searched refs:mio (Results 1 – 25 of 59) sorted by relevance

123

/external/rust/crates/mio/
DCHANGELOG.md6 (https://github.com/tokio-rs/mio/commit/a7e61db9e3c2b929ef1a33532bfcc22045d163ce).
13 (https://github.com/tokio-rs/mio/commit/25e8f911357c740034f10a170dfa4ea1b28234ce).
18 (https://github.com/tokio-rs/mio/commit/aec872be9732e5c6685100674278be27f54a271b).
20 (https://github.com/tokio-rs/mio/commit/6f86b925d3e48f30905d5cfa54348acf3f1fa036,
21 https://github.com/tokio-rs/mio/commit/8d5414880ab82178305ac1d2c16d715e58633d3e).
23 (https://github.com/tokio-rs/mio/commit/139f7c4422321eb4a17b14ae2c296fddd19a8804).
30 (https://github.com/tokio-rs/mio/commit/175773ce02e85977db81224c782c8d140aba8543).
32 (https://github.com/tokio-rs/mio/commit/b51af46b28871f8dd3233b490ee62237ffed6a26).
39 (https://github.com/tokio-rs/mio/commit/0101e05a800f17fb88f4315d9b9fe0f08cca6e57).
41 (https://github.com/tokio-rs/mio/commit/26540ebbae89df6d4d08465c56f715d8f2addfc3).
[all …]
DMETADATA1 name: "mio"
6 value: "https://crates.io/crates/mio"
10 value: "https://static.crates.io/crates/mio/mio-0.7.11.crate"
DREADME.md12 [crates-badge]: https://img.shields.io/crates/v/mio.svg
13 [crates-url]: https://crates.io/crates/mio
16 [azure-badge]: https://dev.azure.com/tokio-rs/Tokio/_apis/build/status/tokio-rs.mio?branchName=mast…
18 [cirrus-badge]: https://api.cirrus-ci.com/github/tokio-rs/mio.svg
19 [cirrus-url]: https://cirrus-ci.com/github/tokio-rs/mio
23 * [master](https://tokio-rs.github.io/mio/doc/mio/)
24 * [v0.7](https://docs.rs/mio/^0.7)
25 * [v0.6](https://docs.rs/mio/^0.6)
32 To use `mio`, first add this to your `Cargo.toml`:
36 mio = "0.7"
[all …]
DCargo.toml.orig3 name = "mio"
17 documentation = "https://docs.rs/mio/0.7.7"
18 homepage = "https://github.com/tokio-rs/mio"
19 repository = "https://github.com/tokio-rs/mio"
32 # For documentation of features see the `mio::features` module.
41 # Enables `mio::net` module containing networking primitives.
DCargo.toml15 name = "mio"
20 homepage = "https://github.com/tokio-rs/mio"
21 documentation = "https://docs.rs/mio/0.7.7"
26 repository = "https://github.com/tokio-rs/mio"
/external/rust/crates/tokio/
DCargo.toml.orig52 "mio/os-poll",
53 "mio/os-util",
54 "mio/tcp",
55 "mio/udp",
56 "mio/uds",
62 "mio/os-poll",
63 "mio/os-util",
64 "mio/uds",
77 "mio/os-poll",
78 "mio/uds",
[all …]
DCargo.toml40 [dependencies.mio]
93 net = ["libc", "mio/os-poll", "mio/os-util", "mio/tcp", "mio/udp", "mio/uds"]
94 process = ["bytes", "once_cell", "libc", "mio/os-poll", "mio/os-util", "mio/uds", "signal-hook-regi…
97 signal = ["once_cell", "libc", "mio/os-poll", "mio/uds", "mio/os-util", "signal-hook-registry", "wi…
/external/rust/crates/tokio/src/io/driver/
Dmod.rs33 events: Option<mio::Events>,
42 poll: mio::Poll,
69 registry: mio::Registry,
75 waker: mio::Waker,
91 const TOKEN_WAKEUP: mio::Token = mio::Token(1 << 31);
115 let poll = mio::Poll::new()?; in new()
116 let waker = mio::Waker::new(poll.registry(), TOKEN_WAKEUP)?; in new()
124 events: Some(mio::Events::with_capacity(1024)), in new()
182 fn dispatch(&mut self, token: mio::Token, ready: Ready) { in dispatch()
322 source: &mut impl mio::event::Source, in add_source()
[all …]
Dinterest.rs14 pub struct Interest(mio::Interest);
20 pub const READABLE: Interest = Interest(mio::Interest::READABLE);
25 pub const WRITABLE: Interest = Interest(mio::Interest::WRITABLE);
79 pub(crate) const fn to_mio(self) -> mio::Interest { in to_mio()
Dplatform.rs5 use mio::unix::UnixReady;
6 use mio::Ready;
27 use mio::Ready;
/external/rust/crates/tokio/src/net/tcp/
Dsocket.rs85 inner: mio::net::TcpSocket,
120 let inner = mio::net::TcpSocket::new_v4()?; in new_v4()
154 let inner = mio::net::TcpSocket::new_v6()?; in new_v6()
442 let mio = self.inner.connect(addr)?; in connect() localVariable
443 TcpStream::connect_mio(mio).await in connect()
482 let mio = self.inner.listen(backlog)?; in listen() localVariable
483 TcpListener::new(mio) in listen()
509 let inner = mio::net::TcpSocket::from_raw_fd(fd); in from_raw_fd()
544 let inner = mio::net::TcpSocket::from_raw_socket(socket); in from_raw_socket()
Dlistener.rs53 io: PollEvented<mio::net::TcpListener>,
118 let listener = mio::net::TcpListener::bind(addr)?; in bind_addr()
150 let (mio, addr) = self in accept()
156 let stream = TcpStream::new(mio)?; in accept()
218 let io = mio::net::TcpListener::from_std(listener); in from_std()
265 pub(crate) fn new(listener: mio::net::TcpListener) -> io::Result<TcpListener> { in new()
Dstream.rs68 io: PollEvented<mio::net::TcpStream>,
133 let sys = mio::net::TcpStream::connect(addr)?; in connect_addr()
137 pub(crate) async fn connect_mio(sys: mio::net::TcpStream) -> io::Result<TcpStream> { in connect_mio()
155 pub(crate) fn new(connected: mio::net::TcpStream) -> io::Result<TcpStream> { in new()
190 let io = mio::net::TcpStream::from_std(stream); in from_std()
929 fn to_mio(&self) -> mio::net::TcpSocket { in to_mio()
933 unsafe { mio::net::TcpSocket::from_raw_socket(self.as_raw_socket()) } in to_mio()
939 unsafe { mio::net::TcpSocket::from_raw_fd(self.as_raw_fd()) } in to_mio()
/external/rust/crates/tokio/src/process/unix/
Dmod.rs37 use mio::event::Source;
38 use mio::unix::SourceFd;
194 registry: &mio::Registry, in register()
195 token: mio::Token, in register()
196 interest: mio::Interest, in register()
203 registry: &mio::Registry, in reregister()
204 token: mio::Token, in reregister()
205 interest: mio::Interest, in reregister()
210 fn deregister(&mut self, registry: &mio::Registry) -> io::Result<()> { in deregister()
/external/rust/crates/tokio/src/net/unix/
Dlistener.rs48 io: PollEvented<mio::net::UnixListener>,
66 let listener = mio::net::UnixListener::bind(path)?; in bind()
86 let listener = mio::net::UnixListener::from_std(listener); in from_std()
132 let (mio, addr) = self in accept()
139 let stream = UnixStream::new(mio)?; in accept()
Dstream.rs36 io: PollEvented<mio::net::UnixStream>,
50 let stream = mio::net::UnixStream::connect(path)?; in connect()
505 let stream = mio::net::UnixStream::from_std(stream); in from_std()
562 let (a, b) = mio::net::UnixStream::pair()?; in pair()
569 pub(crate) fn new(stream: mio::net::UnixStream) -> io::Result<UnixStream> { in new()
/external/rust/crates/quiche/examples/
Dclient.rs55 let poll = mio::Poll::new().unwrap(); in main()
56 let mut events = mio::Events::with_capacity(1024); in main()
74 let socket = mio::net::UdpSocket::from_socket(socket).unwrap(); in main()
77 mio::Token(0), in main()
78 mio::Ready::readable(), in main()
79 mio::PollOpt::edge(), in main()
Dhttp3-client.rs53 let poll = mio::Poll::new().unwrap(); in main()
54 let mut events = mio::Events::with_capacity(1024); in main()
72 let socket = mio::net::UdpSocket::from_socket(socket).unwrap(); in main()
75 mio::Token(0), in main()
76 mio::Ready::readable(), in main()
77 mio::PollOpt::edge(), in main()
Dserver.rs67 let poll = mio::Poll::new().unwrap(); in main()
68 let mut events = mio::Events::with_capacity(1024); in main()
73 let socket = mio::net::UdpSocket::from_socket(socket).unwrap(); in main()
76 mio::Token(0), in main()
77 mio::Ready::readable(), in main()
78 mio::PollOpt::edge(), in main()
/external/rust/crates/tokio/src/net/unix/datagram/
Dsocket.rs94 io: PollEvented<mio::net::UnixDatagram>,
296 let socket = mio::net::UnixDatagram::bind(path)?; in bind()
330 let (a, b) = mio::net::UnixDatagram::pair()?; in pair()
374 let socket = mio::net::UnixDatagram::from_std(datagram); in from_std()
409 fn new(socket: mio::net::UnixDatagram) -> io::Result<UnixDatagram> { in new()
446 let socket = mio::net::UnixDatagram::unbound()?; in unbound()
/external/rust/crates/tokio/docs/
Dreactor-refactor.md40 ready: mio::Ready,
45 /// the other methods. This is the interest set passed to `mio`.
46 pub fn new<T>(io: &T, interest: mio::Ready) -> io::Result<Registration>
47 where T: mio::Evented;
51 async fn readiness(&self, interest: mio::Ready) -> io::Result<ReadyEvent>;
57 A new registration is created for a `T: mio::Evented` and a `interest`. This
59 with `mio`.
129 interest: mio::Ready,
136 When an I/O event is received from `mio`, the associated resources' readiness is
184 Every time the `mio` `poll()` function is called, the tick is incremented. Each
/external/rust/crates/mio/examples/
Dudp_server.rs4 use mio::net::UdpSocket;
5 use mio::{Events, Interest, Poll, Token};
Dtcp_server.rs3 use mio::event::Event;
4 use mio::net::{TcpListener, TcpStream};
5 use mio::{Events, Interest, Poll, Registry, Token};
/external/rust/crates/async-stream/
DCargo.lock183 name = "mio"
202 name = "mio-named-pipes"
208 "mio",
214 name = "mio-uds"
221 "mio",
439 "mio",
440 "mio-named-pipes",
441 "mio-uds",
/external/icu/icu4c/source/data/locales/
Dsl.txt135 few{"0 mio'.' ¤"}
136 one{"0 mio'.' ¤"}
137 other{"0 mio'.' ¤"}
138 two{"0 mio'.' ¤"}
141 few{"00 mio'.' ¤"}
142 one{"00 mio'.' ¤"}
143 other{"00 mio'.' ¤"}
144 two{"00 mio'.' ¤"}
147 few{"000 mio'.' ¤"}
148 one{"000 mio'.' ¤"}
[all …]

123