Home
last modified time | relevance | path

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

/external/rust/crates/arbitrary/src/
Dlib.rs178 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method
556 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> {
558 let $last = $last::arbitrary_take_rest(u)?;
587 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<[T; $n]> {
589 let last = Arbitrary::arbitrary_take_rest(u)?;
613 fn arbitrary_take_rest(_: Unstructured<'a>) -> Result<[T; 0]> { in arbitrary_take_rest() method
635 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method
650 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method
665 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method
680 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method
[all …]
Dunstructured.rs553 Some(Arbitrary::arbitrary_take_rest(u)) in next()
/external/rust/crates/derive_arbitrary/src/
Dlib.rs74 let arbitrary_take_rest = construct_take_rest(fields); in gen_arbitrary_method() localVariable
80 … fn arbitrary_take_rest(mut u: arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()
81 Ok(#ident #arbitrary_take_rest) in gen_arbitrary_method()
115 … fn arbitrary_take_rest(mut u: arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()
153 quote! { arbitrary::Arbitrary::arbitrary_take_rest(u)? } in construct_take_rest()
/external/rust/crates/arbitrary/tests/
Dderive.rs51 let s1 = EndingInVec::arbitrary_take_rest(Unstructured::new(&bytes)).unwrap(); in test_take_rest()
52 let s2 = EndingInString::arbitrary_take_rest(Unstructured::new(&bytes)).unwrap(); in test_take_rest()
/external/rust/crates/libfuzzer-sys/src/
Dlib.rs157 let data = <$dty as Arbitrary>::arbitrary_take_rest(u);
/external/rust/crates/arbitrary/
DCHANGELOG.md248 * Added the `Arbitrary::arbitrary_take_rest` method allows an `Arbitrary`