| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | map.rs | 35 default: V, field 52 default: Default::default(), in new() 66 default: Default::default(), in with_capacity() 82 default: Default::default(), in try_with_capacity() 93 default, in with_default() 136 let default = self.default.clone(); in remove() localVariable 204 &self.default in default_value() 220 fn default() -> SecondaryMap<K, V> { in default() function 231 let default = Default::default(); in from() localVariable 234 default, in from() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/ |
| H A D | settings.rs | 8 pub default: bool, field 33 default, in default_byte() 37 if default { in default_byte() 44 SpecificSetting::Num(default) => default, in default_byte() 196 default: bool, in add_bool() 227 default: u8, in add_num() 233 ProtoSpecificSetting::Num(default), in add_num() 292 ProtoSpecificSetting::Num(default) => SpecificSetting::Num(default), in build() 312 let default = match s.specific { in build() localVariable 313 ProtoSpecificSetting::Bool(default) => default, in build() [all …]
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module.rs | 90 fn default() -> Self { in default() method 395 strings: Default::default(), in new() 396 name: Default::default(), in new() 398 exports: Default::default(), in new() 399 start_func: Default::default(), in new() 405 types: Default::default(), in new() 413 functions: Default::default(), in new() 414 tables: Default::default(), in new() 415 memories: Default::default(), in new() 416 globals: Default::default(), in new() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | sourceloc.rs | 29 self == Default::default() in is_default() 39 fn default() -> Self { in default() method 68 Self::default() in from_base_offset() 77 Default::default() in expand() 85 self == Default::default() in is_default() 90 fn default() -> Self { in default() method 112 assert_eq!(SourceLoc::default().to_string(), "@-"); in display()
|
| /wasmtime-44.0.1/ |
| H A D | Cargo.toml | 13 default-run = "wasmtime" 469 default = [ 470 # All subcommands are included by default. 481 # On-by-default WASI features 489 # Most features of Wasmtime are enabled by default. 516 "clap/default", 521 # Off-by-default features 550 # On-by-default features 712 [workspace.metadata.typos.default] 725 [workspace.metadata.typos.default.extend-identifiers] [all …]
|
| /wasmtime-44.0.1/cranelift/interpreter/src/ |
| H A D | interpreter.rs | 210 fn default() -> Self { in default() method 217 functions: FunctionStore::default(), in default() 585 let mut env = FunctionStore::default(); in sanity() 604 let mut env = FunctionStore::default(); in udiv_by_zero_traps() 625 let mut env = FunctionStore::default(); in sdiv_min_by_neg_one_traps_with_overflow() 657 let mut env = FunctionStore::default(); in function_references() 679 let mut env = FunctionStore::default(); in fuel() 747 let mut env = FunctionStore::default(); in stack_slots_multi_functions() 780 let mut env = FunctionStore::default(); in out_of_slot_write_traps() 806 let mut env = FunctionStore::default(); in partial_out_of_slot_write_traps() [all …]
|
| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | bindgen.rs | 507 imports: { default: async }, 508 exports: { default: async }, 536 default: async, 538 exports: { default: async }, 562 exports: { default: async }, 831 LinkOptions::default() in run() 838 assert_failure(&LinkOptions::default()); in run() 842 LinkOptions::default() in run() 847 LinkOptions::default() in run() 853 LinkOptions::default() in run() [all …]
|
| H A D | linker.rs | 8 let engine = Engine::default(); in old_import_importing_new_item() 31 let engine = Engine::default(); in new_import_importing_old_item() 54 let engine = Engine::default(); in import_both_old_and_new() 82 let engine = Engine::default(); in missing_import_selects_max() 111 let engine = Engine::default(); in linker_substituting_types_issue_8003() 152 let engine = Engine::default(); in linker_defines_unknown_imports_as_traps() 172 let engine = Engine::default(); in linker_fails_to_define_unknown_core_module_imports_as_traps()
|
| H A D | call_hook.rs | 43 let engine = Engine::default(); in call_wrapped_func() 51 let mut store = Store::new(&engine, State::default()); in call_wrapped_func() 110 let engine = Engine::default(); in call_func_with_realloc() 113 let mut store = Store::new(&engine, State::default()); in call_func_with_realloc() 158 let engine = Engine::default(); in call_func_with_post_return() 161 let mut store = Store::new(&engine, State::default()); in call_func_with_post_return() 216 let engine = Engine::default(); in call_wrapped_async_func() 225 let mut store = Store::new(&engine, State::default()); in call_wrapped_async_func() 257 let engine = Engine::default(); in trapping() 459 let engine = Engine::default(); in timeout_async_hook() [all …]
|
| /wasmtime-44.0.1/crates/component-macro/tests/ |
| H A D | expanded.rs | 15 imports: { default: async }, 16 exports: { default: async }, 21 imports: { default: async | store }, 22 exports: { default: async | store }, 28 imports: { default: async | tracing }, 29 exports: { default: async | tracing },
|
| H A D | codegen.rs | 12 imports: { default: async }, 13 exports: { default: async }, 19 imports: { default: async | store }, 20 exports: { default: async | store }, 26 imports: { default: tracing | verbose_tracing }, 36 imports: { default: store }, 43 imports: { default: trappable }, 394 imports: { default: trappable }, 759 imports: { default: async }, 791 imports: { default: async }, [all …]
|
| /wasmtime-44.0.1/crates/wasi-http/ |
| H A D | Cargo.toml | 18 default = ["default-send-request", "p2"] 19 default-send-request = ["dep:tokio-rustls", "dep:rustls", "dep:webpki-roots"] 27 futures = { workspace = true, default-features = false } 47 wasmtime-wasi-http = { path = ".", features = ['default-send-request'] } 51 wasmtime = { workspace = true, features = ['default', 'anyhow'] } 53 futures = { workspace = true, default-features = false, features = ['alloc', 'async-await'] }
|
| /wasmtime-44.0.1/crates/cache/src/ |
| H A D | config.rs | 29 default = "default_worker_event_queue_size", 35 default = "default_baseline_compression_level", 40 default = "default_optimized_compression_level", 51 default = "default_cleanup_interval", 57 default = "default_optimizing_compression_task_timeout", 63 default = "default_allowed_clock_drift_for_files_from_future", 69 default = "default_file_count_soft_limit", 75 default = "default_files_total_size_soft_limit", 81 default = "default_file_count_limit_percent_if_deleting", 95 fn default() -> Self { in default() method [all …]
|
| /wasmtime-44.0.1/crates/environ/src/graphs/ |
| H A D | scc.rs | 84 let mut index = NonMaxU32::default(); in new() 423 fn default() -> Self { in default() method 469 let graph = Graph::default(); in test_empty() 478 let mut graph = Graph::default(); in test_single_node() 492 let mut graph = Graph::default(); in test_single_node_cycle() 503 let mut graph = Graph::default(); in test_disconnected_nodes() 514 let mut graph = Graph::default(); in test_chained_nodes() 530 let mut graph = Graph::default(); in test_simple_multi_node_cycle() 549 let mut graph = Graph::default(); in test_complicated_multi_node_cycle() 569 let mut graph = Graph::default(); in test_disconnected_cycles() [all …]
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/verifier/ |
| H A D | exceptions.clif | 10 try_call fn0(v1), sig0, block1(ret0, v2), [ tag1: block2(exn0), default: block3(v2, exn0) ] 32 …try_call fn0(v1), sig0, block1(ret0, v2), [ tag1: block2(exn0), default: block3(exn0, v2) ] ; erro… 54 …try_call fn0(v1), sig0, block1(ret0, v2), [ tag1: block2(exn0), default: block3(exn0, v2) ] ; erro… 98 …try_call fn0(v1), sig0, block1(ret0, v2), [ tag1: block2(exn0), default: block3(exn0, v2) ] ; erro… 141 try_call fn0(), sig0, block1(), [ tag1: block2(exn0), default: block3(exn1) ] 159 …try_call fn0(), sig0, block1(), [ default: block2(exn2) ] ; error: out-of-bounds `exnN` block argu… 204 try_call fn0(), sig0, block1(), [ default: block2(exn0, exn1) ] 223 try_call fn0(), sig0, block2(), [ default: block3() ] 242 try_call fn0(), sig0, block2(), [ default: block3() ] 261 try_call fn0(), sig0, block2(), [ default: block3() ] [all …]
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | intrinsics.rs | 11 let engine = Engine::default(); in native_loads_and_stores() 143 let engine = Engine::default(); in cannot_enable_unsafe_intrinsics_for_core_module() 225 let engine = Engine::default(); in table_element_segment_with_intrinsic() 285 let engine = Engine::default(); in intrinsics_not_listed_in_imports() 317 let engine = Engine::default(); in unknown_intrinsic_function() 350 let engine = Engine::default(); in bad_extra_param() 386 let engine = Engine::default(); in bad_missing_param() 422 let engine = Engine::default(); in bad_missing_return() 458 let engine = Engine::default(); in bad_extra_return() 494 let engine = Engine::default(); in bad_param_type() [all …]
|
| H A D | module_serialize.rs | 17 let engine = Engine::default(); in test_version_mismatch() 50 &Engine::default(), in test_module_serialize_simple() 54 let mut store = Store::default(); in test_module_serialize_simple() 67 &Engine::default(), in test_module_serialize_fail() 97 let mut store = Store::<()>::default(); in test_deserialize_from_file() 131 let engine = Engine::default(); in deserialize_from_serialized() 144 let engine = Engine::default(); in detect_precompiled()
|
| H A D | table.rs | 5 let mut store = Store::<()>::default(); in get_none() 17 let mut store = Store::<()>::default(); in fill_wrong() 41 let mut store = Store::<()>::default(); in copy_wrong() 57 let mut store = Store::<()>::default(); in null_elem_segment_works_with_imported_table() 93 AnyRef::from_i31(&mut store, I31::default()).into(), in i31ref_table_new() 98 vec![AnyRef::from_i31(&mut store, I31::default()).into()], in i31ref_table_new() 124 AnyRef::from_i31(&mut store, I31::default()).into(), in i31ref_table_get() 129 vec![AnyRef::from_i31(&mut store, I31::default()).into()], in i31ref_table_get() 167 AnyRef::from_i31(&mut store, I31::default()).into(), in i31ref_table_set() 219 AnyRef::from_i31(&mut store, I31::default()).into(), in i31ref_table_grow() [all …]
|
| /wasmtime-44.0.1/crates/c-api/ |
| H A D | doxygen.conf.in | 25 # The default value is: UTF-8. 69 # The default value is: NO. 77 # The default value is: NO. 144 # The default value is: NO. 152 # The default value is: NO. 187 # The default value is: NO. 220 # a brief description. This used to be the default behavior. The new default is 320 # as Fortran files (default is PHP), and .f files as C (default is Fortran), 1173 # default header using 1296 # tree by default. [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/ |
| H A D | on_demand.rs | 66 fn default() -> Self { in default() method 131 let allocation_index = MemoryAllocationIndex::default(); in allocate_memory() 150 debug_assert_eq!(allocation_index, MemoryAllocationIndex::default()); in deallocate_memory() 161 let allocation_index = TableAllocationIndex::default(); in allocate_table() 178 debug_assert_eq!(allocation_index, TableAllocationIndex::default()); in deallocate_table() 235 debug_assert_eq!(memory_alloc_index, MemoryAllocationIndex::default()); in allocate_gc_heap() 238 Ok((GcHeapAllocationIndex::default(), heap)) in allocate_gc_heap() 247 debug_assert_eq!(allocation_index, GcHeapAllocationIndex::default()); in deallocate_gc_heap() 248 (MemoryAllocationIndex::default(), gc_heap.detach()) in deallocate_gc_heap()
|
| /wasmtime-44.0.1/crates/wasi-nn/tests/ |
| H A D | test-programs.rs | 121 let backend = Backend::from(backend::openvino::OpenvinoBackend::default()); in nn_witx_image_classification_openvino() 128 let backend = Backend::from(backend::openvino::OpenvinoBackend::default()); in nn_witx_image_classification_openvino_named() 135 let backend = Backend::from(backend::onnx::OnnxBackend::default()); in nn_witx_image_classification_onnx() 147 let backend = Backend::from(backend::winml::WinMLBackend::default()); in nn_witx_image_classification_winml_named() 158 let backend = Backend::from(backend::pytorch::PytorchBackend::default()); in nn_witx_image_classification_pytorch() 169 let backend = Backend::from(backend::openvino::OpenvinoBackend::default()); in nn_wit_image_classification_openvino() 180 let backend = Backend::from(backend::openvino::OpenvinoBackend::default()); in nn_wit_image_classification_openvino_named() 191 let backend = Backend::from(backend::onnx::OnnxBackend::default()); in nn_wit_image_classification_onnx() 202 let backend = Backend::from(backend::pytorch::PytorchBackend::default()); in nn_wit_image_classification_pytorch() 218 let backend = Backend::from(backend::winml::WinMLBackend::default()); in nn_wit_image_classification_winml_named()
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | print.rs | 126 for (default, flag) in default_flags.iter().zip(flags.iter()) { in write_non_default_flags() 127 assert_eq!(default.name, flag.name); in write_non_default_flags() 129 if default.value_string() != flag.value_string() { in write_non_default_flags() 147 for (default, flag) in default_isa.isa_flags().iter().zip(isa.isa_flags()) { in write_non_default_isa_flags() 148 assert_eq!(default.name, flag.name); in write_non_default_isa_flags() 151 if default.value_string() == flag.value_string() { in write_non_default_isa_flags()
|
| /wasmtime-44.0.1/tests/all/component_model/bindgen/ |
| H A D | results.rs | 22 imports: {default: trappable}, 82 let mut store = Store::new(&engine, MyImports::default()); in run() 126 imports: { default: trappable }, 197 let mut store = Store::new(&engine, MyImports::default()); in run() 249 imports: { default: trappable }, 374 let mut store = Store::new(&engine, MyImports::default()); in run() 431 imports: { default: trappable }, 604 imports: { default: trappable }, 801 imports: { default: trappable }, 985 imports: { default: trappable }, [all …]
|
| /wasmtime-44.0.1/.github/workflows/ |
| H A D | main.yml | 336 -p wasmtime --no-default-features 337 -p wasmtime --no-default-features --features wat 341 -p wasmtime --no-default-features --features std 353 -p wasmtime --no-default-features --features gc 384 -p wasmtime-cli --no-default-features 405 -p cranelift-entity --no-default-features 414 -p wasmtime-c-api --no-default-features 420 -p wasmtime-wasi-http --no-default-features 427 -p wasmtime-wasi --no-default-features 435 -p wasmtime-wasi-tls --no-default-features [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/compile/ |
| H A D | stratify.rs | 203 fn default() -> Self { in default() method 206 calls: Default::default(), in default() 299 Functions::default() in test_disconnected_functions() 311 Functions::default() in test_chained_functions() 324 Functions::default() in test_cycle() 348 Functions::default() in test_tree() 375 Functions::default() in test_chain_of_cycles() 409 Functions::default() in test_multiple_edges_to_same_component()
|