Searched refs:idx (Results 1 – 4 of 4) sorted by relevance
437 let idx = match path.rfind('.') { in parse_unit_no_type() localVariable444 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()
35 if let Some(idx) = self.value.iter().position(|x| *x == value) { in add_node()36 return idx; in add_node()
199 Some(idx) => &path[idx + 1..], in get_reader()318 Some(idx) => (line[..idx].trim(), line[idx + 1..].trim()), in parse()
36 if let Some(idx) = self.value.iter().position(|x| *x == *value) { in add_node()37 return idx; in add_node()