/smoltcp-0.9.1/examples/ |
D | utils.rs | 12 use std::str::{self, FromStr}; 22 pub fn setup_logging_with_clock<F>(filter: &str, since_startup: F) in setup_logging_with_clock() argument 63 pub fn setup_logging(filter: &str) { in setup_logging() argument 67 pub fn create_options() -> (Options, Vec<&'static str>) { in create_options() 73 pub fn parse_options(options: &Options, free: Vec<&str>) -> Matches { in parse_options() 94 pub fn add_tuntap_options(opts: &mut Options, _free: &mut [&str]) { in add_tuntap_options() argument 110 pub fn add_middleware_options(opts: &mut Options, _free: &mut [&str]) { in add_middleware_options() argument
|
D | sixlowpan.rs | 47 use std::str; 119 str::from_utf8(data).unwrap(), in main() 130 str::from_utf8(&buffer[..len]).unwrap() in main() 150 str::from_utf8(data.as_ref()).unwrap_or("(invalid utf8)") in main() 160 str::from_utf8(data.as_ref()).unwrap_or("(invalid utf8)") in main()
|
D | client.rs | 5 use std::str::{self, FromStr}; 92 str::from_utf8(data.as_ref()).unwrap_or("(invalid utf8)") in main() 104 str::from_utf8(data.as_ref()).unwrap_or("(invalid utf8)") in main()
|
D | httpclient.rs | 5 use std::str::{self, FromStr}; 105 println!("{}", str::from_utf8(data).unwrap_or("(invalid utf8)")); in main()
|
D | loopback.rs | 9 use core::str; 140 socket.recv(|buffer| { (buffer.len(), str::from_utf8(buffer).unwrap()) }) in main()
|
D | sixlowpan_benchmark.rs | 47 use std::str; 65 fn if_nametoindex(ifname: &str) -> u32 { in if_nametoindex()
|
D | ping.rs | 8 use std::str::FromStr;
|
/smoltcp-0.9.1/src/wire/ |
D | pretty_print.rs | 50 prefix: &'static str, 57 pub fn new(prefix: &'static str) -> PrettyIndent { in new() 95 prefix: &'static str, 102 pub fn new(prefix: &'static str, buffer: &'a dyn AsRef<[u8]>) -> PrettyPrinter<'a, T> { in new() argument
|
D | dhcpv4.rs | 398 pub fn get_sname(&self) -> Result<&str> { in get_sname() argument 405 let data = core::str::from_utf8(&data[..len]).map_err(|_| Error)?; in get_sname() 409 pub fn get_boot_file(&self) -> Result<&str> { in get_boot_file() argument 415 let data = core::str::from_utf8(&data[..len]).map_err(|_| Error)?; in get_boot_file()
|
/smoltcp-0.9.1/fuzz/ |
D | utils.rs | 10 use std::str::{self, FromStr}; 17 pub fn create_options() -> (Options, Vec<&'static str>) { in create_options() 23 pub fn parse_options(options: &Options, free: Vec<&str>) -> Matches { in parse_options() 48 pub fn add_middleware_options(opts: &mut Options, _free: &mut Vec<&str>) { in add_middleware_options() argument
|
/smoltcp-0.9.1/src/ |
D | parsers.rs | 7 use core::str::FromStr; 25 fn new(data: &'a str) -> Parser<'a> { in new() 381 fn from_str(s: &str) -> Result<EthernetAddress> { in from_str() 391 fn from_str(s: &str) -> Result<Ipv4Address> { in from_str() 401 fn from_str(s: &str) -> Result<Ipv6Address> { in from_str() 410 fn from_str(s: &str) -> Result<IpAddress> { in from_str() 420 fn from_str(s: &str) -> Result<Ipv4Cidr> { in from_str() 435 fn from_str(s: &str) -> Result<Ipv6Cidr> { in from_str() 450 fn from_str(s: &str) -> Result<IpCidr> { in from_str() 472 fn from_str(s: &str) -> Result<IpEndpoint> { in from_str()
|
/smoltcp-0.9.1/ |
D | build.rs | 6 static CONFIGS: &[(&str, usize)] = &[
|
/smoltcp-0.9.1/utils/ |
D | packet2pcap.rs | 26 fn print_usage(program: &str, opts: Options) { in print_usage() argument
|
/smoltcp-0.9.1/src/phy/sys/ |
D | raw_socket.rs | 20 pub fn new(name: &str, medium: Medium) -> io::Result<RawSocketDesc> { in new() argument
|
D | tuntap_interface.rs | 20 pub fn new(name: &str, medium: Medium) -> io::Result<TunTapInterfaceDesc> { in new() argument
|
D | mod.rs | 108 fn ifreq_for(name: &str) -> ifreq { in ifreq_for()
|
D | bpf.rs | 71 pub fn new(name: &str, _medium: Medium) -> io::Result<BpfDevice> { in new() argument
|
/smoltcp-0.9.1/src/phy/ |
D | tuntap_interface.rs | 30 pub fn new(name: &str, medium: Medium) -> io::Result<TunTapInterface> { in new() argument
|
D | raw_socket.rs | 29 pub fn new(name: &str, medium: Medium) -> io::Result<RawSocket> { in new() argument
|
D | tracer.rs | 144 prefix: &'static str,
|
/smoltcp-0.9.1/src/socket/ |
D | dns.rs | 201 name: &str, in start_query() argument
|
D | tcp.rs | 2282 fn write_str(&mut self, slice: &str) -> fmt::Result { in write_str()
|