Lines Matching refs:input
66 fn arbitrary(input: &mut Unstructured<'a>) -> arbitrary::Result<Self> { in arbitrary()
69 let swarm = Swarm::arbitrary(input)?; in arbitrary()
72 let config = Config::arbitrary(input)?; in arbitrary()
86 for _ in 0..input.arbitrary_len::<ApiCall>()? { in arbitrary()
94 choices.push(|input, scope| { in arbitrary()
96 let wasm = scope.config.generate(input, Some(1000))?; in arbitrary()
105 choices.push(|input, scope| { in arbitrary()
107 let id = **input.choose(&modules)?; in arbitrary()
113 choices.push(|input, scope| { in arbitrary()
115 let module = **input.choose(&modules)?; in arbitrary()
122 choices.push(|input, scope| { in arbitrary()
124 let id = **input.choose(&instances)?; in arbitrary()
130 choices.push(|input, scope| { in arbitrary()
132 let instance = **input.choose(&instances)?; in arbitrary()
133 let nth = usize::arbitrary(input)?; in arbitrary()
141 let c = input.choose(&choices)?; in arbitrary()
142 calls.push(c(input, &mut scope)?); in arbitrary()