Searched refs:next_os (Results 1 – 6 of 6) sorted by relevance
/third_party/rust/crates/clap/clap_lex/tests/ |
D | parsed.rs | 7 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_stdio() 19 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_no_escape() 31 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_no_value() 45 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_with_empty_value() 59 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_with_value() 73 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short_stdio() 85 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short_escape() 97 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short_long() 109 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short() 123 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_negative_number() [all …]
|
D | lexer.rs | 6 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in insert() 7 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("a"))); in insert() 9 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("1"))); in insert() 10 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("2"))); in insert() 11 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("3"))); in insert() 12 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("b"))); in insert() 13 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("c"))); in insert()
|
D | shorts.rs | 5 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in iter() 17 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in next_flag() 36 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in next_value_os() 49 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in next_flag_with_value() 63 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in next_flag_with_no_value() 80 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in advance_by_nothing() 94 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in advance_by_something() 108 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in advance_by_out_of_bounds() 122 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_not_empty() 133 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_partial_not_empty() [all …]
|
/third_party/rust/crates/clap/clap_lex/src/ |
D | lib.rs | 181 self.next_os(cursor).map(ParsedArg::new) in next() 185 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os() method
|
/third_party/rust/crates/clap/clap_complete/src/ |
D | dynamic.rs | 308 raw_args.next_os(&mut target_cursor); in complete() 312 raw_args.next_os(&mut cursor); in complete()
|
/third_party/rust/crates/clap/src/builder/ |
D | command.rs | 667 if let Some(argv0) = raw_args.next_os(&mut cursor) { in try_get_matches_from_mut() 695 if let Some(name) = raw_args.next_os(&mut cursor) { in try_get_matches_from_mut()
|