| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | instance.rs | 40 .get_export(&mut store, None, "not an instance") in instance_exports() 44 assert!(instance.get_export(&mut store, Some(&i), "x").is_none()); in instance_exports() 45 instance.get_export(&mut store, None, "i").unwrap(); in instance_exports() 79 component.get_export(None, "a:b/[email protected]").unwrap(); in export_old_get_new() 81 component.get_export(Some(&i), "m").unwrap(); in export_old_get_new() 89 .get_export(&mut store, None, "a:b/[email protected]") in export_old_get_new() 95 instance.get_export(&mut store, Some(&i), "m").unwrap(); in export_old_get_new() 114 component.get_export(None, "a:b/[email protected]").unwrap(); in export_new_get_old() 116 component.get_export(Some(&i), "m").unwrap(); in export_new_get_old() 124 .get_export(&mut store, None, "a:b/[email protected]") in export_new_get_old() [all …]
|
| /wasmtime-44.0.1/crates/c-api/tests/ |
| H A D | simple.cc | 74 EXPECT_FALSE(caller.get_export("foo")); in TEST() 86 EXPECT_FALSE(caller.get_export("foo")); in TEST() 87 EXPECT_TRUE(caller.get_export("m")); in TEST() 88 EXPECT_TRUE(caller.get_export("f")); in TEST() 89 Memory m = std::get<Memory>(*caller.get_export("m")); in TEST()
|
| /wasmtime-44.0.1/crates/wizer/src/component/ |
| H A D | wasmtime.rs | 44 .get_export(None, init_func) in validate_component_init_func() 99 .get_export(&mut *self.store, None, instance) in call_func() 103 .get_export(&mut *self.store, Some(&instance_export), func) in call_func()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | instance.rs | 453 pub fn get_export(&self, mut store: impl AsContextMut, name: &str) -> Option<Extern> { in get_export() method 510 self.get_export(store, name)?.into_func() in get_func() 534 .get_export(store.as_context_mut(), name) in get_typed_func() 550 self.get_export(store, name)?.into_table() in get_table() 562 self.get_export(store, name)?.into_memory() in get_memory() 579 self.get_export(&mut store, name)?.into_shared_memory() in get_shared_memory() 591 self.get_export(store, name)?.into_global() in get_global() 603 self.get_export(store, name)?.into_tag() in get_tag()
|
| H A D | linker.rs | 805 .get_export(&mut caller, &export_name) in module() 820 if let Some(export) = instance.get_export(&mut store, "_initialize") { in module() 869 .get_export(&mut caller, &export_name) in module_async() 884 if let Some(export) = instance.get_export(&mut store, "_initialize") { in module_async() 1453 let command_start = module.get_export("_start"); in categorize() 1454 let reactor_start = module.get_export("_initialize"); in categorize()
|
| /wasmtime-44.0.1/crates/wizer/src/ |
| H A D | wasmtime.rs | 33 match module.get_export(self.get_init_func()) { in validate_init_func() 62 if let Some(export) = instance.get_export(&mut *store, "_initialize") { in initialize()
|
| /wasmtime-44.0.1/crates/fuzzing/tests/oom/ |
| H A D | module_read.rs | 91 let export = module.get_export("f"); in module_get_export() 93 let missing = module.get_export("nonexistent"); in module_get_export()
|
| H A D | caller.rs | 34 let mem = caller.get_export("m"); in caller_get_export()
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | diff_wasmi.rs | 131 .get_export(&self.store, function_name) in evaluate() 145 .get_export(&self.store, name) in get_global() 158 .get_export(&self.store, name) in get_memory()
|
| /wasmtime-44.0.1/crates/wasi-threads/src/ |
| H A D | lib.rs | 192 module.get_export(WASI_ENTRY_POINT).is_some() in has_entry_point() 197 match module.get_export(WASI_ENTRY_POINT) { in has_correct_signature()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | call_hook.rs | 214 .get_export(&mut store, "export") in call_linked_func() 283 .get_export(&mut store, "export") in call_linked_func_async() 363 .get_export("export") in recursion() 386 .get_export(&mut store, "export") in recursion() 446 .get_export("export") in trapping() 476 .get_export(&mut store, "export") in trapping() 607 .get_export(&mut store, "export") in basic_async_hook()
|
| H A D | linker.rs | 107 let green = instance.get_export(&mut store, "green").unwrap().clone(); in function_interposition() 119 .get_export(&mut store, "green") in function_interposition() 142 let export = instance.get_export(&mut store, "export").unwrap().clone(); in function_interposition_renamed() 184 .get_export(&mut store, "export") in module_interposition()
|
| /wasmtime-44.0.1/crates/c-api/src/component/types/ |
| H A D | instance.rs | 34 match ty.ty.get_export(&engine.engine, name) { in wasmtime_component_instance_type_export_get()
|
| H A D | component.rs | 88 match ty.ty.get_export(&engine.engine, name) { in wasmtime_component_type_export_get()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | extern.hh | 59 inline std::optional<Extern> Caller::get_export(std::string_view name) { in get_export() function in wasmtime::Caller
|
| /wasmtime-44.0.1/crates/wast/src/ |
| H A D | wast.rs | 169 fn get_export(&mut self, module: Option<&str>, name: &str) -> Result<Export<'_>> { in get_export() method 184 i.get_export(&mut self.core_store, name) in get_export() 275 } => match me.get_export(module.as_deref(), field)? { in perform_action() 466 let global = match self.get_export(instance_name, field)? { in get()
|
| /wasmtime-44.0.1/crates/component-macro/tests/expanded/ |
| H A D | smoke-default.rs | 119 .get_export(None, "y") in new()
|
| H A D | function-new.rs | 119 .get_export(None, "new") in new()
|
| H A D | function-new_concurrent.rs | 119 .get_export(None, "new") in new()
|
| H A D | function-new_async.rs | 119 .get_export(None, "new") in new()
|
| H A D | smoke-default_async.rs | 119 .get_export(None, "y") in new()
|
| H A D | smoke-default_tracing_async.rs | 119 .get_export(None, "y") in new()
|
| H A D | function-new_tracing_async.rs | 119 .get_export(None, "new") in new()
|
| H A D | smoke-default_concurrent.rs | 119 .get_export(None, "y") in new()
|
| H A D | multi-return.rs | 336 .get_export(&mut store, None, "foo:foo/multi-return") in new_instance() 343 instance.get_export(&mut store, Some(&instance_export), name) in new_instance()
|