Home
last modified time | relevance | path

Searched refs:Unstructured (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/arbitrary/src/
Dlib.rs33 pub use unstructured::Unstructured;
171 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>; in arbitrary()
178 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest()
262 fn arbitrary(_: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
273 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
287 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
327 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
346 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
369 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
380 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
[all …]
Dunstructured.rs70 pub struct Unstructured<'a> { struct
74 impl<'a> Unstructured<'a> { impl
85 Unstructured { data } in new()
525 u: &'b mut Unstructured<'a>,
543 u: Option<Unstructured<'a>>,
682 let mut u = Unstructured::new(&[1, 2, 3, 4, 5, 6, 7, 8, 9, 6]); in test_byte_size()
690 let mut u = Unstructured::new(&v); in test_byte_size()
698 let mut u = Unstructured::new(&[1, 2, 3, 4, 5, 6, 7, 8, 9, 6]); in int_in_range_of_one()
/external/rust/crates/arbitrary/
DCHANGELOG.md50 * Rename `Unstructured#get_bytes` to `Unstructured#bytes`. [#70](https://github.com/rust-fuzz/arbit…
51 * Passing an empty slice of choices to `Unstructured#choose` returns an error. Previously it would …
83 `Unstructured::{int_in_range, choose, etc..}`.
100 * Added the `Unstructured::peek_bytes` method.
222 * Fixed an over-eager assertion condition in `Unstructured::int_in_range` that
255 * Added the `Unstructured::choose` method to choose one thing among a set of
257 * Added the `Unstructured::arbitrary_len` method to get an arbitrary length for
259 * Added the `Unstructured::arbitrary_iter` method to create an iterator of
265 * `Unstructured` is a concrete type now, not a trait.
270 * `RingBuffer` and `FiniteBuffer` are removed. Use `Unstructured` instead.
DREADME.md71 use arbitrary::{Arbitrary, Result, Unstructured};
81 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
/external/rust/crates/arbitrary/examples/
Dderive_enum.rs5 use arbitrary::{Arbitrary, Unstructured};
17 let mut unstructured = Unstructured::new(raw); in main()
/external/rust/crates/derive_arbitrary/src/
Dlib.rs76 fn arbitrary(u: &mut arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()
80 … fn arbitrary_take_rest(mut u: arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()
105 … fn arbitrary(u: &mut arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()
115 … fn arbitrary_take_rest(mut u: arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()
/external/rust/crates/arbitrary/tests/
Dderive.rs6 let mut buf = Unstructured::new(input); in arbitrary_from()
51 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.rs144 use libfuzzer_sys::arbitrary::{Arbitrary, Unstructured};
156 let mut u = Unstructured::new(bytes);
/external/icing/proto/icing/proto/
Dschema.proto137 // Unstructured BLOB.