Lines Matching refs:parse
56 let pid_ul = match s.parse::<u64>() { in parse_pid()
110 let ret: i32 = match s.parse::<i32>() { in parse_ifindex()
135 let mtu = match s.parse::<u64>() { in parse_mtu()
183 let integer = integer.parse::<u64>().unwrap(); in parse_size()
184 let fraction = match fraction[1..].parse::<u64>() { in parse_size()
192 None => (number_str.parse::<u64>().unwrap(), 0), in parse_size()
226 let size: u64 = match s.parse::<u64>() { in parse_sector_size()
258 let ret = match s.parse::<u32>() { in parse_range()
272 let l = match l.parse::<u32>() { in parse_range()
279 let r = match r.parse::<u32>() { in parse_range()
298 let fd = match s.parse::<i32>() { in parse_fd()
321 let nice = match s.parse::<i8>() { in parse_nice()
344 let port = match s.parse::<u16>() { in parse_ip_port()
385 let len = match s.parse::<u32>() { in parse_ip_prefix_length()
454 "service" => UnitParser::parse::<ServiceUnit>(path, UnitType::Service)?, in parse_unit_no_type()
455 "target" => UnitParser::parse::<TargetUnit>(path, UnitType::Target)?, in parse_unit_no_type()
456 "timer" => UnitParser::parse::<TimerUnit>(path, UnitType::Timer)?, in parse_unit_no_type()
590 integer = match s[..idx].parse::<u64>() { in parse_sec()
601 frac = match frac_and_unit[..val].parse::<u64>() { in parse_sec()
616 frac = match frac_and_unit.parse::<u64>() { in parse_sec()
634 integer = match s[..idx].parse::<u64>() { in parse_sec()
647 integer = match s.parse::<u64>() { in parse_sec()