Home
last modified time | relevance | path

Searched refs:advance_by (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/clap/clap_lex/tests/
Dshorts.rs84 assert_eq!(shorts.advance_by(0), Ok(())); in advance_by_nothing()
98 assert_eq!(shorts.advance_by(2), Ok(())); in advance_by_something()
112 assert_eq!(shorts.advance_by(2000), Err(5)); in advance_by_out_of_bounds()
136 shorts.advance_by(1).unwrap(); in is_partial_not_empty()
148 shorts.advance_by(20000).unwrap_err(); in is_exhausted_empty()
/third_party/rust/crates/clap/clap_lex/src/
Dlib.rs419 pub fn advance_by(&mut self, n: usize) -> Result<(), usize> { in advance_by() method
/third_party/rust/crates/clap/src/parser/
Dparser.rs894 let res = short_arg.advance_by(skip); in parse_short_arg()