/external/rust/crates/nom/src/sequence/ |
D | tests.rs | 83 Err(Err::Error(error_position!(&b"mn"[..], ErrorKind::Tag))) in complete() 107 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in pair_test() 111 Err(Err::Error(error_position!(&b"xxxdef"[..], ErrorKind::Tag))) in pair_test() 115 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in pair_test() 139 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in separated_pair_test() 143 Err(Err::Error(error_position!(&b"xxx,def"[..], ErrorKind::Tag))) in separated_pair_test() 147 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in separated_pair_test() 171 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in preceded_test() 175 Err(Err::Error(error_position!(&b"xxxxdef"[..], ErrorKind::Tag))) in preceded_test() 179 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in preceded_test() [all …]
|
/external/rust/crates/nom/src/multi/ |
D | tests.rs | 56 Err(Err::Error(error_position!( in separated_list0_test() 94 Err(Err::Error(error_position!(c, ErrorKind::Tag))) in separated_list1_test() 125 Err(Err::Error(error_position!( in many0_test() 150 Err(Err::Error(error_position!(c, ErrorKind::Tag))) in many1_test() 175 error_position!(&c[..], ErrorKind::Tag) in many_till_test() 185 Err(Err::Error(error_position!(input, ErrorKind::Tag))) in infinite_many() 201 Err(Err::Error(error_position!(a, ErrorKind::Tag))) in infinite_many() 220 Err(Err::Error(error_position!(&b"ef"[..], ErrorKind::Tag))) in many_m_n_test() 247 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in count_test() 251 Err(Err::Error(error_position!( in count_test() [all …]
|
/external/rust/crates/nom/src/bytes/ |
D | tests.rs | 34 Err(Err::Error(error_position!(c, ErrorKind::IsA))) in is_a() 58 Err(Err::Error(error_position!(c, ErrorKind::IsNot))) in is_not() 84 Err(Err::Error(error_position!( in escaping() 94 error_position!(&b"A"[..], ErrorKind::OneOf) in escaping() 119 Err(Err::Error(error_position!("AB\\", ErrorKind::Escaped))) 126 error_position!("A", ErrorKind::OneOf) 180 Err(Err::Error(error_position!( in escape_transform() 190 error_position!(&b"A"[..], ErrorKind::Tag) in escape_transform() 239 Err(Err::Error(error_position!( 249 error_position!("A", ErrorKind::Tag) [all …]
|
/external/rust/crates/nom/src/character/ |
D | tests.rs | 15 assert_eq!(f(b), Err(Err::Error(error_position!(b, ErrorKind::OneOf)))); in one_of_test() 32 assert_eq!(f(a), Err(Err::Error(error_position!(a, ErrorKind::NoneOf)))); in none_of_test() 45 assert_eq!(f(a), Err(Err::Error(error_position!(a, ErrorKind::Char)))); in char_byteslice() 58 assert_eq!(f(a), Err(Err::Error(error_position!(a, ErrorKind::Char)))); in char_str()
|
D | complete.rs | 1037 Err(Err::Error(error_position!(i, ErrorKind::HexDigit))) in hex_digit_test() 1043 Err(Err::Error(error_position!(i, ErrorKind::HexDigit))) in hex_digit_test() 1068 Err(Err::Error(error_position!(i, ErrorKind::OctDigit))) in oct_digit_test() 1124 Err(Err::Error(error_position!(&b"\r"[..], ErrorKind::CrLf))) in cr_lf() 1128 Err(Err::Error(error_position!(&b"\ra"[..], ErrorKind::CrLf))) in cr_lf() 1134 Err(Err::Error(error_position!(&"\r"[..], ErrorKind::CrLf))) in cr_lf() 1138 Err(Err::Error(error_position!("\ra", ErrorKind::CrLf))) in cr_lf() 1148 Err(Err::Error(error_position!(&b"\r"[..], ErrorKind::CrLf))) in end_of_line() 1152 Err(Err::Error(error_position!(&b"\ra"[..], ErrorKind::CrLf))) in end_of_line() 1159 Err(Err::Error(error_position!(&"\r"[..], ErrorKind::CrLf))) in end_of_line() [all …]
|
D | streaming.rs | 1003 Err(Err::Error(error_position!(i, ErrorKind::HexDigit))) in hex_digit_test() 1009 Err(Err::Error(error_position!(i, ErrorKind::HexDigit))) in hex_digit_test() 1034 Err(Err::Error(error_position!(i, ErrorKind::OctDigit))) in oct_digit_test() 1089 Err(Err::Error(error_position!(&b"\ra"[..], ErrorKind::CrLf))) in cr_lf() 1096 Err(Err::Error(error_position!("\ra", ErrorKind::CrLf))) in cr_lf() 1110 Err(Err::Error(error_position!(&b"\ra"[..], ErrorKind::CrLf))) in end_of_line() 1118 Err(Err::Error(error_position!("\ra", ErrorKind::CrLf))) in end_of_line()
|
/external/rust/crates/nom/src/combinator/ |
D | tests.rs | 35 Err(Err::Error(error_position!(not_over, ErrorKind::Eof))) in eof_on_slices() 50 Err(Err::Error(error_position!(not_over, ErrorKind::Eof))) in eof_on_strs() 232 Err(Err::Error(error_position!(&b"xxx"[..], ErrorKind::Tag))) in peek_test() 244 Err(Err::Error(error_position!(&b"aaa"[..], ErrorKind::Not))) in not_test() 260 Err(Err::Error(error_position!( in verify_test()
|
/external/rust/crates/rusticata-macros/src/ |
D | macros.rs | 80 use nom::error_position; 82 Err(::nom::Err::Error(error_position!($i, $err))) 240 use nom::{error_position, Err, IResult, Needed}; 246 assert_eq!(res, Err(Err::Error(error_position!(empty, ErrorKind::Tag)))); in test_error_if()
|
/external/rust/crates/nom/src/branch/ |
D | tests.rs | 108 assert_eq!(alt1(a), Err(Err::Error(error_position!(a, ErrorKind::Tag)))); in alt_incomplete() 136 error_position!(&b"xyzabcdefghi"[..], ErrorKind::Tag) in permutation_test()
|
/external/rust/crates/nom/src/bits/ |
D | complete.rs | 102 Err(Err::Error(error_position!(inp, ErrorKind::TagBits))) in tag()
|
D | streaming.rs | 76 Err(Err::Error(error_position!(inp, ErrorKind::TagBits))) in tag()
|
/external/rust/crates/nom/tests/ |
D | issues.rs | 151 Err(Err::Failure(nom::error_position!( in issue_848_overflow_incomplete_bits_to_bytes()
|
D | mp4.rs | 271 Err(Err::Error(nom::error_position!(input, ErrorKind::TooLarge))) in mvhd_box()
|
/external/rust/crates/nom/src/ |
D | str.rs | 194 Err(Err::Error(error_position!(&d[..], ErrorKind::TakeWhile1))) in take_while1()
|
D | error.rs | 550 macro_rules! error_position( macro
|
/external/rust/crates/der-parser/tests/ |
D | constructed.rs | 291 Err(Err::Error(error_position!(&bytes[12..], ErrorKind::Eof))) in struct_with_garbage()
|
/external/rust/crates/combine/src/ |
D | lib.rs | 867 fn error_position() { in error_position() function
|
/external/rust/crates/nom/src/number/ |
D | complete.rs | 1947 Err(Err::Error(error_position!(&b";"[..], ErrorKind::IsA))) in hex_u32_tests()
|
D | streaming.rs | 2026 Err(Err::Error(error_position!(&b";"[..], ErrorKind::IsA))) in hex_u32_tests()
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 662 - the arguments from `error_position` and other such macros were swapped to be more consistent with…
|