Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 5 of 5) sorted by relevance

/DragonReach/src/
H A Dcontants.rs3 pub const AF_INET: i32 = 2;
4 pub const AF_INET6: i32 = 10;
/DragonReach/src/parse/parse_util/
H A Dmod.rs53 pub fn parse_pid(s: &str) -> Result<i32, ParseError> { in parse_pid() argument
62 let pid: i32 = pid_ul as i32; in parse_pid()
108 pub fn parse_ifindex(s: &str) -> Result<i32, ParseError> { in parse_ifindex() argument
110 let ret: i32 = match s.parse::<i32>() { in parse_ifindex()
133 pub fn parse_mtu(s: &str, family: i32) -> Result<u32, ParseError> { in parse_mtu()
298 let fd = match s.parse::<i32>() { in parse_fd()
/DragonReach/src/error/parse_error/
H A Dmod.rs3 #[repr(i32)]
/DragonReach/src/executor/
H A Dmod.rs27 pub fn from_exit_code(exit_code: i32) -> Self { in from_exit_code()
/DragonReach/src/systemctl/ctl_parser/
H A Dmod.rs109 Lines(i32),
356 Pattern::Lines(_) => match words[1].parse::<i32>() { in parse_pattern()