Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 27) sorted by relevance

12

/wasmtime-44.0.1/crates/environ/examples/
H A Dbtrees.rs10 trait Map { trait
14 impl Map for BTreeMap<Key, Value> {
21 impl Map for collections::TryBTreeMap<Key, Value> {
33 let mut map: Box<dyn Map> = match kind.as_str() { in main()
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dbforest_map.rs2 use cranelift_bforest::{Map, MapForest};
10 let mut map = Map::new(); in bforest_map()
/wasmtime-44.0.1/tests/all/component_model/
H A Ddynamic.rs153 let input = Val::Map(input_map); in maps()
160 Val::Map(output_map) => { in maps()
188 let err = Val::Map(err_map); in maps()
198 let err = Val::Map(err_map2); in maps()
241 Val::Map(output_map) => { in maps_complex_types()
288 assert_eq!(Val::Map(map1.clone()), Val::Map(map2)); in maps_equality()
295 assert_ne!(Val::Map(map1.clone()), Val::Map(map3)); in maps_equality()
302 assert_ne!(Val::Map(map1), Val::Map(map4)); in maps_equality()
307 assert_eq!(Val::Map(empty1), Val::Map(empty2)); in maps_equality()
334 Val::Map(output_map) => { in maps_duplicate_keys()
[all …]
H A Dfunc.rs3972 let input = Val::Map(test_data.clone()); in map_trampoline_alignment()
3978 Val::Map(output) => { in map_trampoline_alignment()
4105 let input = Val::Map(test_data.clone()); in map_trampoline_alignment_u32_u64()
4111 Val::Map(output) => { in map_trampoline_alignment_u32_u64()
4236 let input = Val::Map(test_data.clone()); in map_trampoline_alignment_u8_u32()
4242 Val::Map(output) => { in map_trampoline_alignment_u8_u32()
4367 let input = Val::Map(test_data.clone()); in map_trampoline_alignment_u16_u64()
4373 Val::Map(output) => { in map_trampoline_alignment_u16_u64()
4498 let input = Val::Map(test_data.clone()); in map_trampoline_alignment_u8_u16()
4504 Val::Map(output) => { in map_trampoline_alignment_u8_u16()
[all …]
/wasmtime-44.0.1/cranelift/bforest/src/
H A Dmap.rs76 pub struct Map<K, V> struct
85 impl<K, V> Map<K, V> argument
273 impl<K, V> Default for Map<K, V> implementation
284 impl<K, V> Map<K, V> implementation
888 let mut m = Map::<u32, f32>::new(); in empty()
912 let mut m = Map::<u32, f32>::new(); in inserting()
1021 let mut m = Map::new(); in split_level0_leaf()
1079 let mut m = Map::new(); in split_level1_leaf()
1199 let mut m = Map::new(); in two_leaf()
1295 let mut m = Map::new(); in level3_sparse()
[all …]
H A Dlib.rs35 pub use self::map::{Map, MapCursor, MapCursorMut, MapForest, MapIntoIter, MapIter, MapRange};
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dtypes.rs111 (InterfaceType::Map(m1), InterfaceType::Map(m2)) => self.maps_equal(m1, m2), in interface_types_equal()
112 (InterfaceType::Map(_), _) => false, in interface_types_equal()
338 pub struct Map(Handle<TypeMapIndex>); struct
340 impl PartialEq for Map { implementation
346 impl Eq for Map {} implementation
348 impl Map { impl
350 Map(Handle::new(index, ty)) in from()
723 Map(Map), enumerator
884 InterfaceType::Map(index) => Type::Map(Map::from(*index, instance)), in from()
917 Type::Map(_) => "map", in desc()
H A Dvalues.rs84 Map(Vec<(Val, Val)>), enumerator
130 InterfaceType::Map(i) => { in lift()
250 InterfaceType::Map(i) => { in load()
435 (InterfaceType::Map(ty), Val::Map(pairs)) => { in lower()
442 (InterfaceType::Map(_), _) => unexpected(ty, self), in lower()
572 (InterfaceType::Map(ty_idx), Val::Map(values)) => { in store()
580 (InterfaceType::Map(_), _) => unexpected(ty, self), in store()
693 Val::Map(_) => "map", in desc()
768 (Self::Map(l), Self::Map(r)) => l == r, in eq()
769 (Self::Map(_), _) => false, in eq()
[all …]
/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/
H A Dval.hh422 friend class Map;
446 class Map { class
449 VAL_REPR(Map, wasmtime_component_valmap_t);
463 Map(std::vector<std::pair<Val, Val>> entries);
705 Val(Map m) { in Val()
707 Map::transfer(std::move(m.raw), raw.of.map); in Val()
909 const Map &get_map() const { in get_map()
911 return *Map::from_capi(&raw.of.map); in get_map()
927 inline Map::Map(std::vector<std::pair<Val, Val>> entries) { in Map() function in wasmtime::component::Map
/wasmtime-44.0.1/crates/environ/src/graphs/
H A Dscc.rs51 struct Map<'a, Node: EntityRef + Debug>(&'a StronglyConnectedComponents<Node>); in fmt() struct
53 impl<'a, Node> Debug for Map<'a, Node> in fmt() implementation
63 .field("components", &Map(self)) in fmt()
375 struct Map<'a>(&'a Evaporation); in fmt() struct
377 impl<'a> Debug for Map<'a> { in fmt() implementation
391 .field("reverse_edges", &Map(self)) in fmt()
/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dval.rs34 Map(Box<wasmtime_component_map_type_t>), enumerator
65 Type::Map(ty) => Self::Map(Box::new(ty.into())), in from()
116 pub(crate) ty: Map,
/wasmtime-44.0.1/crates/c-api/src/component/
H A Dval.rs276 Map(wasmtime_component_valmap_t), enumerator
318 wasmtime_component_val_t::Map(x) => Val::Map(x.into()), in from()
353 Val::Map(x) => wasmtime_component_val_t::Map(x.as_slice().into()), in from()
/wasmtime-44.0.1/crates/test-util/src/
H A Dcomponent_fuzz.rs128 Map(Box<Type>, Box<Type>), enumerator
199 21 => Type::Map( in generate()
284 Type::String | Type::List(_) | Type::Map(_, _) => Kind::PointerPair, in store_flat()
411 | Type::Map(_, _) in store_flat_helper()
452 Type::String | Type::List(_) | Type::Map(_, _) => Kind::PointerPair, in load_flat()
589 | Type::Map(_, _) in load_flat_helper()
706 Type::String | Type::List(_) | Type::Map(_, _) => { in lower()
745 Type::String | Type::List(_) | Type::Map(_, _) => SizeAndAlignment { in size_and_alignment()
1200 Type::Map(key_ty, value_ty) => { in rust_type()
1374 | Type::Map(_, _) in write_ref()
[all …]
/wasmtime-44.0.1/crates/explorer/src/
H A Dindex.js17 this.cache = new Map();
85 let offsetToRgb = new Map();
/wasmtime-44.0.1/crates/wit-bindgen/src/
H A Drust.rs124 | TypeDefKind::Map(_, _) in tyid()
191 TypeDefKind::Map(k, v) => { in tyid()
H A Dtypes.rs151 TypeDefKind::Map(k, v) => { in type_id_info()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dcomponent_api.rs121 Type::Map(map) => { in arbitrary_val()
129 Val::Map(pairs) in arbitrary_val()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/wave/
H A Dcomponent.rs49 | Self::Map(_) => WasmTypeKind::Unsupported, in kind()
146 | Self::Map(_) => WasmTypeKind::Unsupported, in kind()
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dflowgraph.rs61 pub predecessors: bforest::Map<Inst, Block>,
/wasmtime-44.0.1/crates/environ/src/component/
H A Dtypes_builder.rs446 ComponentDefinedType::Map(key, value) => { in defined_type()
447 InterfaceType::Map(self.map_type(types, key, value)?) in defined_type()
892 InterfaceType::Map(i) => &self.type_info.maps[*i], in type_information()
H A Dtypes.rs369 InterfaceType::String | InterfaceType::List(_) | InterfaceType::Map(_) => { in canonical_abi()
600 Map(TypeMapIndex), enumerator
/wasmtime-44.0.1/crates/wast/src/
H A Dcomponent.rs293 Val::Map(..) => "map", in mismatch()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/
H A Dtyped.rs2122 InterfaceType::Map(i) => &types[i], in map_abi()
2237 InterfaceType::Map(t) => { in typecheck()
3172 InterfaceType::Map(_) => "map", in desc()
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dbtree_map.rs15 map: cranelift_bforest::Map<K, Id>,
/wasmtime-44.0.1/docs/js/
H A Dmermaid.min.11.6.0.js798 …){let e={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:…
803Map,this.allRules=new Map,this.lexer=e.parser.Lexer;let r=this.lexer.definition,n=e.LanguageMetaDa…
812Map,n=new Map;for(let i of Wo(e))r.set(i,{});if(e.$cstNode)for(let i of Kd(e.$cstNode))n.set(i,{})…
816Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch…
1137 …w Map,showData:!1,config:Jue},m6=lO.sections,cO=lO.showData,eGe=structuredClone(Jue),tGe=o(()=>str…
1183Map;this.latestElement=this.getInitialElement();this.elements=new Map;this.classes=new Map;this.di…
1246 …this.state=new pf(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new
2408Map,ZB=[],QB=new Map,Tye="color",kye="fill",zet="bgFill",Sye=",",Get=me(),eC=new Map,Vet=o(t=>Ze.s…
2554Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1…
2562 .${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),ant=o((t,e=new Map)=>{…
[all …]

12