Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 170) sorted by relevance

1234567

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp2_cli_hostcall_fuel.rs44 PathFlags::empty(), in read()
46 OpenFlags::empty(), in read()
47 DescriptorFlags::empty(), in read()
69 PathFlags::empty(), in write()
82 PathFlags::empty(), in write_stream()
98 PathFlags::empty(), in write_stream_blocking()
183 PathFlags::empty(), in write_zeroes()
199 PathFlags::empty(), in write_stream_buffer_too_large()
215 PathFlags::empty(), in write_zeroes_buffer_too_large()
231 PathFlags::empty(), in read_file_big()
[all …]
H A Dp3_file_write.rs37 PathFlags::empty(), in test_file_long_write()
69 PathFlags::empty(), in test_file_long_write()
71 OpenFlags::empty(), in test_file_long_write()
91 PathFlags::empty(), in test_file_long_write()
100 PathFlags::empty(), in test_file_long_write()
102 OpenFlags::empty(), in test_file_long_write()
H A Dp3_readdir.rs43 PathFlags::empty(), in test_readdir()
54 PathFlags::empty(), in test_readdir()
57 DescriptorFlags::empty(), in test_readdir()
79 PathFlags::empty(), in test_readdir_lots()
/wasmtime-44.0.1/crates/c-api/src/
H A Dvec.rs25 empty: $empty:ident,
159 empty: wasm_byte_vec_new_empty,
168 empty: wasm_valtype_vec_new_empty,
177 empty: wasm_functype_vec_new_empty,
186 empty: wasm_globaltype_vec_new_empty,
195 empty: wasm_tabletype_vec_new_empty,
204 empty: wasm_memorytype_vec_new_empty,
213 empty: wasm_externtype_vec_new_empty,
240 empty: wasm_val_vec_new_empty,
249 empty: wasm_frame_vec_new_empty,
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dinterpreter_disabled.rs16 empty: Infallible, field
28 match self.empty {} in as_interpreter_ref()
32 match self.empty {} in unwinder()
37 empty: Infallible, field
52 match self.empty {} in call()
61 match self.empty {} in resume_to_exception_handler()
H A Dstack_switching.rs133 handlers: VMHandlerList::empty(), in running_default()
165 pub fn empty() -> Self { in empty() method
175 *self = Self::empty(); in clear()
247 pub fn empty() -> Self { in empty() method
250 let handlers = VMHandlerList::empty(); in empty()
260 let args = VMPayloads::empty(); in empty()
261 let values = VMPayloads::empty(); in empty()
/wasmtime-44.0.1/tests/misc_testsuite/
H A Dempty.wast1 (module (func (export "empty")))
3 (invoke "empty")
15 "\00" ;; empty string name
30 "\00" ;; empty string name
45 "\00" ;; empty string name
48 ;; empty module
51 ;; empty module with memory
/wasmtime-44.0.1/crates/component-macro/tests/codegen/
H A Drecords.wit7 record empty {}
9 empty-arg: func(x: empty);
10 empty-result: func() -> empty;
44 c: empty,
/wasmtime-44.0.1/crates/wasi/src/cli/
H A Dempty.rs19 Box::new(tokio::io::empty()) in async_stream()
27 Box::new(tokio::io::empty()) in async_stream()
42 Box::new(tokio::io::empty()) in async_stream()
50 Box::new(tokio::io::empty()) in async_stream()
65 Box::new(tokio::io::empty()) in async_stream()
80 Box::new(tokio::io::empty()) in async_stream()
/wasmtime-44.0.1/tests/all/
H A Dpulley_provenance_test.wat82 (table.fill $t (i32.const 0) (ref.func $empty) (i32.const 10))
84 (elem $e func $empty $empty $empty $empty)
85 (func $empty)
88 (elem (table $t2) (i32.const 0) func $empty)
H A Dpulley_provenance_test_component.wat3 (import "host-empty" (func $host-empty))
77 (core func $host-empty (canon lower (func $host-empty)))
92 (import "" "host-empty" (func $host-empty))
102 (func (export "guest-empty") call $host-empty)
138 (export "host-empty" (func $host-empty))
149 (func (export "guest-empty") (canon lift (core func $i "guest-empty")))
/wasmtime-44.0.1/crates/wasi-common/src/sync/
H A Dnet.rs240 if (ri_flags & !(RiFlags::RECV_PEEK | RiFlags::RECV_WAITALL)) != RiFlags::empty() {
247 return Ok((n as u64, RoFlags::empty()));
249 return Ok((0, RoFlags::empty()));
256 return Ok((n as u64, RoFlags::empty()));
260 Ok((n as u64, RoFlags::empty()))
268 if si_flags != SiFlags::empty() {
355 let mut out = crate::file::FdFlags::empty(); in get_fd_flags()
370 match rustix::net::recv(f, buf, rustix::net::RecvFlags::empty()) { in get_fd_flags()
371 Ok(_) => Ok(crate::file::FdFlags::empty()), in get_fd_flags()
/wasmtime-44.0.1/tests/misc_testsuite/function-references/
H A Dcall_indirect.wast17 (type $empty (func))
18 (table $t2 2 (ref null $empty))
19 (elem (table $t2) (i32.const 0) (ref null $empty) (ref.func $nop))
29 (table $t3 2 (ref $empty) (ref.func $nop))
H A Dtable_fill.wast75 (func $type-index-value-length-empty-vs-i32-i32
84 (func $type-index-empty-vs-i32
93 (func $type-value-empty-vs
102 (func $type-length-empty-vs-i32
160 (func $type-result-empty-vs-num (result i32)
/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Djumptable.rs121 fn empty() { in empty() function
123 let def = BlockCall::new(Block::new(0), core::iter::empty(), &mut pool); in empty()
149 let def = BlockCall::new(e0, core::iter::empty(), &mut pool); in insert()
151 let b2 = BlockCall::new(e2, core::iter::empty(), &mut pool); in insert()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/
H A Dmod.rs44 let empty = NonNull::new(ptr::slice_from_raw_parts_mut( in empty_mmap() localVariable
49 SendSyncPtr::from(empty) in empty_mmap()
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dflags.rs107 let empty = format!("{}", types::CarConfig::empty()); in flags_fmt() localVariable
108 assert_eq!(empty, "CarConfig(CarConfig(0x0) (0x0))"); in flags_fmt()
/wasmtime-44.0.1/tests/misc_testsuite/component-model/
H A Dimport.wast13 ;; empty instances don't need to be supplied by the host, even recursively
14 ;; empty instances.
/wasmtime-44.0.1/crates/wit-bindgen/src/
H A Dconfig.rs73 let mut wit_flags = FunctionFlags::empty(); in flags()
90 let mut ret = FunctionFlags::empty(); in flags()
104 let mut ret = FunctionFlags::empty(); in resource_drop_flags()
/wasmtime-44.0.1/crates/wasi/src/
H A Dcli.rs4 use tokio::io::{AsyncRead, AsyncWrite, empty};
8 mod empty; module
93 stdin: Box::new(empty()), in default()
94 stdout: Box::new(empty()), in default()
95 stderr: Box::new(empty()), in default()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dabi.rs1328 PRegSet::empty() in sysv_clobbers()
1387 PRegSet::empty() in tail_clobbers()
1432 PRegSet::empty() in all_clobbers()
1490 PRegSet::empty() in sysv_create_machine_env()
1497 PRegSet::empty() in sysv_create_machine_env()
1526 PRegSet::empty() in sysv_create_machine_env()
1537 PRegSet::empty() in sysv_create_machine_env()
1558 PRegSet::empty() in tail_create_machine_env()
1567 PRegSet::empty() in tail_create_machine_env()
1596 PRegSet::empty() in tail_create_machine_env()
[all …]
/wasmtime-44.0.1/tests/misc_testsuite/winch/
H A Dbr_table.wast33 (func (export "empty") (param i32) (result i32)
38 (func (export "empty-value") (param i32) (result i32)
1186 (assert_return (invoke "empty" (i32.const 0)) (i32.const 22))
1187 (assert_return (invoke "empty" (i32.const 1)) (i32.const 22))
1188 (assert_return (invoke "empty" (i32.const 11)) (i32.const 22))
1189 (assert_return (invoke "empty" (i32.const -1)) (i32.const 22))
1190 (assert_return (invoke "empty" (i32.const -100)) (i32.const 22))
1193 (assert_return (invoke "empty-value" (i32.const 0)) (i32.const 33))
1194 (assert_return (invoke "empty-value" (i32.const 1)) (i32.const 33))
1195 (assert_return (invoke "empty-value" (i32.const 11)) (i32.const 33))
[all …]
/wasmtime-44.0.1/crates/wasi/src/p3/filesystem/
H A Dmod.rs148 let mut out = Self::empty(); in from()
167 let mut out = Self::empty(); in from()
177 let mut out = Self::empty(); in from()
202 let mut out = Self::empty(); in from()
/wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/
H A Dabi.rs416 let mut info = CallInfo::empty( in gen_probestack()
738 const DEFAULT_CALLEE_SAVES: PRegSet = PRegSet::empty()
785 const DEFAULT_CLOBBERS: PRegSet = PRegSet::empty()
858 const ALL_CLOBBERS: PRegSet = PRegSet::empty()
956 const NO_CLOBBERS: PRegSet = PRegSet::empty();
970 PRegSet::empty() in create_reg_environment()
977 PRegSet::empty() in create_reg_environment()
984 PRegSet::empty() in create_reg_environment()
998 PRegSet::empty() in create_reg_environment()
1022 PRegSet::empty() in create_reg_environment()
[all …]
/wasmtime-44.0.1/crates/c-api/tests/
H A Dtag_type.cc16 TagType empty(empty_ft); in TEST() local
17 auto empty_func = empty->functype(); in TEST()

1234567