Home
last modified time | relevance | path

Searched refs:mock (Results 1 – 9 of 9) sorted by relevance

/smoltcp-0.9.1/src/socket/
Draw.rs511 let mut cx = Context::mock();
547 let mut cx = Context::mock();
560 let mut cx = Context::mock();
572 let mut cx = Context::mock();
612 let mut cx = Context::mock(); in test_send_illegal()
635 let mut cx = Context::mock(); in test_send_illegal()
663 let mut cx = Context::mock(); in test_recv_process()
690 let mut cx = Context::mock(); in test_recv_process()
717 let mut cx = Context::mock(); in test_peek_process()
743 let mut cx = Context::mock(); in test_peek_process()
Dudp.rs632 let mut cx = Context::mock(); in test_send_dispatch()
675 let mut cx = Context::mock(); in test_recv_process()
696 let mut cx = Context::mock(); in test_peek_process()
711 let mut cx = Context::mock(); in test_recv_truncated_slice()
726 let mut cx = Context::mock(); in test_peek_truncated_slice()
743 let mut cx = Context::mock(); in test_set_hop_limit()
770 let mut cx = Context::mock(); in test_doesnt_accept_wrong_port()
782 let mut cx = Context::mock(); in test_doesnt_accept_wrong_ip()
811 let mut cx = Context::mock(); in test_process_empty_payload()
Dicmp.rs660 let mut cx = Context::mock(); in test_send_dispatch()
715 let mut cx = Context::mock(); in test_set_hop_limit_v4()
749 let mut cx = Context::mock(); in test_recv_process()
776 let mut cx = Context::mock(); in test_accept_bad_id()
797 let mut cx = Context::mock(); in test_accepts_udp()
902 let mut cx = Context::mock(); in test_send_dispatch()
962 let mut cx = Context::mock(); in test_set_hop_limit()
1001 let mut cx = Context::mock(); in test_recv_process()
1033 let mut cx = Context::mock(); in test_accept_bad_id()
1059 let mut cx = Context::mock(); in test_accepts_udp()
Ddhcpv4.rs982 cx: Context::mock(), in socket()
993 cx: Context::mock(), in socket_different_port()
Dtcp.rs2542 let cx = Context::mock(); in socket_with_buffer_sizes()
/smoltcp-0.9.1/examples/
Dloopback.rs19 mod mock { module
43 mod mock { module
70 let clock = mock::Clock::new(); in main()
/smoltcp-0.9.1/src/iface/
Droute.rs164 mod mock { module
192 mod mock { module
208 use self::mock::*;
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs14 mod mock { module
115 let clock = mock::Clock::new();
/smoltcp-0.9.1/src/iface/interface/
Dmod.rs1113 pub(crate) fn mock() -> Self { in mock() method