Lines Matching refs:Some
38 if let Some(n) = self.equal_sign { in name()
47 Some(&self.arg[self.equal_sign?..]) in value()
97 Some('=') => { in next()
99 (&arg[..value_end], Some(name_end)) in next()
104 Some(BootArg { arg, equal_sign }) in next()
154 check(cstr!("foo=bar"), Ok(&[("foo", Some("=bar"))])); in single_with_value()
155 check(cstr!(" foo=bar"), Ok(&[("foo", Some("=bar"))])); in single_with_value()
156 check(cstr!("foo=bar "), Ok(&[("foo", Some("=bar"))])); in single_with_value()
157 check(cstr!(" foo=bar "), Ok(&[("foo", Some("=bar"))])); in single_with_value()
159 check(cstr!("foo="), Ok(&[("foo", Some("="))])); in single_with_value()
160 check(cstr!(" foo="), Ok(&[("foo", Some("="))])); in single_with_value()
161 check(cstr!("foo= "), Ok(&[("foo", Some("="))])); in single_with_value()
162 check(cstr!(" foo= "), Ok(&[("foo", Some("="))])); in single_with_value()
167 check(cstr!("foo=hello\" \"world"), Ok(&[("foo", Some("=hello\" \"world"))])); in single_with_quote()
179 Ok(&[("a", Some("=b")), ("c", Some("=d")), ("e", Some("=")), ("f", None), ("g", None)]), in multiple()
183 Ok(&[("a", Some("=b")), ("c", Some("=d")), ("e", Some("=")), ("f", None), ("g", None)]), in multiple()
191 Ok(&[("foo", Some("=incomplete\" quote bar=y"))]), in incomplete_quote()
199 ("a1", Some("=")), in complex()
200 ("b", Some("=c")), in complex()
201 ("d", Some("=e,f,g")), in complex()
202 ("x", Some("=\"value with quote\"")), in complex()
203 ("y", Some("=val\"ue with \"multiple\" quo\"te")), in complex()