Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 4 of 4) sorted by relevance

/DragonReach/src/parse/parse_util/
H A Dmod.rs437 let idx = match path.rfind('.') { in parse_unit_no_type() localVariable
444 if idx == path.len() - 1 { in parse_unit_no_type()
449 let suffix = &path[idx + 1..]; in parse_unit_no_type()
588 Some(idx) => { in parse_sec()
590 integer = match s[..idx].parse::<u64>() { in parse_sec()
597 let frac_and_unit = &s[(idx + 1)..]; in parse_sec()
633 Some(idx) => { in parse_sec()
634 integer = match s[..idx].parse::<u64>() { in parse_sec()
644 unit = &s[idx..]; in parse_sec()
/DragonReach/src/executor/dep_graph/
H A Dmod.rs35 if let Some(idx) = self.value.iter().position(|x| *x == value) { in add_node()
36 return idx; in add_node()
/DragonReach/src/parse/
H A Dmod.rs199 Some(idx) => &path[idx + 1..], in get_reader()
318 Some(idx) => (line[..idx].trim(), line[idx + 1..].trim()), in parse()
/DragonReach/src/parse/graph/
H A Dmod.rs36 if let Some(idx) = self.value.iter().position(|x| *x == *value) { in add_node()
37 return idx; in add_node()