Home
last modified time | relevance | path

Searched refs:result (Results 1 – 20 of 20) sorted by relevance

/smoltcp-0.9.1/examples/
Dbenchmark.rs38 let result = match kind { in client() localVariable
42 match result { in client()
44 Ok(result) => { in client()
46 processed += result in client()
Dsixlowpan_benchmark.rs102 let result = match kind { in client() localVariable
106 match result { in client()
108 Ok(result) => { in client()
110 processed += result in client()
/smoltcp-0.9.1/
DCargo.toml196 dns-max-result-count-1 = [] # Default
197 dns-max-result-count-2 = []
198 dns-max-result-count-3 = []
199 dns-max-result-count-4 = []
200 dns-max-result-count-8 = []
201 dns-max-result-count-16 = []
202 dns-max-result-count-32 = []
DREADME.md505 A typical result (achieved on a Intel Core i7-7500U CPU and a Linux 4.9.65 x86_64 kernel running
/smoltcp-0.9.1/src/phy/
Dloopback.rs84 let result = f(&mut buffer); in consume() localVariable
86 result in consume()
Dtuntap_interface.rs104 let result = f(&mut buffer); in consume() localVariable
112 result in consume()
Draw_socket.rs122 let result = f(&mut buffer); in consume() localVariable
130 result in consume()
Dfuzz_injector.rs116 let result = f(buf); in consume() localVariable
118 result in consume()
Dtracer.rs127 let result = f(buffer); in consume() localVariable
136 result in consume()
Dpcap_writer.rs250 let result = f(buffer); in consume() localVariable
257 result in consume()
/smoltcp-0.9.1/src/storage/
Dring_buffer.rs193 let (size, result) = f(&mut self.storage[write_at..write_at + max_size]); in enqueue_many_with()
196 (size, result) in enqueue_many_with()
245 let (size, result) = f(&mut self.storage[self.read_at..self.read_at + max_size]); in dequeue_many_with()
253 (size, result) in dequeue_many_with()
/smoltcp-0.9.1/src/iface/interface/
Dethernet.rs7 use core::result::Result;
Digmp.rs6 use core::result::Result;
Dmod.rs25 use core::result::Result;
926 let result = match &mut item.socket { in socket_egress() localVariable
964 match result { in socket_egress()
Dtests.rs1475 let result = iface.inner.process_sixlowpan( in test_echo_request_sixlowpan_128_bytes() localVariable
1483 result, in test_echo_request_sixlowpan_128_bytes()
1518 result.unwrap(), in test_echo_request_sixlowpan_128_bytes()
Dsixlowpan.rs164 ) -> core::result::Result<usize, crate::wire::Error> { in decompress_sixlowpan()
/smoltcp-0.9.1/src/socket/
Dtcp.rs1008 let (size, result) = f(&mut self.tx_buffer); in send_impl()
1017 Ok(result) in send_impl()
1066 let (size, result) = f(&mut self.rx_buffer); in recv_impl()
1076 Ok(result) in recv_impl()
2452 let result = socket in recv() localVariable
2464 match result { in recv()
2473 let result: Result<(), ()> = socket in recv_nothing() localVariable
2479 assert_eq!(result, Ok(())) in recv_nothing()
2485 ($socket:ident, $repr:expr, $result:expr) =>
2486 (send!($socket, time 0, $repr, $result));
[all …]
/smoltcp-0.9.1/src/
Dparsers.rs6 use core::result;
17 type Result<T> = result::Result<T, ()>;
/smoltcp-0.9.1/src/wire/
Dtcp.rs55 let result = self.0.wrapping_sub(rhs.0); in sub() localVariable
56 if result < 0 { in sub()
59 result as usize in sub()
Dmod.rs272 pub type Result<T> = core::result::Result<T, Error>;