Searched refs:hex_digit1 (Results 1 - 3 of 3) sorted by relevance
/third_party/rust/crates/nom/src/character/ |
H A D | streaming.rs | 417 /// # use nom::character::streaming::hex_digit1; 418 /// assert_eq!(hex_digit1::<_, (_, ErrorKind)>("21cZ"), Ok(("Z", "21c"))); 419 /// assert_eq!(hex_digit1::<_, (_, ErrorKind)>("H2"), Err(Err::Error(("H2", ErrorKind::HexDigit)))); 420 /// assert_eq!(hex_digit1::<_, (_, ErrorKind)>(""), Err(Err::Incomplete(Needed::new(1)))); 422 pub fn hex_digit1<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in hex_digit1() functions 783 hex_digit1::<_, (_, ErrorKind)>(a), in character() 787 hex_digit1::<_, (_, ErrorKind)>(b), in character() 791 hex_digit1::<_, (_, ErrorKind)>(c), in character() 795 hex_digit1::<_, (_, ErrorKind)>(d), in character() 798 assert_eq!(hex_digit1( in character() [all...] |
H A D | complete.rs | 474 /// # use nom::character::complete::hex_digit1; 476 /// hex_digit1(input) 483 pub fn hex_digit1<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in hex_digit1() functions 866 assert_eq!(hex_digit1::<_, (_, ErrorKind)>(a), Ok((empty, a))); in character() 867 assert_eq!(hex_digit1::<_, (_, ErrorKind)>(b), Ok((empty, b))); in character() 868 assert_eq!(hex_digit1::<_, (_, ErrorKind)>(c), Ok((empty, c))); in character() 870 hex_digit1::<_, (_, ErrorKind)>(d), in character() 873 assert_eq!(hex_digit1(e), Err(Err::Error((e, ErrorKind::HexDigit)))); in character() 906 assert_eq!(hex_digit1::<_, (_, ErrorKind)>(a), Ok((empty, a))); in character_s() 907 assert_eq!(hex_digit1 in character_s() [all...] |
/third_party/rust/crates/nom/src/bytes/ |
H A D | tests.rs | 3 alpha1 as alpha, alphanumeric1 as alphanumeric, digit1 as digit, hex_digit1 as hex_digit,
|
Completed in 4 milliseconds