Home
last modified time | relevance | path

Searched refs:HashMap (Results 1 – 25 of 109) sorted by relevance

12345

/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dstablemapset.rs6 use std::collections::{HashMap, HashSet};
36 pub struct StableMap<K, V>(HashMap<K, V>);
40 StableMap(HashMap::new()) in new()
51 StableMap(HashMap::new()) in default()
81 impl<K, V> From<HashMap<K, V>> for StableMap<K, V> {
82 fn from(map: HashMap<K, V>) -> Self { in from()
89 StableMap(HashMap::from_iter(iter)) in from_iter()
H A Drecursion.rs3 use std::collections::{HashMap, HashSet};
39 let edges: HashMap<TermId, HashSet<TermId>> = terms in terms_in_cycles()
56 let mut states = HashMap::new(); in terms_in_cycles()
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/
H A Dinterp.rs5 use std::collections::HashMap;
34 pub var_map: HashMap<VarId, BoundVar>,
37 pub typesols: &'ctx HashMap<RuleId, RuleSemantics>,
41 pub fn new(typesols: &'ctx HashMap<RuleId, RuleSemantics>) -> Context<'ctx> { in new()
46 var_map: HashMap::new(), in new()
H A Dannotations.rs2 use std::collections::HashMap;
17 pub enums: HashMap<String, Expr>,
22 pub annotation_map: HashMap<TermId, TermAnnotation>,
29 pub model_map: HashMap<TypeId, annotation_ir::Type>,
44 ) -> HashMap<String, Vec<TermTypeSignature>> { in get_term_signatures_by_name()
45 let mut term_signatures_by_name = HashMap::new(); in get_term_signatures_by_name()
335 let mut annotation_map = HashMap::new(); in parse_annotations()
336 let mut model_map = HashMap::new(); in parse_annotations()
340 enums: HashMap::new(), in parse_annotations()
432 let mut forms_map = HashMap::new(); in parse_annotations()
[all …]
/wasmtime-44.0.1/cranelift/codegen/meta/src/shared/
H A Dmod.rs18 use std::collections::HashMap;
52 let mut format_names: HashMap<&'static str, &Rc<InstructionFormat>> = HashMap::new(); in verify_instruction_formats()
56 let mut format_structures: HashMap<FormatStructure, Rc<InstructionFormat>> = HashMap::new(); in verify_instruction_formats()
H A Dimmediates.rs3 use std::collections::HashMap;
121 let mut intcc_values = HashMap::new(); in new()
141 let mut floatcc_values = HashMap::new(); in new()
167 let mut trapcode_values = HashMap::new(); in new()
181 let mut atomic_rmw_op_values = HashMap::new(); in new()
/wasmtime-44.0.1/crates/environ/src/component/
H A Dtypes_builder.rs9 use std::collections::HashMap;
41 maps: HashMap<TypeMap, TypeMapIndex>,
106 lists: HashMap::default(), in new()
107 maps: HashMap::default(), in new()
108 records: HashMap::default(), in new()
110 tuples: HashMap::default(), in new()
111 enums: HashMap::default(), in new()
112 flags: HashMap::default(), in new()
113 options: HashMap::default(), in new()
114 results: HashMap::default(), in new()
[all …]
/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Denv.rs9 HashMap,
117 resolved_tables: HashMap<TableIndex, TableData>,
119 resolved_heaps: HashMap<MemoryIndex, HeapData>,
122 resolved_callees: HashMap<FuncIndex, ABISig>,
125 resolved_sigs: HashMap<TypeIndex, ABISig>,
127 resolved_globals: HashMap<GlobalIndex, GlobalData>,
160 resolved_tables: HashMap::new(), in new()
161 resolved_heaps: HashMap::new(), in new()
162 resolved_callees: HashMap::new(), in new()
163 resolved_sigs: HashMap::new(), in new()
[all …]
/wasmtime-44.0.1/crates/test-programs/artifacts/src/
H A Dlib.rs4 use std::collections::HashMap;
50 static CACHE: Mutex<Option<HashMap<Vec<u8>, Vec<u8>>>> = Mutex::new(None); in cache_store()
55 let cache = cache.get_or_insert_with(HashMap::new); in cache_store()
61 let cache = cache.get_or_insert_with(HashMap::new); in cache_store()
/wasmtime-44.0.1/crates/wasi-nn/src/registry/
H A Din_memory.rs6 use std::{collections::HashMap, path::Path};
9 pub struct InMemoryRegistry(HashMap<String, Graph>);
12 Self(HashMap::new()) in new()
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/solver/encoded_ops/
H A Dmod.rs12 use std::collections::HashMap;
25 tyvars: HashMap::new(), in get_ctx()
26 tymap: HashMap::new(), in get_ctx()
27 tyvals: HashMap::new(), in get_ctx()
28 bv_unknown_width_sets: HashMap::new(), in get_ctx()
31 var_map: HashMap::new(), in get_ctx()
32 width_vars: HashMap::new(), in get_ctx()
/wasmtime-44.0.1/crates/gdbstub-component/src/
H A Daddr.rs7 use std::collections::{HashMap, hash_map::Entry};
11 module_ids: HashMap<u64, u32>,
12 memory_ids: HashMap<u64, u32>,
35 module_ids: HashMap::new(), in new()
38 memory_ids: HashMap::new(), in new()
/wasmtime-44.0.1/crates/wiggle/generate/src/
H A Dconfig.rs3 std::{collections::HashMap, path::PathBuf},
280 pub struct ErrorConf(HashMap<Ident, ErrorConfField>);
294 let mut m = HashMap::new(); in parse()
424 Some(HashMap<String, Vec<String>>),
429 AsyncFunctions::Some(HashMap::default()) in default()
475 let mut functions: HashMap<String, Vec<String>> = HashMap::new(); in parse()
597 excluded_functions: HashMap<String, Vec<String>>,
616 excluded_functions: HashMap::new(), in default()
632 let mut functions: HashMap<String, Vec<String>> = HashMap::new(); in parse()
655 excluded_functions: HashMap::new(), in parse()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_types.rs10 collections::{HashMap, hash_map::Entry},
44 trampoline_types: HashMap<WasmFuncType, ModuleInternedTypeIndex>,
50 exception_types: HashMap<ModuleInternedTypeIndex, ModuleInternedTypeIndex>,
54 wasmparser_to_wasmtime: HashMap<wasmparser::types::CoreTypeId, ModuleInternedTypeIndex>,
57 already_seen: HashMap<wasmparser::types::RecGroupId, ModuleInternedRecGroupIndex>,
70 trampoline_types: HashMap::default(), in new()
71 exception_types: HashMap::default(), in new()
72 wasmparser_to_wasmtime: HashMap::default(), in new()
73 already_seen: HashMap::default(), in new()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dcore_types.rs2 use std::collections::HashMap;
10 intern: HashMap<(Vec<ValType>, Vec<ValType>), u32>,
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dvalue_label.rs1 use crate::HashMap;
32 pub type ValueLabelsRanges = HashMap<ValueLabel, Vec<ValueLocRange>>;
H A Dlib.rs25 use hashbrown::{HashMap, HashSet, hash_map};
27 use std::collections::{HashMap, HashSet, hash_map};
30 pub type FxHashMap<K, V> = HashMap<K, V, rustc_hash::FxBuildHasher>;
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dfuzz_async.rs147 use std::collections::{HashMap, HashSet};
234 async_pending_exports_ready: HashMap<u32, oneshot::Sender<()>>,
237 future_readers: HashMap<u32, FutureReader<u32>>,
238 future_writers: HashMap<u32, FutureWriter<u32>>,
240 future_read_cancel_signals: HashMap<u32, oneshot::Sender<()>>,
241 future_writes_completed: HashMap<u32, bool>,
242 future_reads_completed: HashMap<u32, u32>,
244 stream_readers: HashMap<u32, StreamReader<u32>>,
245 stream_writers: HashMap<u32, StreamWriter<u32>>,
247 stream_read_cancel_signals: HashMap<u32, oneshot::Sender<()>>,
[all …]
/wasmtime-44.0.1/cranelift/frontend/src/
H A Dlib.rs164 use hashbrown::{HashMap, HashSet};
166 use std::collections::{HashMap, HashSet};
/wasmtime-44.0.1/crates/environ/src/component/types_builder/
H A Dresources.rs75 use std::collections::HashMap;
115 resource_id_to_table_index: HashMap<ResourceId, TypeResourceTableIndex>,
125 resource_id_to_resource_index: HashMap<ResourceId, ResourceIndexKind>,
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dhash_map.rs19 inner: inner::HashMap<K, V, S>,
44 inner: inner::HashMap::default(), in default()
82 inner: inner::HashMap::new(), in new()
104 inner: inner::HashMap::with_hasher(hasher), in with_hasher()
256 impl<K, V, S> From<TryHashMap<K, V, S>> for inner::HashMap<K, V, S> { implementation
/wasmtime-44.0.1/examples/wasip2-plugins/src/
H A Dmain.rs2 use std::collections::HashMap;
46 pub plugin_descs: HashMap<String, PluginDesc>,
58 plugin_descs: HashMap::new(), in new()
/wasmtime-44.0.1/cranelift/fuzzgen/src/
H A Dconfig.rs1 use std::collections::HashMap;
67 pub compile_flag_ratio: HashMap<&'static str, (usize, usize)>,
/wasmtime-44.0.1/examples/resource-component/
H A Dmain.rs9 use std::collections::HashMap;
61 pub storage: HashMap<String, String>,
77 storage: HashMap::new(), in new()
/wasmtime-44.0.1/crates/wasi-common/src/
H A Dtable.rs3 use std::collections::HashMap;
16 map: HashMap<u32, Arc<dyn Any + Send + Sync>>,
24 map: HashMap::new(), in new()

12345