| /wasmtime-44.0.1/crates/cli-flags/src/ |
| H A D | lib.rs | 234 pub cache: Option<bool>, 310 pub fuel: Option<u64>, 369 pub simd: Option<bool>, 417 pub gc: Option<bool>, 446 pub cli: Option<bool>, 452 pub nn: Option<bool>, 456 pub http: Option<bool>, 477 pub tls: Option<bool>, 497 pub tcp: Option<bool>, 499 pub udp: Option<bool>, [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | ref.rs | 43 pub extern "C" fn wasm_ref_copy(r: Option<&wasm_ref_t>) -> Option<Box<wasm_ref_t>> { in wasm_ref_copy() 48 pub extern "C" fn wasm_ref_same(_a: Option<&wasm_ref_t>, _b: Option<&wasm_ref_t>) -> bool { in wasm_ref_same() 65 _ref: Option<&wasm_ref_t>, in wasm_ref_set_host_info_with_finalizer() 79 _ref: Option<&wasm_ref_t>, in wasm_ref_as_extern_const() 91 _ref: Option<&wasm_ref_t>, in wasm_ref_as_foreign_const() 113 _ref: Option<&wasm_ref_t>, in wasm_ref_as_global_const() 120 _ref: Option<&wasm_ref_t>, in wasm_ref_as_instance() 127 _ref: Option<&wasm_ref_t>, in wasm_ref_as_instance_const() 139 _ref: Option<&wasm_ref_t>, in wasm_ref_as_memory_const() 151 _ref: Option<&wasm_ref_t>, in wasm_ref_as_module_const() [all …]
|
| H A D | linker.rs | 61 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define() 80 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_func() 99 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_func_unchecked() 114 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_wasi() 130 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_instance() 143 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_instantiate() 153 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_instantiate_pre() 168 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_module() 181 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_get_default() 219 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_unknown_imports_as_traps() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | isle_prelude.rs | 290 fn fits_in_16(&mut self, ty: Type) -> Option<Type> { 342 fn ty_16(&mut self, ty: Type) -> Option<Type> { 347 fn ty_32(&mut self, ty: Type) -> Option<Type> { 352 fn ty_64(&mut self, ty: Type) -> Option<Type> { 357 fn ty_128(&mut self, ty: Type) -> Option<Type> { 413 fn ty_int(&mut self, ty: Type) -> Option<Type> { 418 fn ty_scalar(&mut self, ty: Type) -> Option<Type> { 463 fn ty_vec64(&mut self, ty: Type) -> Option<Type> { 472 fn ty_vec128(&mut self, ty: Type) -> Option<Type> { 517 fn ty_addr64(&mut self, ty: Type) -> Option<Type> { [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | values.rs | 50 FuncRef(Option<Func>), 65 ContRef(Option<ContRef>), 404 pub fn externref(&self) -> Option<Option<&Rooted<ExternRef>>> { in externref() 435 pub fn anyref(&self) -> Option<Option<&Rooted<AnyRef>>> { in anyref() 466 pub fn exnref(&self) -> Option<Option<&Rooted<ExnRef>>> { in exnref() 497 pub fn funcref(&self) -> Option<Option<&Func>> { in funcref() 746 Func(Option<Func>), 907 pub fn as_extern(&self) -> Option<Option<&Rooted<ExternRef>>> { in as_extern() 941 pub fn as_any(&self) -> Option<Option<&Rooted<AnyRef>>> { in as_any() 974 pub fn as_exn(&self) -> Option<Option<&Rooted<ExnRef>>> { in as_exn() [all …]
|
| H A D | externals.rs | 45 pub fn into_func(self) -> Option<Func> { in into_func() 56 pub fn into_global(self) -> Option<Global> { in into_global() 67 pub fn into_table(self) -> Option<Table> { in into_table() 78 pub fn into_memory(self) -> Option<Memory> { in into_memory() 90 pub fn into_shared_memory(self) -> Option<SharedMemory> { in into_shared_memory() 101 pub fn into_tag(self) -> Option<Tag> { in into_tag() 236 pub fn into_func(self) -> Option<Func> { in into_func() 242 pub fn into_table(self) -> Option<Table> { in into_table() 248 pub fn into_memory(self) -> Option<Memory> { in into_memory() 260 pub fn into_global(self) -> Option<Global> { in into_global() [all …]
|
| H A D | trap.rs | 301 trap_pc: Option<usize>, in from_captured() 302 max_frames: Option<NonZeroUsize>, in from_captured() 472 func_name: Option<String>, 474 instr: Option<FilePos>, 635 name: Option<String>, 636 file: Option<String>, 637 line: Option<u32>, 638 column: Option<u32>, 648 pub fn name(&self) -> Option<&str> { in name() 656 pub fn file(&self) -> Option<&str> { in file() [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | table.rs | 72 fn into_funcref(self, lazy_init: bool) -> Option<Option<NonNull<VMFuncRef>>> { in into_funcref() 190 maximum: Option<usize>, 198 elements: TryVec<Option<VMGcRef>>, 200 maximum: Option<usize>, 208 maximum: Option<usize>, 569 val: Option<&VMGcRef>, in fill_gc_ref() 639 init_value: Option<&VMGcRef>, in grow_gc_ref() 652 init_value: Option<VMContObj>, in grow_cont() 775 ) -> Result<Option<Option<NonNull<VMFuncRef>>>, Trap> { in get_func_maybe_init() 819 store: Option<&mut GcStore>, in set_gc_ref() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/lower/ |
| H A D | isle.rs | 46 ) -> Option<InstOutput> { in lower() 59 ) -> Option<()> { in lower_branch() argument 166 try_call_info: Option<TryCallInfo>, in gen_call_info() 216 fn mie3_enabled(&mut self, _: Type) -> Option<()> { in mie3_enabled() argument 225 fn mie3_disabled(&mut self, _: Type) -> Option<()> { in mie3_disabled() argument 234 fn mie4_enabled(&mut self, _: Type) -> Option<()> { in mie4_enabled() argument 298 fn gpr32_ty(&mut self, ty: Type) -> Option<Type> { in gpr32_ty() 306 fn gpr64_ty(&mut self, ty: Type) -> Option<Type> { in gpr64_ty() 314 fn vr128_ty(&mut self, ty: Type) -> Option<Type> { in vr128_ty() 606 fn signed(&mut self, cc: &IntCC) -> Option<()> { in signed() argument [all …]
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | wast.rs | 22 generate_dwarf: Option<Option<bool>>, 27 precompile_save: Option<PathBuf>, 32 precompile_load: Option<PathBuf>, 39 async_: Option<Option<bool>>, 94 fn optional_flag_with_default(flag: Option<Option<bool>>, default: bool) -> bool { in optional_flag_with_default()
|
| /wasmtime-44.0.1/crates/component-macro/tests/expanded/ |
| H A D | variants.rs | 485 g: Option<Option<bool>>, in option_arg() 495 Option<Option<bool>>, in option_result() 567 g: Option<Option<bool>>, in option_arg() 579 Option<Option<bool>>, in option_result() 729 Option<Option<bool>>, in add_to_linker() 1404 Option<Option<bool>>, in load() 1419 Option<Option<bool>>, in load() 1629 arg5: Option<Option<bool>>, in call_option_arg() 1639 Option<Option<bool>>, in call_option_arg() 1661 Option<Option<bool>>, in call_option_result() [all …]
|
| H A D | variants_async.rs | 500 g: Option<Option<bool>>, in option_arg() 511 Option<Option<bool>>, in option_result() 626 g: Option<Option<bool>>, in option_arg() 639 Option<Option<bool>>, in option_result() 829 Option<Option<bool>>, in add_to_linker() 1535 Option<Option<bool>>, in load() 1550 Option<Option<bool>>, in load() 1790 arg5: Option<Option<bool>>, in call_option_arg() 1803 Option<Option<bool>>, in call_option_arg() 1826 Option<Option<bool>>, in call_option_result() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/lower/ |
| H A D | isle.rs | 72 try_call_info: Option<TryCallInfo>, in gen_call_info() 93 try_call_info: Option<TryCallInfo>, in gen_call_ind_info() 212 fn ty_supported(&mut self, ty: Type) -> Option<Type> { in ty_supported() 276 fn ty_reg_pair(&mut self, ty: Type) -> Option<Type> { in ty_reg_pair() 361 fn imm12_is_zero(&mut self, imm: Imm12) -> Option<()> { in imm12_is_zero() argument 387 fn i8_to_imm5(&mut self, arg0: i8) -> Option<Imm5> { in i8_to_imm5() 417 fn is_zero_reg(&mut self, reg: XReg) -> Option<()> { in is_zero_reg() argument 656 fn binvi_imm(&mut self, i: u64) -> Option<Imm12> { in binvi_imm() 662 fn bseti_imm(&mut self, i: u64) -> Option<Imm12> { in bseti_imm() 733 ) -> Option<InstOutput> { in lower() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/lower/ |
| H A D | isle.rs | 52 ) -> Option<InstOutput> { in lower() 64 ) -> Option<()> { in lower_branch() argument 85 try_call_info: Option<TryCallInfo>, in gen_call_info() 106 try_call_info: Option<TryCallInfo>, in gen_call_ind_info() 164 fn sign_return_address_disabled(&mut self) -> Option<()> { in sign_return_address_disabled() argument 172 fn use_lse(&mut self, _: Inst) -> Option<()> { in use_lse() argument 206 fn imm_size_from_type(&mut self, ty: Type) -> Option<u16> { in imm_size_from_type() 219 fn imm12_from_u64(&mut self, n: u64) -> Option<Imm12> { in imm12_from_u64() 263 fn integral_ty(&mut self, ty: Type) -> Option<Type> { in integral_ty() 270 fn is_zero_simm9(&mut self, imm: &SImm9) -> Option<()> { in is_zero_simm9() argument [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/types/ |
| H A D | extern.rs | 68 pub extern "C" fn wasm_externtype_as_functype(et: &wasm_externtype_t) -> Option<&wasm_functype_t> { in wasm_externtype_as_functype() 75 ) -> Option<&wasm_functype_t> { in wasm_externtype_as_functype_const() 82 ) -> Option<&wasm_globaltype_t> { in wasm_externtype_as_globaltype() 89 ) -> Option<&wasm_globaltype_t> { in wasm_externtype_as_globaltype_const() 96 ) -> Option<&wasm_tabletype_t> { in wasm_externtype_as_tabletype() 103 ) -> Option<&wasm_tabletype_t> { in wasm_externtype_as_tabletype_const() 110 ) -> Option<&wasm_memorytype_t> { in wasm_externtype_as_memorytype() 117 ) -> Option<&wasm_memorytype_t> { in wasm_externtype_as_memorytype_const()
|
| /wasmtime-44.0.1/crates/debugger/src/host/ |
| H A D | opaque.rs | 40 -> Result<Option<Memory>>; in instance_get_memory() 42 -> Result<Option<Global>>; in instance_get_global() 61 ) -> Result<Option<()>>; in memory_write_bytes() argument 72 ) -> Result<Option<()>>; in memory_write_u16() argument 78 ) -> Result<Option<()>>; in memory_write_u32() argument 84 ) -> Result<Option<()>>; in memory_write_u64() argument 243 ) -> Result<Option<()>> { in memory_write_bytes() argument 309 ) -> Result<Option<()>> { in memory_write_u8() argument 324 ) -> Result<Option<()>> { in memory_write_u16() argument 340 ) -> Result<Option<()>> { in memory_write_u32() argument [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | isle.rs | 31 pub type OptionTryCallInfo = Option<TryCallInfo>; 291 fn tls_model_is_elf_gd(&mut self) -> Option<()> { 300 fn tls_model_is_macho(&mut self) -> Option<()> { 309 fn tls_model_is_coff(&mut self) -> Option<()> { 318 fn preserve_frame_pointers(&mut self) -> Option<()> { 364 ) -> Option<(ExternalName, RelocDistance, i64)> { 464 fn abi_ret_arg(&mut self, abi: Sig) -> Option<ABIArg> { 468 fn abi_no_ret_arg(&mut self, abi: Sig) -> Option<()> { 590 fn uimm8(&mut self, x: Imm64) -> Option<u8> { 714 ) -> Option<(u8, u8, u8, u8, u8, u8, u8, u8)> { [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/component/ |
| H A D | linker.rs | 52 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_instantiate() 66 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_instance_add_instance() 86 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_instance_add_module() 107 ) -> Option<Box<wasmtime_error_t>>; 116 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_component_linker_instance_add_func() 117 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_instance_add_func() 165 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_add_wasip2() 174 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_add_wasi_http() 183 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_linker_define_unknown_imports_as_traps() 201 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_component_linker_instance_add_resource() [all …]
|
| H A D | val.rs | 197 val: Option<Box<wasmtime_component_val_t>>, 224 val: Option<Box<wasmtime_component_val_t>>, 227 impl From<&wasmtime_component_valresult_t> for Result<Option<Box<Val>>, Option<Box<Val>>> { 238 impl From<&Result<Option<Box<Val>>, Option<Box<Val>>>> for wasmtime_component_valresult_t { 239 fn from(value: &Result<Option<Box<Val>>, Option<Box<Val>>>) -> Self { in from() 272 Option(Option<Box<Self>>), enumerator 313 wasmtime_component_val_t::Option(x) => { in from() 347 Val::Option(x) => wasmtime_component_val_t::Option( in from() 428 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_resource_any_drop() 512 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_resource_any_to_host() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | imms.rs | 19 pub fn maybe_from_u64(val: u64) -> Option<Imm12> { in maybe_from_u64() 23 pub fn maybe_from_i64(val: i64) -> Option<Imm12> { in maybe_from_i64() 76 pub fn maybe_from_u64(val: u64) -> Option<Imm20> { in maybe_from_u64() 80 pub fn maybe_from_i64(val: i64) -> Option<Imm20> { in maybe_from_i64() 127 pub fn maybe_from_u8(value: u8) -> Option<UImm5> { in maybe_from_u8() 155 pub fn maybe_from_i8(value: i8) -> Option<Imm5> { in maybe_from_i8() 189 pub fn maybe_from_i16(value: i16) -> Option<Self> { in maybe_from_i16() 197 pub fn maybe_from_i32(value: i32) -> Option<Self> { in maybe_from_i32() 225 pub fn maybe_from_u8(value: u8) -> Option<Self> { in maybe_from_u8() 253 pub fn maybe_from_u8(value: u8) -> Option<Self> { in maybe_from_u8() [all …]
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | fact.rs | 81 imported_async_start_calls: HashMap<(Option<FuncIndex>, Option<FuncIndex>), FuncIndex>, 92 imported_trap: Option<FuncIndex>, 137 post_return: Option<FuncIndex>, 149 memory: Option<MemoryIndex>, 152 realloc: Option<FuncIndex>, 194 callback: Option<FuncIndex>, 864 memory: Option<CoreDef>, 870 callback: Option<CoreDef>, 876 callback: Option<CoreDef>, 906 ) -> Option<&'a [FlatType]> { in flat_types() [all …]
|
| /wasmtime-44.0.1/crates/wasi-http/src/p3/ |
| H A D | body.rs | 28 contents_rx: Option<StreamReader<u8>>, 138 make_error: fn(Option<u64>) -> ErrorCode, 262 trailers_rx: Option<oneshot::Receiver<Result<Option<Arc<FieldMap>>, ErrorCode>>>, 263 content_length: Option<u64>, 274 content_length: Option<u64>, in new() 407 tx: Option<oneshot::Sender<Result<Option<Arc<FieldMap>>, ErrorCode>>>, 446 trailers: Option<oneshot::Sender<Result<Option<Resource<Trailers>>, ErrorCode>>>, 600 error_tx: Option<oneshot::Sender<E>>, 601 make_error: fn(Option<u64>) -> E, 611 fn send_error<V>(&mut self, sent: Option<u64>) -> Poll<Option<Result<V, E>>> { in send_error() [all …]
|
| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | iter.rs | 32 fn next(&mut self) -> Option<Self::Item> { in next() 36 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 42 fn next_back(&mut self) -> Option<Self::Item> { in next_back() 72 fn next(&mut self) -> Option<Self::Item> { in next() 76 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 82 fn next_back(&mut self) -> Option<Self::Item> { in next_back() 109 fn next(&mut self) -> Option<Self::Item> { in next() 113 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 119 fn next_back(&mut self) -> Option<Self::Item> { in next_back()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/disabled/ |
| H A D | anyref.rs | 64 pub fn from_raw(_store: impl AsContextMut, raw: u32) -> Option<Rooted<Self>> { in from_raw() 69 pub fn _from_raw(_store: &mut AutoAssertNoGc<'_>, raw: u32) -> Option<Rooted<Self>> { in _from_raw() 98 pub fn as_eqref(&self, _store: impl AsContext) -> Result<Option<EqRef>> { in as_eqref() 114 pub fn as_i31(&self, _store: impl AsContext) -> Result<Option<I31>> { in as_i31() 130 pub fn as_struct(&self, _store: impl AsContext) -> Result<Option<StructRef>> { in as_struct() 134 pub(crate) fn _as_struct(&self, _store: &StoreOpaque) -> Result<Option<StructRef>> { in _as_struct() 150 pub fn as_array(&self, _store: impl AsContext) -> Result<Option<ArrayRef>> { in as_array() 154 pub(crate) fn _as_array(&self, _store: &StoreOpaque) -> Result<Option<ArrayRef>> { in _as_array()
|
| /wasmtime-44.0.1/crates/wasmtime/src/compile/ |
| H A D | code_builder.rs | 45 wasm: Option<Cow<'a, [u8]>>, 46 wasm_path: Option<Cow<'a, Path>>, 47 dwarf_package: Option<Cow<'a, [u8]>>, 48 dwarf_package_path: Option<Cow<'a, Path>>, 49 unsafe_intrinsics_import: Option<String>, 105 wasm_path: Option<&'a Path>, in wasm_binary() 137 wasm_path: Option<&'a Path>, in wasm_binary_or_text() 702 pub(super) fn get_dwarf_package(&self) -> Option<&[u8]> { in get_dwarf_package() 734 pub fn hint(&self) -> Option<CodeHint> { in hint() 795 pub(super) fn get_unsafe_intrinsics_import(&self) -> Option<&str> { in get_unsafe_intrinsics_import()
|