Home
last modified time | relevance | path

Searched refs:not_line_ending (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/nom/benchmarks/benches/
Dini_str.rs8 character::complete::{alphanumeric1 as alphanumeric, char, not_line_ending, space0 as space},
37 let (i, _) = opt(pair(tag(";"), not_line_ending))(i)?; in key_value()
Dhttp.rs51 fn not_line_ending(c: u8) -> bool { in not_line_ending() function
90 let (input, data) = take_while1(not_line_ending)(input)?; in message_header_value()
/third_party/rust/crates/nom/src/character/
Dcomplete.rs177 pub fn not_line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in not_line_ending() function
980 not_line_ending::<_, (_, ErrorKind)>(a), in is_not_line_ending_bytes()
986 not_line_ending::<_, (_, ErrorKind)>(b), in is_not_line_ending_bytes()
992 not_line_ending::<_, (_, ErrorKind)>(c), in is_not_line_ending_bytes()
998 not_line_ending::<_, (_, ErrorKind)>(d), in is_not_line_ending_bytes()
1023 assert_eq!(not_line_ending(f), Err(Err::Error((f, ErrorKind::Tag)))); in is_not_line_ending_str()
1026 assert_eq!(not_line_ending::<_, (_, ErrorKind)>(g2), Ok(("", g2))); in is_not_line_ending_str()
1087 pair(not_line_ending, line_ending)(i) in full_line_windows()
1098 pair(not_line_ending, line_ending)(i) in full_line_unix()
Dstreaming.rs171 pub fn not_line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in not_line_ending() function
943 not_line_ending::<_, (_, ErrorKind)>(a), in is_not_line_ending_bytes()
949 not_line_ending::<_, (_, ErrorKind)>(b), in is_not_line_ending_bytes()
955 not_line_ending::<_, (_, ErrorKind)>(c), in is_not_line_ending_bytes()
961 not_line_ending::<_, (_, ErrorKind)>(d), in is_not_line_ending_bytes()
986 assert_eq!(not_line_ending(f), Err(Err::Error((f, ErrorKind::Tag)))); in is_not_line_ending_str()
990 not_line_ending::<_, (_, ErrorKind)>(g2), in is_not_line_ending_str()
1052 pair(not_line_ending, line_ending)(i) in full_line_windows()
1062 pair(not_line_ending, line_ending)(i) in full_line_unix()
/third_party/rust/crates/nom/tests/
Dissues.rs86 use nom::character::streaming::{line_ending, not_line_ending}; in issue_655()
88 let (i, l1) = not_line_ending(i)?; in issue_655()
90 let (i, l2) = not_line_ending(i)?; in issue_655()
Dini_str.rs16 fn not_line_ending(i: &str) -> IResult<&str, &str> { in not_line_ending() function
36 let (i, _) = opt(pair(tag(";"), not_line_ending))(i)?; in key_value()
/third_party/rust/crates/nom/doc/archive/
Dupgrading_to_nom_2.md67 1 | use nom::{IResult, eof, line_ending, not_line_ending, space};
180 …tible ways to parse line endings. Now, the `eol`, `line_ending` and `not_line_ending` all have the…
/third_party/rust/crates/nom/doc/
Dchoosing_a_combinator.md142 - [`not_line_ending`](https://docs.rs/nom/latest/nom/character/complete/fn.not_line_ending.html): R…
/third_party/rust/crates/nom/
DCHANGELOG.md968 - `eol`, `line_ending` and `not_line_ending` now have a consistent behaviour that works correctly w…