Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 132) sorted by relevance

123456

/wasmtime-44.0.1/crates/core/src/alloc/
H A Dtry_collect.rs6 pub trait TryCollect: Iterator {
19 impl<I: Iterator> TryCollect for I {}
29 I: Iterator<Item = T>; in try_from_iter()
35 I: Iterator<Item = T>, in try_from_iter()
48 I: Iterator<Item = T>, in try_from_iter()
61 I: Iterator<Item = Result<T, E>>, in try_from_iter()
77 I: Iterator<Item = Result<T, E>>, in try_from_iter()
/wasmtime-44.0.1/crates/wizer/src/
H A Drayoff.rs3 pub trait ParallelIterator: Iterator {}
5 impl<T: Iterator> ParallelIterator for T {}
9 type Iter: Iterator<Item = Self::Item> + ParallelIterator;
H A Dinfo.rs154 ) -> impl Iterator<Item = (u32, wasmparser::MemoryType)> + '_ { in defined_memories()
169 ) -> impl Iterator<Item = (u32, wasmparser::GlobalType, Option<&str>)> + '_ { in defined_globals()
/wasmtime-44.0.1/crates/environ/src/
H A Dstack_map.rs37 fn into_iter(self) -> impl Iterator<Item = (u32, StackMap<'a>)> + 'a { in into_iter()
88 pub fn iter(section: &'a [u8]) -> Option<impl Iterator<Item = (u32, StackMap<'a>)> + 'a> { in iter()
115 pub unsafe fn live_gc_refs(&self, sp: *mut usize) -> impl Iterator<Item = *mut u32> + '_ { in live_gc_refs()
133 pub fn offsets(&self) -> impl Iterator<Item = u32> + '_ { in offsets()
H A Dframe_table.rs182 ) -> Option<impl Iterator<Item = (ModulePC, FrameTableDescriptorIndex, FrameStackShape)>> { in find_program_point()
200 ) -> impl Iterator< in into_program_points()
221 ) -> impl Iterator<Item = (ModulePC, FrameTableDescriptorIndex, FrameStackShape)> { in program_point_frame_iter()
269 ) -> impl Iterator<Item = FrameTableBreakpointData<'_>> + '_ { in lookup_breakpoint_patches_by_pc()
321 ) -> impl Iterator<Item = (ModulePC, FrameTableBreakpointData<'_>)> + '_ { in breakpoint_patches()
567 pub fn locals(&self) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> { in locals()
588 ) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> { in stack()
616 ) -> impl Iterator<Item = (FrameStateSlotOffset, FrameValType)> + '_ { in stack_and_locals()
H A Dgraphs.rs17 type NodesIter<'a>: Iterator<Item = Node>
25 type SuccessorsIter<'a>: Iterator<Item = Node>
/wasmtime-44.0.1/crates/wasmtime/src/runtime/wave/
H A Dcore.rs20 fn tuple_element_types(&self) -> Box<dyn Iterator<Item = Self> + '_> { in tuple_element_types()
108 fn unwrap_tuple(&self) -> Box<dyn Iterator<Item = Cow<'_, Self>> + '_> { in unwrap_tuple()
123 fn params(&self) -> Box<dyn Iterator<Item = Self::Type> + '_> { in params()
127 fn results(&self) -> Box<dyn Iterator<Item = Self::Type> + '_> { in results()
H A Dcomponent.rs57 fn record_fields(&self) -> Box<dyn Iterator<Item = (Cow<'_, str>, Self)> + '_> { in record_fields()
64 fn tuple_element_types(&self) -> Box<dyn Iterator<Item = Self> + '_> { in tuple_element_types()
71 fn variant_cases(&self) -> Box<dyn Iterator<Item = (Cow<'_, str>, Option<Self>)> + '_> { in variant_cases()
78 fn enum_cases(&self) -> Box<dyn Iterator<Item = Cow<'_, str>> + '_> { in enum_cases()
94 fn flags_names(&self) -> Box<dyn Iterator<Item = Cow<'_, str>> + '_> { in flags_names()
261 fn unwrap_list(&self) -> Box<dyn Iterator<Item = Cow<'_, Self>> + '_> { in unwrap_list()
265 fn unwrap_record(&self) -> Box<dyn Iterator<Item = (Cow<'_, str>, Cow<'_, Self>)> + '_> { in unwrap_record()
269 fn unwrap_tuple(&self) -> Box<dyn Iterator<Item = Cow<'_, Self>> + '_> { in unwrap_tuple()
291 fn unwrap_flags(&self) -> Box<dyn Iterator<Item = Cow<'_, str>> + '_> { in unwrap_flags()
407 fn params(&self) -> Box<dyn Iterator<Item = Self::Type> + '_> { in params()
[all …]
/wasmtime-44.0.1/cranelift/control/src/
H A Dzero_sized.rs51 pub fn shuffled<T>(&mut self, iter: impl Iterator<Item = T>) -> impl Iterator<Item = T> { in shuffled()
H A Dchaos.rs121 pub fn shuffled<T>(&mut self, iter: impl Iterator<Item = T>) -> impl Iterator<Item = T> { in shuffled()
/wasmtime-44.0.1/src/commands/
H A Dobjdump.rs151 let breakpoints: Box<dyn Iterator<Item = _>> = Box::new(breakpoints.into_iter()); in execute()
161 .map(|i| (Box::new(i) as Box<dyn Iterator<Item = _>>).peekable()), in execute()
166 .map(|i| (Box::new(i) as Box<dyn Iterator<Item = _>>).peekable()), in execute()
171 .map(|i| (Box::new(i) as Box<dyn Iterator<Item = _>>).peekable()), in execute()
177 .map(|i| (Box::new(i) as Box<dyn Iterator<Item = _>>).peekable()), in execute()
183 .map(|i| (Box::new(i) as Box<dyn Iterator<Item = _>>).peekable()), in execute()
564 addrmap: Option<Peekable<Box<dyn Iterator<Item = (u32, FilePos)> + 'a>>>,
565 traps: Option<Peekable<Box<dyn Iterator<Item = (u32, Trap)> + 'a>>>,
566 stack_maps: Option<Peekable<Box<dyn Iterator<Item = (u32, StackMap<'a>)> + 'a>>>,
572 dyn Iterator<
[all …]
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dcodegen.rs233 if sig.ret_kind == ReturnKind::Iterator { in generate_trait_sig()
247 ReturnKind::Iterator => format!("()"), in generate_trait_sig()
260 .chain(if sig.ret_kind == ReturnKind::Iterator { in generate_trait_sig()
507 if let ReturnKind::Iterator = sig.ret_kind { in generate_internal_term_constructors()
517 ReturnKind::Iterator => write!(ctx.out, "()")?, in generate_internal_term_constructors()
532 ReturnKind::Iterator => String::new(), in generate_internal_term_constructors()
559 if !matches!(ret_kind, ReturnKind::Iterator) { in validate_block()
780 ReturnKind::Iterator => { in emit_block_contents()
816 && ret_kind == ReturnKind::Iterator in emit_block_contents()
885 if let ReturnKind::Iterator = sig.ret_kind { in emit_expr()
[all …]
/wasmtime-44.0.1/cranelift/entity/src/
H A Diter.rs29 impl<'a, K: EntityRef, V> Iterator for Iter<'a, K, V> {
69 impl<'a, K: EntityRef, V> Iterator for IterMut<'a, K, V> {
106 impl<K: EntityRef, V> Iterator for IntoIter<K, V> {
H A Dkeys.rs27 impl<K: EntityRef> Iterator for Keys<K> {
/wasmtime-44.0.1/cranelift/codegen/meta/src/shared/
H A Dtypes.rs28 impl Iterator for IntIterator {
64 impl Iterator for FloatIterator {
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiled_function.rs139 pub fn relocations(&self) -> impl Iterator<Item = Relocation> + '_ { in relocations()
147 pub fn traps(&self) -> impl Iterator<Item = TrapInformation> + '_ { in traps()
221 pub fn breakpoint_patches(&self) -> impl Iterator<Item = (ModulePC, Range<u32>)> + '_ { in breakpoint_patches()
H A Ddebug.rs150 fn indexes(&self) -> impl Iterator<Item = (StaticModuleIndex, DefinedFuncIndex)> + use<'_> { in indexes()
160 ) -> impl Iterator<Item = (StaticModuleIndex, usize, &'a CompiledFunctionMetadata)> + '_ { in functions()
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dtraversals.rs91 impl Iterator for DfsIter<'_> {
137 impl Iterator for DfsPreOrderIter<'_> {
154 impl Iterator for DfsPostOrderIter<'_> {
/wasmtime-44.0.1/crates/wasi-common/src/tokio/
H A Ddir.rs52 ) -> Result<Box<dyn Iterator<Item = Result<ReaddirEntity, Error>> + Send>, Error> { in readdir()
53 struct I(Box<dyn Iterator<Item = Result<ReaddirEntity, Error>> + Send>); in readdir()
54 impl Iterator for I { in readdir()
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dbtree_map.rs229 impl<'a, K, V> Iterator for BTreeMapIter<'a, K, V>
266 impl<'a, K, V> Iterator for BTreeMapIterMut<'a, K, V>
313 impl<K, V> Iterator for BTreeMapIntoIter<K, V>
339 impl<'a, K, V> Iterator for BTreeMapKeys<'a, K, V>
359 impl<'a, K, V> Iterator for BTreeMapValues<'a, K, V>
379 impl<'a, K, V> Iterator for BTreeMapValuesMut<'a, K, V>
400 impl<'a, K, V> Iterator for BTreeMapRange<'a, K, V>
431 impl<'a, K, V> Iterator for BTreeMapRangeMut<'a, K, V>
/wasmtime-44.0.1/crates/unwinder/src/
H A Dexception_table.rs130 call_sites: impl Iterator<Item = FinalizedMachCallSite<'a>>, in add_func()
308 pub fn lookup_pc(&self, pc: u32) -> (Option<u32>, impl Iterator<Item = ExceptionHandler> + '_) { in lookup_pc()
383 fn handlers_for_callsite(&self, idx: usize) -> impl Iterator<Item = ExceptionHandler> { in handlers_for_callsite()
402 pub fn into_iter(self) -> impl Iterator<Item = (u32, Option<u32>, Vec<ExceptionHandler>)> + 'a { in into_iter()
/wasmtime-44.0.1/crates/core/src/
H A Dslab.rs463 pub fn iter(&self) -> impl Iterator<Item = (Id, &T)> + '_ { in iter()
480 pub fn iter_mut(&mut self) -> impl Iterator<Item = (Id, &mut T)> + '_ { in iter_mut()
499 pub fn drain(&mut self) -> impl Iterator<Item = (Id, T)> + '_ { in drain()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Ddebug.rs46 pub fn debug_exit_frames(&mut self) -> impl Iterator<Item = FrameHandle> { in debug_exit_frames()
79 pub fn debug_exit_frames(&mut self) -> impl Iterator<Item = FrameHandle> { in debug_exit_frames()
110 pub fn debug_exit_frames(&mut self) -> impl Iterator<Item = FrameHandle> { in debug_exit_frames()
137 fn debug_exit_frames(&mut self) -> impl Iterator<Item = FrameHandle> { in debug_exit_frames()
357 pub fn breakpoints(self) -> Option<impl Iterator<Item = Breakpoint> + 'a> { in breakpoints()
1015 ) -> impl Iterator<Item = Breakpoint> + 'a { in breakpoints()
1062 patches: impl Iterator<Item = FrameTableBreakpointData<'b>> + 'b, in patch()
/wasmtime-44.0.1/crates/cranelift/src/debug/transform/
H A Daddress_transform.rs273 impl<'a> Iterator for TransformRangeStartIter<'a> {
336 impl<'a> Iterator for TransformRangeEndIter<'a> {
392 impl<'a> Iterator for TransformRangeIter<'a> {
594 ) -> Option<(usize, impl Iterator<Item = (usize, usize)> + 'a)> { in translate_ranges_raw()
612 ) -> impl Iterator<Item = (write::Address, u64)> + 'a { in translate_ranges()
617 it: Box<dyn Iterator<Item = (usize, usize)> + 'a>, in translate_ranges()
620 impl<'a> Iterator for TranslateRangesResult<'a> { in translate_ranges()
/wasmtime-44.0.1/cranelift/src/
H A Dutils.rs28 pub fn iterate_files<'a>(files: &'a [PathBuf]) -> impl Iterator<Item = PathBuf> + 'a { in iterate_files()

123456