Lines Matching full:unstructured
2 super::{Arbitrary, Result, Unstructured},
36 let mut u = Unstructured::new(&buf); in assert_generates()
40 let u = Unstructured::new(&buf); in assert_generates()
58 fn checked_arbitrary<'a, T: Arbitrary<'a>>(u: &mut Unstructured<'a>) -> Result<T> { in checked_arbitrary()
88 fn checked_arbitrary_take_rest<'a, T: Arbitrary<'a>>(u: Unstructured<'a>) -> Result<T> { in checked_arbitrary_take_rest()
109 let mut rb = Unstructured::new(&x); in finite_buffer_fill_buffer()
122 let mut buf = Unstructured::new(&x); in arbitrary_for_integers()
141 let mut buf = Unstructured::new(&x); in arbitrary_for_bytes()
150 let buf = Unstructured::new(&x); in arbitrary_take_rest_for_bytes()
230 checked_arbitrary::<&[u8]>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
234 checked_arbitrary::<Vec<u8>>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
238 &*checked_arbitrary::<Box<[u8]>>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
242 &*checked_arbitrary::<Arc<[u8]>>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
246 &*checked_arbitrary::<Rc<[u8]>>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
250 checked_arbitrary::<Vec<u32>>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
254 checked_arbitrary::<String>(&mut Unstructured::new(&x)).unwrap(), in arbitrary_collection()
264 checked_arbitrary_take_rest::<&[u8]>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
268 checked_arbitrary_take_rest::<Vec<u8>>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
272 &*checked_arbitrary_take_rest::<Box<[u8]>>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
276 &*checked_arbitrary_take_rest::<Arc<[u8]>>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
280 &*checked_arbitrary_take_rest::<Rc<[u8]>>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
284 checked_arbitrary_take_rest::<Vec<u32>>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
288 checked_arbitrary_take_rest::<String>(Unstructured::new(&x)).unwrap(), in arbitrary_take_rest()
294 checked_arbitrary_take_rest::<&[u8]>(Unstructured::new(&[])).unwrap(), in arbitrary_take_rest()
298 checked_arbitrary_take_rest::<Vec<u8>>(Unstructured::new(&[])).unwrap(), in arbitrary_take_rest()
304 checked_arbitrary_take_rest::<String>(Unstructured::new(&[1, 0xFF, 2])).unwrap(), in arbitrary_take_rest()