Home
last modified time | relevance | path

Searched refs:line_ending (Results 1 - 8 of 8) sorted by relevance

/third_party/rust/crates/nom/src/character/
H A Dstreaming.rs213 /// # use nom::character::streaming::line_ending;
214 /// assert_eq!(line_ending::<_, (_, ErrorKind)>("\r\nc"), Ok(("c", "\r\n")));
215 /// assert_eq!(line_ending::<_, (_, ErrorKind)>("ab\r\nc"), Err(Err::Error(("ab\r\nc", ErrorKind::CrLf))));
216 /// assert_eq!(line_ending::<_, (_, ErrorKind)>(""), Err(Err::Incomplete(Needed::new(1))));
218 pub fn line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in line_ending() functions
1052 pair(not_line_ending, line_ending)(i) in full_line_windows()
1062 pair(not_line_ending, line_ending)(i) in full_line_unix()
1072 let output = line_ending(&input[..]); in check_windows_lineending()
1079 let output = line_ending(&input[..]); in check_unix_lineending()
1102 assert_parse!(line_ending( in end_of_line()
[all...]
H A Dcomplete.rs218 /// # use nom::character::complete::line_ending;
220 /// line_ending(input)
227 pub fn line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in line_ending() functions
1087 pair(not_line_ending, line_ending)(i) in full_line_windows()
1098 pair(not_line_ending, line_ending)(i) in full_line_unix()
1108 let output = line_ending(&input[..]); in check_windows_lineending()
1115 let output = line_ending(&input[..]); in check_unix_lineending()
1144 assert_parse!(line_ending(&b"\na"[..]), Ok((&b"a"[..], &b"\n"[..]))); in end_of_line()
1145 assert_parse!(line_ending(&b"\r\na"[..]), Ok((&b"a"[..], &b"\r\n"[..]))); in end_of_line()
1147 line_ending( in end_of_line()
[all...]
/third_party/rust/crates/nom/tests/
H A Dissues.rs86 use nom::character::streaming::{line_ending, not_line_ending}; in issue_655()
89 let (i, _) = line_ending(i)?; in issue_655()
91 let (i, _) = line_ending(i)?; in issue_655()
H A Dmultiline.rs2 character::complete::{alphanumeric1 as alphanumeric, line_ending as eol},
/third_party/python/Lib/test/test_importlib/source/
H A Dtest_source_encoding.py123 def run_test(self, line_ending):
126 source = line_ending.join(source_lines)
/third_party/rust/crates/nom/benchmarks/benches/
H A Dhttp.rs7 use nom::{IResult, bytes::complete::{tag, take_while1}, character::complete::{line_ending, char}, multi::many1};
76 let (input, _) = line_ending(input)?;
91 let (input, _) = line_ending(input)?; in message_header_value()
107 let (input, _) = line_ending(input)?; in request()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cShadingLanguage420PackTests.hpp757 const glw::GLchar* lineEndingsToStr(LINE_ENDINGS line_ending) const;
H A Dgl4cShadingLanguage420PackTests.cpp3154 * @param line_ending Line ending enum
3158 const GLchar* LineContinuationTest::lineEndingsToStr(LINE_ENDINGS line_ending) const in lineEndingsToStr()
3162 if (UNIX == line_ending) in lineEndingsToStr()

Completed in 30 milliseconds