Home
last modified time | relevance | path

Searched refs:many_m_n (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/cexpr/src/
Dliteral.rs47 use nom::multi::{fold_many0, many0, many1, many_m_n};
188 map_opt(many_m_n(1, 3, octal), |v| c_raw_escape(v, 8)), in escaped_char()
193 preceded(char('u'), many_m_n(4, 4, hexadecimal)), in escaped_char()
197 preceded(char('U'), many_m_n(8, 8, hexadecimal)), in escaped_char()
/external/rust/crates/nom/tests/
Dinference.rs24 many_m_n!(
Dissues.rs296 use nom::multi::many_m_n; in issue_many_m_n_with_zeros()
298 let parser = many_m_n::<_, _, (), _>(0, 0, char('a')); in issue_many_m_n_with_zeros()
Doverflow.rs98 named!(multi<&[u8], Vec<&[u8]> >, many_m_n!(2, 4, length_data!(be_u64) ) ); in overflow_incomplete_many_m_n()
/external/rust/crates/nom/src/multi/
Dmacros.rs217 macro_rules! many_m_n( macro
219 many_m_n!($i, $m, $n, |i| $submac!(i, $($args)*))
732 fn many_m_n() { in many_m_n() function
733 named!(multi<&[u8],Vec<&[u8]> >, many_m_n!(2, 4, tag!("Abcd"))); in many_m_n()
Dmod.rs413 pub fn many_m_n<I, O, E, F>(m: usize, n: usize, f: F) -> impl Fn(I) -> IResult<I, Vec<O>, E> in many_m_n() function
469 many_m_n(m, n, f)(i) in many_m_nc()