Lines Matching refs:Ok
64 Ok(Self { arg }) in new()
139 check(cstr!(""), Ok(&[])); in empty()
140 check(cstr!(" "), Ok(&[])); in empty()
141 check(cstr!(" \n "), Ok(&[])); in empty()
146 check(cstr!("foo"), Ok(&[("foo", None)])); in single()
147 check(cstr!(" foo"), Ok(&[("foo", None)])); in single()
148 check(cstr!("foo "), Ok(&[("foo", None)])); in single()
149 check(cstr!(" foo "), Ok(&[("foo", None)])); in single()
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()
197 …(cstr!(" a a1= b=c d=e,f,g x=\"value with quote\" y=val\"ue with \"multiple\" quo\"te "), Ok(&[ in complex()