Home
last modified time | relevance | path

Searched refs:consume_digits (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/
D_common.rs50 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
117 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
119 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
126 let (exponent, bytes) = consume_digits(bytes); in parse_float()
/third_party/rust/crates/minimal-lexical/examples/
Dsimple.rs92 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
166 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
168 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
175 let (exponent, bytes) = consume_digits(bytes); in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
D_common.rs64 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
131 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
133 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
140 let (exponent, bytes) = consume_digits(bytes); in parse_float()
/third_party/rust/crates/minimal-lexical/fuzz/fuzz_targets/
Dparse.rs45 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
164 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
166 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
173 let (exponent, bytes) = consume_digits(bytes); in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/
Dmain.rs57 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
124 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
126 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
133 let (exponent, bytes) = consume_digits(bytes); in parse_float()
/third_party/rust/crates/minimal-lexical/tests/
Dintegration_tests.rs45 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
164 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
166 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
173 let (exponent, bytes) = consume_digits(bytes); in parse_float()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dmain.rs64 fn consume_digits<'a>(digits: &'a [u8]) -> (&'a [u8], &'a [u8]) { in consume_digits() function
131 let (integer_slc, bytes) = consume_digits(bytes); in parse_float()
133 Some(&b'.') => consume_digits(&bytes[1..]), in parse_float()
140 let (exponent, bytes) = consume_digits(bytes); in parse_float()