Searched refs:is_not (Results 1 - 11 of 11) sorted by relevance
/third_party/rust/crates/nom/tests/ |
H A D | reborrow_fold.rs | 6 use nom::bytes::complete::is_not; 16 map_res(is_not(" \t\r\n"), str::from_utf8), in atom()
|
H A D | issues.rs | 104 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 D | str.rs | 6 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 D | string.rs | 15 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 D | literal.rs | 43 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 D | tests.rs | 42 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 D | streaming.rs | 106 /// 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 D | complete.rs | 106 /// 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 D | test_bool.py | 267 self.assertIs(operator.is_not(True, True), False) 268 self.assertIs(operator.is_not(True, False), True)
|
H A D | test_operator.py | 343 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 D | operator.py | 17 'is_', 'is_not', 'isub', 'itemgetter', 'itruediv', 'ixor', 'le', 65 def is_not(a, b): function
|
Completed in 9 milliseconds