Home
last modified time | relevance | path

Searched refs:Entry (Results 1 – 25 of 36) sorted by relevance

12

/wasmtime-44.0.1/cranelift/codegen/src/
H A Dscoped_hash_map.rs69 pub enum Entry<'a, K: 'a, V: 'a> { enum
128 Entry::Vacant(VacantEntry { in entry_with_depth()
135 crate::ctxhash::Entry::Vacant(entry) => Entry::Vacant(VacantEntry { in entry_with_depth()
172 Entry::Vacant(v) => { in insert_if_absent_with_depth()
175 Entry::Occupied(_) => { in insert_if_absent_with_depth()
235 Entry::Vacant(_entry) => panic!(), in basic()
240 Entry::Vacant(_entry) => panic!(), in basic()
248 Entry::Vacant(_entry) => panic!(), in basic()
252 Entry::Vacant(_entry) => panic!(), in basic()
256 Entry::Vacant(_entry) => panic!(), in basic()
[all …]
H A Dctxhash.rs120 pub fn entry<'a, Ctx>(&'a mut self, k: K, ctx: &Ctx) -> Entry<'a, K, V> in entry()
131 hashbrown::hash_table::Entry::Occupied(o) => Entry::Occupied(OccupiedEntry { raw: o }), in entry()
132 hashbrown::hash_table::Entry::Vacant(v) => Entry::Vacant(VacantEntry { in entry()
142 pub enum Entry<'a, K, V> { enum
/wasmtime-44.0.1/crates/core/src/
H A Dslab.rs174 entries: TryVec<Entry<T>>,
192 enum Entry<T> { enum
402 Entry::Occupied(x) => Some(x), in get()
403 Entry::Free { .. } => None, in get()
420 Entry::Occupied(x) => Some(x), in get_mut()
421 Entry::Free { .. } => None, in get_mut()
444 Entry::Free { next_free: None }, in dealloc()
448 Entry::Occupied(value) => { in dealloc()
470 Entry::Free { .. } => None, in iter()
487 Entry::Free { .. } => None, in iter_mut()
[all …]
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dbtree_map.rs2 use wasmtime_environ::collections::{TryBTreeMap, btree_map::Entry};
18 Entry::Occupied(_) => unreachable!(), in btree_map()
19 Entry::Vacant(e) => { in btree_map()
26 Entry::Occupied(e) => { in btree_map()
29 Entry::Vacant(_) => unreachable!(), in btree_map()
33 Entry::Occupied(_) => unreachable!(), in btree_map()
34 Entry::Vacant(e) => { in btree_map()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dresource_table.rs37 entries: Vec<Entry>,
43 enum Entry { enum
48 impl Entry { impl
123 Entry::Free { .. } => true, in is_empty()
185 Entry::Occupied { in free_entry()
193 Entry::Occupied { entry } => entry, in free_entry()
199 Entry::Free { in free_entry()
203 Entry::Occupied { entry } => entry, in free_entry()
236 .and_then(Entry::occupied) in occupied()
243 .and_then(Entry::occupied_mut) in occupied_mut()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/windows/
H A Dunwind64.rs21 use IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY as Entry; in new()
23 use IMAGE_RUNTIME_FUNCTION_ENTRY as Entry; in new()
26 let unit_len = mem::size_of::<Entry>(); in new()
30 unwind_info as *mut Entry, in new()
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dbtree_map.rs452 pub enum Entry<'a, K, V> enum
460 impl<'a, K, V> Entry<'a, K, V> impl
486 Entry::Occupied(e) => { in or_insert_with_key()
490 Entry::Vacant(mut e) => { in or_insert_with_key()
510 Entry::Vacant(e) => e.key, in key()
520 Entry::Occupied(mut e) => { in and_modify()
522 Entry::Occupied(e) in and_modify()
524 e @ Entry::Vacant(_) => e, in and_modify()
532 Entry::Occupied(e) => Ok(e), in insert_entry()
909 Entry::Occupied(e) => e, in entry()
[all …]
/wasmtime-44.0.1/crates/gdbstub-component/src/
H A Daddr.rs7 use std::collections::{HashMap, hash_map::Entry};
45 Entry::Occupied(o) => *o.get(), in module_id()
46 Entry::Vacant(v) => { in module_id()
58 Entry::Occupied(o) => *o.get(), in memory_id()
59 Entry::Vacant(v) => { in memory_id()
/wasmtime-44.0.1/crates/wasi-http/src/
H A Dfield_map.rs1 use http::header::Entry;
95 Entry::Vacant(e) => match values.next() { in set()
102 Entry::Occupied(mut e) => { in set()
130 Entry::Vacant { .. } => Ok(Vec::new()), in remove_all()
131 Entry::Occupied(e) => { in remove_all()
H A Dhandler.rs8 use std::collections::btree_map::{BTreeMap, Entry};
206 let Entry::Occupied(mut entry) = self.0.entry(time) else { in remove() localVariable
/wasmtime-44.0.1/crates/wizer/src/component/
H A Dparse.rs2 use std::collections::hash_map::Entry;
91 Entry::Vacant(entry) => { in parse_into()
94 Entry::Occupied(_) => { in parse_into()
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dstablemapset.rs5 use std::collections::hash_map::Entry;
68 pub(crate) fn entry(&mut self, k: K) -> Entry<'_, K, V> { in entry()
H A Doverlap.rs3 use std::collections::hash_map::Entry;
48 if let Entry::Occupied(mut entry) = self.nodes.entry(*other) { in report()
H A Dtrie_again.rs8 use std::collections::{HashMap, hash_map::Entry};
372 Entry::Occupied(entry) => { in set_constraint()
381 Entry::Vacant(entry) => { in set_constraint()
/wasmtime-44.0.1/crates/wiggle/generate/src/
H A Dconfig.rs476 use std::collections::hash_map::Entry; in parse()
484 Entry::Occupied(o) => o.into_mut().extend(function_names), in parse()
485 Entry::Vacant(v) => { in parse()
633 use std::collections::hash_map::Entry; in parse()
641 Entry::Occupied(o) => o.into_mut().extend(function_names), in parse()
642 Entry::Vacant(v) => { in parse()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dindex_allocator.rs3 use crate::hash_map::{Entry, HashMap};
323 Entry::Occupied(mut e) => e in free()
326 Entry::Vacant(v) => { in free()
427 Entry::Occupied(e) => e, in remove()
428 Entry::Vacant(_) => unreachable!(), in remove()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dframe_table.rs16 use std::collections::{HashMap, hash_map::Entry};
125 Entry::Occupied(o) => *o.get(), in push_stack()
126 Entry::Vacant(v) => { in push_stack()
H A Dmodule_types.rs10 collections::{HashMap, hash_map::Entry},
333 Entry::Occupied(o) => *o.get(), in define_exception_type_for_tag()
334 Entry::Vacant(v) => { in define_exception_type_for_tag()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/module/
H A Dregistry.rs15 use wasmtime_environ::{VMSharedTypeIndex, collections::btree_map::Entry};
240 Entry::Vacant(v) => { in register()
253 Entry::Occupied(o) => *o.get(), in register()
/wasmtime-44.0.1/crates/cranelift/src/debug/transform/
H A Dsynthetic.rs53 DebugInfoRef::Entry(self.unit_id, self.vmctx_ptr_die_id) in vmctx_ptr_die_ref()
57 DebugInfoRef::Entry(self.unit_id, self.wasm_ptr_die_id) in wasm_ptr_die_ref()
/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dtypes.rs6 use std::collections::btree_map::Entry;
154 Entry::Vacant(e) => { in insert_rec_group()
158 Entry::Occupied(_) => false, in insert_rec_group()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dfunction_runner.rs22 use std::collections::hash_map::Entry;
187 Entry::Occupied(_) => { in declare_function()
190 Entry::Vacant(v) => { in declare_function()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Ddebug.rs17 use alloc::collections::{BTreeMap, BTreeSet, btree_map::Entry};
642 Entry::Occupied(frames) => frames.into_mut(), in lookup_or_compute()
643 Entry::Vacant(v) => { in lookup_or_compute()
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dvcode.rs34 use crate::hash_map::Entry;
1862 Entry::Vacant(v) => { in insert()
1867 Entry::Occupied(o) => *o.get(), in insert()
1871 Entry::Vacant(v) => { in insert()
1876 Entry::Occupied(o) => *o.get(), in insert()
/wasmtime-44.0.1/cranelift/object/src/
H A Dbackend.rs22 use std::collections::hash_map::Entry;
672 Entry::Occupied(o) => *o.get(), in get_symbol()
673 Entry::Vacant(v) => { in get_symbol()

12