Searched refs:parse_to (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/nom/tests/ |
D | issues.rs | 177 named!(f1<&str, u16>, parse_to!(u16)); in issue_721() 178 named!(f2<&str, String>, parse_to!(String)); in issue_721() 208 parse_to!("ab", usize).unwrap_err() in issue_752()
|
D | json.rs | 20 named!(float<f32>, flat_map!(recognize_float, parse_to!(f32)));
|
/external/iptables/extensions/ |
D | libip6t_SNAT.c | 50 parse_to(const char *orig_arg, int portok, struct nf_nat_range *range) in parse_to() function 172 parse_to(cb->arg, portok, range); in SNAT_parse()
|
D | libipt_SNAT.c | 70 parse_to(const char *orig_arg, int portok, struct ipt_natinfo *info) in parse_to() function 179 *cb->target = parse_to(cb->arg, portok, info); in SNAT_parse()
|
D | libip6t_DNAT.c | 56 parse_to(const char *orig_arg, int portok, struct nf_nat_range2 *range, int rev) in parse_to() function 192 parse_to(cb->arg, portok, range, rev); in _DNAT_parse()
|
D | libipt_DNAT.c | 76 parse_to(const char *orig_arg, int portok, struct ipt_natinfo *info) in parse_to() function 185 *cb->target = parse_to(cb->arg, portok, info); in DNAT_parse()
|
/external/rust/crates/nom/src/combinator/ |
D | macros.rs | 618 macro_rules! parse_to ( macro 630 let res: Option<$t> = ($i).parse_to(); 1184 fn parse_to() { in parse_to() function 1185 let res: IResult<_, _, (&str, ErrorKind)> = parse_to!("ab", usize); in parse_to() 1195 let res: IResult<_, _, (&str, ErrorKind)> = parse_to!("42", usize); in parse_to()
|
/external/rust/crates/nom/src/ |
D | traits.rs | 872 fn parse_to(&self) -> Option<R>; in parse_to() method 876 fn parse_to(&self) -> Option<R> { in parse_to() method 882 fn parse_to(&self) -> Option<R> { in parse_to() method
|
/external/rust/crates/nom/src/number/ |
D | complete.rs | 803 Ok((i, s)) => match s.parse_to() { in float() 870 Ok((i, s)) => match s.parse_to() { in double()
|
D | streaming.rs | 800 Ok((i, s)) => match s.parse_to() { in float() 873 Ok((i, s)) => match s.parse_to() { in double()
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 220 - `parse_to` has its own error code now 274 - @lowenheim for `parse_to!` fixes 328 - `parse_to!` now consumes its input 519 - `parse_to!` will use the `parse` method from `FromStr` to parse a value. It will automatically tr…
|