Home
last modified time | relevance | path

Searched refs:is_not (Results 1 - 11 of 11) sorted by relevance

/third_party/rust/crates/nom/tests/
H A Dreborrow_fold.rs6 use nom::bytes::complete::is_not;
16 map_res(is_not(" \t\r\n"), str::from_utf8), in atom()
H A Dissues.rs104 use nom::bytes::complete::{is_not, tag}; in issue_717()
107 separated_list0(tag([0x0]), is_not([0x0u8]))(i) in issue_717()
/third_party/rust/crates/nom/src/
H A Dstr.rs6 bytes::complete::{is_a, is_not, tag, take, take_till, take_until},
273 is_not(AVOID)(input) in is_not_succeed()
279 "Parser `is_not` consumed leftover input. Leftover `{}`.", in is_not_succeed()
284 "Parser `is_not` doesn't return the string it consumed on success. Expected `{}`, got `{}`.", in is_not_succeed()
290 "Parser `is_not` didn't succeed when it should have. \ in is_not_succeed()
345 is_not(AVOID)(input) in is_not_fail()
350 "Parser `is_not` didn't fail when it should have. Got `{:?}`.", in is_not_fail()
/third_party/rust/crates/nom/examples/
H A Dstring.rs15 use nom::bytes::streaming::{is_not, take_while_m_n};
97 // `is_not` parses a string of 0 or more characters that aren't one of the in parse_literal()
99 let not_quote_slash = is_not("\"\\"); in parse_literal()
103 // returns true. In this case, we want to ensure that the output of is_not
/third_party/rust/crates/rust-cexpr/src/
H A Dliteral.rs43 use nom::bytes::complete::is_not;
225 map(is_not([b'\\', b'"']), |c: &[u8]| c.into()), in c_string()
/third_party/rust/crates/nom/src/bytes/
H A Dtests.rs42 fn is_not() { in is_not() functions
43 use crate::bytes::streaming::is_not; in is_not()
46 is_not("ab")(i) in is_not()
H A Dstreaming.rs106 /// use nom::bytes::streaming::is_not;
109 /// is_not(" \t\r\n")(s)
117 pub fn is_not<T, Input, Error: ParseError<Input>>( in is_not() functions
H A Dcomplete.rs106 /// use nom::bytes::complete::is_not;
109 /// is_not(" \t\r\n")(s)
117 pub fn is_not<T, Input, Error: ParseError<Input>>( in is_not() functions
/third_party/python/Lib/test/
H A Dtest_bool.py267 self.assertIs(operator.is_not(True, True), False)
268 self.assertIs(operator.is_not(True, False), True)
H A Dtest_operator.py343 self.assertRaises(TypeError, operator.is_not)
344 self.assertFalse(operator.is_not(a, b))
345 self.assertTrue(operator.is_not(a,c))
/third_party/python/Lib/
H A Doperator.py17 'is_', 'is_not', 'isub', 'itemgetter', 'itruediv', 'ixor', 'le',
65 def is_not(a, b): function

Completed in 7 milliseconds