Lines Matching full:raw
5 let raw = clap_lex::RawArgs::new(["bin", "-"]); in to_long_stdio() localVariable
6 let mut cursor = raw.cursor(); in to_long_stdio()
7 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_stdio()
8 let next = raw.next(&mut cursor).unwrap(); in to_long_stdio()
17 let raw = clap_lex::RawArgs::new(["bin", "--"]); in to_long_no_escape() localVariable
18 let mut cursor = raw.cursor(); in to_long_no_escape()
19 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_no_escape()
20 let next = raw.next(&mut cursor).unwrap(); in to_long_no_escape()
29 let raw = clap_lex::RawArgs::new(["bin", "--long"]); in to_long_no_value() localVariable
30 let mut cursor = raw.cursor(); in to_long_no_value()
31 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_no_value()
32 let next = raw.next(&mut cursor).unwrap(); in to_long_no_value()
43 let raw = clap_lex::RawArgs::new(["bin", "--long="]); in to_long_with_empty_value() localVariable
44 let mut cursor = raw.cursor(); in to_long_with_empty_value()
45 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_with_empty_value()
46 let next = raw.next(&mut cursor).unwrap(); in to_long_with_empty_value()
57 let raw = clap_lex::RawArgs::new(["bin", "--long=hello"]); in to_long_with_value() localVariable
58 let mut cursor = raw.cursor(); in to_long_with_value()
59 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_long_with_value()
60 let next = raw.next(&mut cursor).unwrap(); in to_long_with_value()
71 let raw = clap_lex::RawArgs::new(["bin", "-"]); in to_short_stdio() localVariable
72 let mut cursor = raw.cursor(); in to_short_stdio()
73 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short_stdio()
74 let next = raw.next(&mut cursor).unwrap(); in to_short_stdio()
83 let raw = clap_lex::RawArgs::new(["bin", "--"]); in to_short_escape() localVariable
84 let mut cursor = raw.cursor(); in to_short_escape()
85 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short_escape()
86 let next = raw.next(&mut cursor).unwrap(); in to_short_escape()
95 let raw = clap_lex::RawArgs::new(["bin", "--long"]); in to_short_long() localVariable
96 let mut cursor = raw.cursor(); in to_short_long()
97 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short_long()
98 let next = raw.next(&mut cursor).unwrap(); in to_short_long()
107 let raw = clap_lex::RawArgs::new(["bin", "-short"]); in to_short() localVariable
108 let mut cursor = raw.cursor(); in to_short()
109 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in to_short()
110 let next = raw.next(&mut cursor).unwrap(); in to_short()
121 let raw = clap_lex::RawArgs::new(["bin", "-10.0"]); in is_negative_number() localVariable
122 let mut cursor = raw.cursor(); in is_negative_number()
123 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_negative_number()
124 let next = raw.next(&mut cursor).unwrap(); in is_negative_number()
131 let raw = clap_lex::RawArgs::new(["bin", "10.0"]); in is_positive_number() localVariable
132 let mut cursor = raw.cursor(); in is_positive_number()
133 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_positive_number()
134 let next = raw.next(&mut cursor).unwrap(); in is_positive_number()
141 let raw = clap_lex::RawArgs::new(["bin", "--10.0"]); in is_not_number() localVariable
142 let mut cursor = raw.cursor(); in is_not_number()
143 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_not_number()
144 let next = raw.next(&mut cursor).unwrap(); in is_not_number()
151 let raw = clap_lex::RawArgs::new(["bin", "-"]); in is_stdio() localVariable
152 let mut cursor = raw.cursor(); in is_stdio()
153 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_stdio()
154 let next = raw.next(&mut cursor).unwrap(); in is_stdio()
161 let raw = clap_lex::RawArgs::new(["bin", "--"]); in is_not_stdio() localVariable
162 let mut cursor = raw.cursor(); in is_not_stdio()
163 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_not_stdio()
164 let next = raw.next(&mut cursor).unwrap(); in is_not_stdio()
171 let raw = clap_lex::RawArgs::new(["bin", "--"]); in is_escape() localVariable
172 let mut cursor = raw.cursor(); in is_escape()
173 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_escape()
174 let next = raw.next(&mut cursor).unwrap(); in is_escape()
181 let raw = clap_lex::RawArgs::new(["bin", "-"]); in is_not_escape() localVariable
182 let mut cursor = raw.cursor(); in is_not_escape()
183 assert_eq!(raw.next_os(&mut cursor), Some(std::ffi::OsStr::new("bin"))); in is_not_escape()
184 let next = raw.next(&mut cursor).unwrap(); in is_not_escape()