| /wasmtime-44.0.1/crates/component-macro/tests/expanded/ |
| H A D | records.rs | 194 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 238 #[derive(wasmtime::component::ComponentType)] 286 #[derive(wasmtime::component::ComponentType)] 349 #[derive(wasmtime::component::ComponentType)] 572 #[derive(wasmtime::component::ComponentType)] 596 #[derive(wasmtime::component::ComponentType)] 630 #[derive(wasmtime::component::ComponentType)] 683 #[derive(wasmtime::component::ComponentType)] 720 4 == < Aggregates as wasmtime::component::ComponentType [all …]
|
| H A D | records_concurrent.rs | 194 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 238 #[derive(wasmtime::component::ComponentType)] 286 #[derive(wasmtime::component::ComponentType)] 349 #[derive(wasmtime::component::ComponentType)] 583 #[derive(wasmtime::component::ComponentType)] 607 #[derive(wasmtime::component::ComponentType)] 641 #[derive(wasmtime::component::ComponentType)] 694 #[derive(wasmtime::component::ComponentType)] 731 4 == < Aggregates as wasmtime::component::ComponentType [all …]
|
| H A D | records_async.rs | 194 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 238 #[derive(wasmtime::component::ComponentType)] 286 #[derive(wasmtime::component::ComponentType)] 349 #[derive(wasmtime::component::ComponentType)] 650 #[derive(wasmtime::component::ComponentType)] 674 #[derive(wasmtime::component::ComponentType)] 708 #[derive(wasmtime::component::ComponentType)] 761 #[derive(wasmtime::component::ComponentType)] 798 4 == < Aggregates as wasmtime::component::ComponentType [all …]
|
| H A D | variants.rs | 194 #[derive(wasmtime::component::ComponentType)] 215 #[derive(wasmtime::component::ComponentType)] 230 #[derive(wasmtime::component::ComponentType)] 265 #[derive(wasmtime::component::ComponentType)] 288 #[derive(wasmtime::component::ComponentType)] 311 #[derive(wasmtime::component::ComponentType)] 334 #[derive(wasmtime::component::ComponentType)] 357 #[derive(wasmtime::component::ComponentType)] 380 #[derive(wasmtime::component::ComponentType)] 403 #[derive(wasmtime::component::ComponentType)] [all …]
|
| H A D | share-types.rs | 193 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 228 4 == < Response as wasmtime::component::ComponentType >::ALIGN32 259 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 260 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 264 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); 265 assert!(4 == < Response as wasmtime::component::ComponentType >::ALIGN32); 308 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 309 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 313 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | variants_concurrent.rs | 194 #[derive(wasmtime::component::ComponentType)] 215 #[derive(wasmtime::component::ComponentType)] 230 #[derive(wasmtime::component::ComponentType)] 265 #[derive(wasmtime::component::ComponentType)] 288 #[derive(wasmtime::component::ComponentType)] 311 #[derive(wasmtime::component::ComponentType)] 334 #[derive(wasmtime::component::ComponentType)] 357 #[derive(wasmtime::component::ComponentType)] 380 #[derive(wasmtime::component::ComponentType)] 403 #[derive(wasmtime::component::ComponentType)] [all …]
|
| H A D | variants_async.rs | 194 #[derive(wasmtime::component::ComponentType)] 215 #[derive(wasmtime::component::ComponentType)] 230 #[derive(wasmtime::component::ComponentType)] 265 #[derive(wasmtime::component::ComponentType)] 288 #[derive(wasmtime::component::ComponentType)] 311 #[derive(wasmtime::component::ComponentType)] 334 #[derive(wasmtime::component::ComponentType)] 357 #[derive(wasmtime::component::ComponentType)] 380 #[derive(wasmtime::component::ComponentType)] 403 #[derive(wasmtime::component::ComponentType)] [all …]
|
| H A D | share-types_async.rs | 193 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 228 4 == < Response as wasmtime::component::ComponentType >::ALIGN32 259 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 260 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 264 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); 265 assert!(4 == < Response as wasmtime::component::ComponentType >::ALIGN32); 316 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 317 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 321 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | share-types_concurrent.rs | 193 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 228 4 == < Response as wasmtime::component::ComponentType >::ALIGN32 259 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 260 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 264 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); 265 assert!(4 == < Response as wasmtime::component::ComponentType >::ALIGN32); 305 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 306 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 310 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | records_tracing_async.rs | 194 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 238 #[derive(wasmtime::component::ComponentType)] 286 #[derive(wasmtime::component::ComponentType)] 349 #[derive(wasmtime::component::ComponentType)] 811 #[derive(wasmtime::component::ComponentType)] 835 #[derive(wasmtime::component::ComponentType)] 869 #[derive(wasmtime::component::ComponentType)] 922 #[derive(wasmtime::component::ComponentType)] 959 4 == < Aggregates as wasmtime::component::ComponentType [all …]
|
| H A D | dead-code.rs | 188 #[derive(wasmtime::component::ComponentType)] 203 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 205 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 248 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 250 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 253 #[derive(wasmtime::component::ComponentType)] 268 assert!(4 == < DeadType as wasmtime::component::ComponentType >::SIZE32); 270 4 == < DeadType as wasmtime::component::ComponentType >::ALIGN32 273 #[derive(wasmtime::component::ComponentType)] 293 assert!(8 == < V as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | share-types_tracing_async.rs | 193 #[derive(wasmtime::component::ComponentType)] 211 #[derive(wasmtime::component::ComponentType)] 228 4 == < Response as wasmtime::component::ComponentType >::ALIGN32 259 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 260 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 264 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); 265 assert!(4 == < Response as wasmtime::component::ComponentType >::ALIGN32); 332 assert!(8 == < Request as wasmtime::component::ComponentType >::SIZE32); 333 assert!(4 == < Request as wasmtime::component::ComponentType >::ALIGN32); 337 assert!(8 == < Response as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | dead-code_async.rs | 188 #[derive(wasmtime::component::ComponentType)] 203 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 205 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 252 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 254 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 257 #[derive(wasmtime::component::ComponentType)] 272 assert!(4 == < DeadType as wasmtime::component::ComponentType >::SIZE32); 274 4 == < DeadType as wasmtime::component::ComponentType >::ALIGN32 277 #[derive(wasmtime::component::ComponentType)] 297 assert!(8 == < V as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | dead-code_concurrent.rs | 188 #[derive(wasmtime::component::ComponentType)] 203 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 205 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 244 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 246 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 249 #[derive(wasmtime::component::ComponentType)] 264 assert!(4 == < DeadType as wasmtime::component::ComponentType >::SIZE32); 266 4 == < DeadType as wasmtime::component::ComponentType >::ALIGN32 269 #[derive(wasmtime::component::ComponentType)] 289 assert!(8 == < V as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | dead-code_tracing_async.rs | 188 #[derive(wasmtime::component::ComponentType)] 203 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 205 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 265 assert!(4 == < LiveType as wasmtime::component::ComponentType >::SIZE32); 267 4 == < LiveType as wasmtime::component::ComponentType >::ALIGN32 270 #[derive(wasmtime::component::ComponentType)] 285 assert!(4 == < DeadType as wasmtime::component::ComponentType >::SIZE32); 287 4 == < DeadType as wasmtime::component::ComponentType >::ALIGN32 290 #[derive(wasmtime::component::ComponentType)] 310 assert!(8 == < V as wasmtime::component::ComponentType >::SIZE32); [all …]
|
| H A D | worlds-with-types_concurrent.rs | 3 assert!(2 == < U as wasmtime::component::ComponentType >::SIZE32); 4 assert!(2 == < U as wasmtime::component::ComponentType >::ALIGN32); 8 assert!(4 == < T as wasmtime::component::ComponentType >::SIZE32); 9 assert!(4 == < T as wasmtime::component::ComponentType >::ALIGN32); 11 #[derive(wasmtime::component::ComponentType)] 23 assert!(0 == < R as wasmtime::component::ComponentType >::SIZE32); 24 assert!(1 == < R as wasmtime::component::ComponentType >::ALIGN32); 246 assert!(2 == < T as wasmtime::component::ComponentType >::SIZE32); 247 assert!(2 == < T as wasmtime::component::ComponentType >::ALIGN32);
|
| H A D | worlds-with-types_tracing_async.rs | 3 assert!(2 == < U as wasmtime::component::ComponentType >::SIZE32); 4 assert!(2 == < U as wasmtime::component::ComponentType >::ALIGN32); 8 assert!(4 == < T as wasmtime::component::ComponentType >::SIZE32); 9 assert!(4 == < T as wasmtime::component::ComponentType >::ALIGN32); 11 #[derive(wasmtime::component::ComponentType)] 23 assert!(0 == < R as wasmtime::component::ComponentType >::SIZE32); 24 assert!(1 == < R as wasmtime::component::ComponentType >::ALIGN32); 253 assert!(2 == < T as wasmtime::component::ComponentType >::SIZE32); 254 assert!(2 == < T as wasmtime::component::ComponentType >::ALIGN32);
|
| H A D | worlds-with-types_async.rs | 3 assert!(2 == < U as wasmtime::component::ComponentType >::SIZE32); 4 assert!(2 == < U as wasmtime::component::ComponentType >::ALIGN32); 8 assert!(4 == < T as wasmtime::component::ComponentType >::SIZE32); 9 assert!(4 == < T as wasmtime::component::ComponentType >::ALIGN32); 11 #[derive(wasmtime::component::ComponentType)] 23 assert!(0 == < R as wasmtime::component::ComponentType >::SIZE32); 24 assert!(1 == < R as wasmtime::component::ComponentType >::ALIGN32); 245 assert!(2 == < T as wasmtime::component::ComponentType >::SIZE32); 246 assert!(2 == < T as wasmtime::component::ComponentType >::ALIGN32);
|
| H A D | worlds-with-types.rs | 3 assert!(2 == < U as wasmtime::component::ComponentType >::SIZE32); 4 assert!(2 == < U as wasmtime::component::ComponentType >::ALIGN32); 8 assert!(4 == < T as wasmtime::component::ComponentType >::SIZE32); 9 assert!(4 == < T as wasmtime::component::ComponentType >::ALIGN32); 11 #[derive(wasmtime::component::ComponentType)] 23 assert!(0 == < R as wasmtime::component::ComponentType >::SIZE32); 24 assert!(1 == < R as wasmtime::component::ComponentType >::ALIGN32); 242 assert!(2 == < T as wasmtime::component::ComponentType >::SIZE32); 243 assert!(2 == < T as wasmtime::component::ComponentType >::ALIGN32);
|
| H A D | flags.rs | 194 assert!(1 == < Flag1 as wasmtime::component::ComponentType >::SIZE32); 195 assert!(1 == < Flag1 as wasmtime::component::ComponentType >::ALIGN32); 202 assert!(1 == < Flag2 as wasmtime::component::ComponentType >::SIZE32); 203 assert!(1 == < Flag2 as wasmtime::component::ComponentType >::ALIGN32); 211 assert!(1 == < Flag4 as wasmtime::component::ComponentType >::SIZE32); 222 assert!(1 == < Flag8 as wasmtime::component::ComponentType >::SIZE32); 447 1 == < Flag1 as wasmtime::component::ComponentType >::SIZE32 450 1 == < Flag1 as wasmtime::component::ComponentType >::ALIGN32 459 1 == < Flag2 as wasmtime::component::ComponentType >::SIZE32 472 1 == < Flag4 as wasmtime::component::ComponentType >::SIZE32 [all …]
|
| H A D | variants_tracing_async.rs | 194 #[derive(wasmtime::component::ComponentType)] 215 #[derive(wasmtime::component::ComponentType)] 230 #[derive(wasmtime::component::ComponentType)] 265 #[derive(wasmtime::component::ComponentType)] 288 #[derive(wasmtime::component::ComponentType)] 311 #[derive(wasmtime::component::ComponentType)] 334 #[derive(wasmtime::component::ComponentType)] 357 #[derive(wasmtime::component::ComponentType)] 380 #[derive(wasmtime::component::ComponentType)] 403 #[derive(wasmtime::component::ComponentType)] [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | concurrent_disabled.rs | 3 use crate::component::{ComponentType, Lift, Lower, RuntimeInstance, Val}; 50 _src: &<u32 as ComponentType>::Lower, in linear_lift_from_flat() 67 unsafe impl ComponentType for FutureAny { 68 type Lower = <u32 as ComponentType>::Lower; 117 unsafe impl ComponentType for StreamAny { 118 type Lower = <u32 as ComponentType>::Lower;
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/component/types/ |
| H A D | component.hh | 29 class ComponentType { class 30 WASMTIME_CLONE_WRAPPER(ComponentType, wasmtime_component_type); 140 const ComponentType &component() const { in component() 142 return *ComponentType::from_capi(&item.of.component); in component() 182 wasmtime::component::ComponentType::import_get(const wasmtime::Engine &engine, in import_get() 195 wasmtime::component::ComponentType::import_nth(const wasmtime::Engine &engine, in import_nth() 210 wasmtime::component::ComponentType::export_get(const wasmtime::Engine &engine, in export_get() 223 wasmtime::component::ComponentType::export_nth(const wasmtime::Engine &engine, in export_nth()
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component.rs | 6 use wasmtime::component::{ComponentType, Lift, Lower}; 54 unsafe impl ComponentType for $a { impl 55 type Lower = <$b as ComponentType>::Lower; 57 const ABI: CanonicalAbiInfo = <$b as ComponentType>::ABI; 61 <$b as ComponentType>::typecheck(ty, types)
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/concurrent/ |
| H A D | future_stream_any.rs | 9 ComponentInstanceId, ComponentType, FutureReader, Lift, Lower, StreamReader, 74 T: ComponentType + 'static, in try_into_future_reader() 93 T: ComponentType + 'static, in try_from_future_reader() 141 unsafe impl ComponentType for FutureAny { 144 type Lower = <u32 as ComponentType>::Lower; 246 T: ComponentType + 'static, in try_into_stream_reader() 265 T: ComponentType + 'static, in try_from_stream_reader() 311 unsafe impl ComponentType for StreamAny { 314 type Lower = <u32 as ComponentType>::Lower; 415 P: ComponentType + 'static, in new_host() [all …]
|