Home
last modified time | relevance | path

Searched refs:ComponentFunc (Results 1 – 25 of 31) sorted by relevance

12

/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dfunc.rs3 use wasmtime::component::types::ComponentFunc;
7 pub(crate) ty: ComponentFunc,
H A Dcomponent.rs124 ComponentFunc(Box<wasmtime_component_func_type_t>), enumerator
140 ComponentItem::ComponentFunc(ty) => { in from()
141 wasmtime_component_item_t::ComponentFunc(Box::new(ty.into())) in from()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/
H A Dhost.rs10 use crate::component::types::ComponentFunc;
161 F: Fn(StoreContextMut<'_, T>, ComponentFunc, &[Val], &mut [Val]) -> Result<()> in func_new() argument
185 ComponentFunc, in func_new_async() argument
217 ComponentFunc, in func_new_concurrent() argument
691 F: Fn(StoreContextMut<'_, T>, ComponentFunc, Vec<Val>, usize) -> HostResult<Vec<Val>>, in new() argument
697 impl<T, F, const ASYNC: bool> HostFn<T, (ComponentFunc, Vec<Val>), Vec<Val>>
701 F: Fn(StoreContextMut<'_, T>, ComponentFunc, Vec<Val>, usize) -> HostResult<Vec<Val>>,
720 (ty, mut params): (ComponentFunc, Vec<Val>), in run() argument
733 ) -> Result<(ComponentFunc, Vec<Val>)> { in lift_params() argument
754 Ok((ComponentFunc::from(ty, &cx.instance_type()), params)) in lift_params()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dtypes.rs936 pub struct ComponentFunc(Handle<TypeFuncIndex>); struct
938 impl ComponentFunc { impl
1114 ComponentFunc(ComponentFunc), enumerator
1136 TypeDef::ComponentFunc(idx) => Self::ComponentFunc(ComponentFunc::from(*idx, ty)), in from()
1177 Self::ComponentFunc(ComponentFunc::from(*idx, ty)) in from_export()
H A Dlinker.rs331 TypeDef::ComponentFunc(_) => { in define_unknown_imports_as_traps()
643 … func: impl Fn(StoreContextMut<'_, T>, types::ComponentFunc, &[Val], &mut [Val]) -> Result<()> in func_new() argument
663 types::ComponentFunc, in func_new_async() argument
688 types::ComponentFunc, in func_new_concurrent() argument
H A Dfunc.rs5 use crate::component::types::ComponentFunc;
181 pub fn ty(&self, store: impl AsContext) -> ComponentFunc { in ty() argument
185 fn ty_(&self, store: &StoreOpaque) -> ComponentFunc { in ty_() argument
188 ComponentFunc::from(ty, &cx) in ty_()
H A Dmatching.rs48 TypeDef::ComponentFunc(t) => match actual { in definition()
/wasmtime-44.0.1/crates/component-macro/tests/expanded/
H A Dsmoke-default.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dfunction-new.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dfunction-new_concurrent.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dfunction-new_async.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dsmoke-default_async.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dsmoke-default_tracing_async.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dfunction-new_tracing_async.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dsmoke-default_concurrent.rs122 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dworlds-with-types_concurrent.rs147 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dworlds-with-types_tracing_async.rs147 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dworlds-with-types_async.rs147 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
H A Dworlds-with-types.rs147 wasmtime::component::types::ComponentItem::ComponentFunc(func) => { in new()
/wasmtime-44.0.1/crates/wizer/src/component/
H A Dwasmtime.rs48 ComponentItem::ComponentFunc(ty) => ty, in validate_component_init_func()
/wasmtime-44.0.1/tests/all/component_model/
H A Daot.rs160 ComponentItem::ComponentFunc(t) => t, in reflect_resource_import()
H A Ddynamic.rs1029 let ComponentItem::ComponentFunc(run_ty) = run_ty else { in introspection()
1216 let ComponentItem::ComponentFunc(fn_ty) = fn_ty else { in introspection()
/wasmtime-44.0.1/crates/environ/src/component/
H A Dtypes_builder.rs134 Export::LiftedFunction { ty, .. } => TypeDef::ComponentFunc(*ty), in export_type_def()
286 TypeDef::ComponentFunc(self.convert_component_func_type(types, id)?) in convert_component_entity_type()
313 TypeDef::ComponentFunc(self.convert_component_func_type(types, id)?) in convert_type()
H A Dtypes.rs458 ComponentFunc(TypeFuncIndex), enumerator
478 TypeDef::ComponentFunc(_) => "function", in desc()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/wave/
H A Dcomponent.rs404 impl WasmFunc for component::types::ComponentFunc { implementation

12