Home
last modified time | relevance | path

Searched refs:writable (Results 1 – 25 of 47) sorted by relevance

12

/wasmtime-44.0.1/tests/misc_testsuite/component-model/async/
H A Dfutures-must-write.wast18 (import "" "future.drop-writable" (func $future.drop-writable (param i32)))
42 (func $drop-writable (export "drop-writable")
50 (canon future.drop-writable $FT (core func $future.drop-writable))
55 (export "future.drop-writable" (func $future.drop-writable))
59 (func (export "drop-writable") (canon lift (core func $cm "drop-writable")))
65 (export "drop-writable" (func))
76 (import "" "drop-writable" (func $drop-writable))
91 (func $drop-writable-future-before-write (export "drop-writable-future-before-write")
99 (call $drop-writable)
108 (canon lower (func $c "drop-writable") (core func $drop-writable'))
[all …]
H A Dtrap-if-done.wast66 (func $future-drop-writable (export "future-drop-writable")
68 (call $future.drop-writable (global.get $writable-end))
95 (func $stream-drop-writable (export "stream-drop-writable")
97 (call $stream.drop-writable (global.get $writable-end))
107 (canon future.drop-writable $FT (core func $future.drop-writable))
110 (canon stream.drop-writable $ST (core func $stream.drop-writable))
118 (export "future.drop-writable" (func $future.drop-writable))
121 (export "stream.drop-writable" (func $stream.drop-writable))
158 (import "" "future-drop-writable" (func $future-drop-writable))
162 (import "" "stream-drop-writable" (func $stream-drop-writable))
[all …]
H A Dsync-streams.wast26 (import "" "stream.drop-writable" (func $stream.drop-writable (param i32)))
49 (call $stream.drop-writable (local.get $tx))
87 (canon stream.drop-writable $ST (core func $stream.drop-writable))
96 (export "stream.drop-writable" (func $stream.drop-writable))
119 (import "" "stream.drop-writable" (func $stream.drop-writable (param i32)))
154 (call $stream.drop-writable (local.get $tx))
163 (canon stream.drop-writable $ST (core func $stream.drop-writable))
172 (export "stream.drop-writable" (func $stream.drop-writable))
H A Dfutures.wast83 ;; future.drop-writable
86 (import "" "future.drop-writable" (func $future-drop-writable (param i32)))
89 (core func $future-drop-writable (canon future.drop-writable $future-type))
90 …i (instantiate $m (with "" (instance (export "future.drop-writable" (func $future-drop-writable)))…
H A Dstream-cancel-finished-op.wast14 (import "" "stream.drop-writable" (func $stream.drop-writable (param i32)))
26 (import "" "future.drop-writable" (func $future.drop-writable (param i32)))
107 (call $stream.drop-writable (local.get $writer))
193 (core func $stream.drop-writable (canon stream.drop-writable $s))
201 (core func $future.drop-writable (canon future.drop-writable $f))
210 (export "stream.drop-writable" (func $stream.drop-writable))
222 (export "future.drop-writable" (func $future.drop-writable))
232 …-read" (u32.const 0)) "cannot read from stream after being notified that the writable end dropped")
234 …-read" (u32.const 2)) "cannot read from stream after being notified that the writable end dropped")
236 …-read" (u32.const 3)) "cannot read from stream after being notified that the writable end dropped")
H A Dpartial-stream-copies.wast28 (import "" "stream.drop-writable" (func $stream.drop-writable (param i32)))
108 (call $stream.drop-writable (global.get $outsw))
120 (canon stream.drop-writable $ST (core func $stream.drop-writable))
130 (export "stream.drop-writable" (func $stream.drop-writable))
152 (import "" "stream.drop-writable" (func $stream.drop-writable (param i32)))
208 (call $stream.drop-writable (local.get $insw))
223 (canon stream.drop-writable $ST (core func $stream.drop-writable))
234 (export "stream.drop-writable" (func $stream.drop-writable))
H A Dstreams.wast102 ;; stream.drop-writable
105 (import "" "stream.drop-writable" (func $stream-drop-writable (param i32)))
108 (core func $stream-drop-writable (canon stream.drop-writable $stream-type))
109 …i (instantiate $m (with "" (instance (export "stream.drop-writable" (func $stream-drop-writable)))…
/wasmtime-44.0.1/winch/codegen/src/isa/x64/
H A Dmasm.rs133 scratch.writable(), in check_stack()
141 scratch.writable(), in check_stack()
501 writable!(rhs), in add_uextend()
1233 writable!(src), in unsigned_convert()
1385 writable!(rax), in mul_wide()
1386 writable!(rdx), in mul_wide()
3419 scratch.writable(), in v128_trunc_sat_f32x4_s()
3459 scratch.writable(), in v128_trunc_sat_f32x4_u()
3467 scratch.writable(), in v128_trunc_sat_f32x4_u()
3492 scratch.writable(), in v128_trunc_sat_f32x4_u()
[all …]
/wasmtime-44.0.1/winch/codegen/src/
H A Dvisitor.rs20 use crate::reg::{Reg, writable};
1104 masm.demote(writable!(reg), reg)?; in visit_f32_demote_f64()
1111 masm.promote(writable!(reg), reg)?; in visit_f64_promote_f32()
1472 masm.wrap(writable!(reg), reg)?; in visit_i32_wrap_i64()
1793 writable!(value.into()), in visit_table_set()
2216 writable!(val2.into()), in visit_select()
2486 writable!(lhs_lo), in visit_i64_add128()
2487 writable!(lhs_hi), in visit_i64_add128()
2501 writable!(lhs_lo), in visit_i64_sub128()
2502 writable!(lhs_hi), in visit_i64_sub128()
[all …]
/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Dbounds.rs9 isa::reg::{Reg, writable},
103 masm.load_ptr(addr, scratch.writable())?; in load_dynamic_heap_bounds()
109 masm.load_ptr(addr, writable!(dst)) in load_dynamic_heap_bounds()
141 writable!(index.as_typed_reg().into()), in ensure_index_and_offset()
182 masm.mov(writable!(tmp), RegImm::i64(0), ptr_size)?; in load_heap_addr_checked()
184 masm.cmov(writable!(addr), tmp, cmp_kind, ptr_size)?; in load_heap_addr_checked()
208 masm.load_ptr(masm.address_at_vmctx(offset)?, scratch.writable())?; in load_heap_addr_unchecked()
217 masm.load_ptr(masm.address_at_reg(base, heap.offset)?, writable!(dst)) in load_heap_addr_unchecked()
228 writable!(dst), in load_heap_addr_unchecked()
236 masm.add(writable!(dst), dst, index_typed.reg.into(), ptr_size)?; in load_heap_addr_unchecked()
[all …]
H A Dmod.rs7 isa::reg::{Reg, RegClass, writable},
163 writable!(vmctx!(M)), in emit_prologue()
477 scratch.writable(), in emit_typecheck_funcref()
492 writable!(callee_id), in emit_typecheck_funcref()
882 writable!(tmp), in emit_check_align()
890 writable!(tmp), in emit_check_align()
1040 writable!(base), in emit_compute_table_elem_addr()
1101 writable!(dst.reg), in emit_compute_memory_size()
1168 writable!(fuel_reg), in emit_load_fuel_consumed()
1173 writable!(fuel_reg), in emit_load_fuel_consumed()
[all …]
H A Dcall.rs70 reg::{Reg, writable},
206 masm.load_ptr(callee_vmctx_addr, writable!(callee_vmctx))?; in lower_import()
210 masm.load_ptr(callee_addr, writable!(callee))?; in lower_import()
244 writable!(callee_vmctx), in lower_funcref()
250 writable!(funcref), in lower_funcref()
277 masm.mov(writable!(*reg), vmctx!(M).into(), (*ty).try_into()?)?; in assign_context_args()
285 masm.load(addr, writable!(*reg), (*ty).try_into()?)?; in assign_context_args()
292 masm.mov(writable!(*reg), (*src).into(), (*ty).try_into()?)?; in assign_context_args()
349 masm.compute_addr(addr, writable!(reg), ty.try_into()?)?; in assign()
356 masm.compute_addr(addr, scratch.writable(), ty.try_into()?)?; in assign()
H A Dcontext.rs14 reg::{Reg, WritableReg, writable},
67 writable!(typed_reg.reg), in i32_shift()
96 writable!(typed_reg.reg), in i64_shift()
263 masm.pop(writable!(reg), val.ty().try_into()?)?; in pop_to_reg()
294 masm.load(local_addr, scratch.writable(), size)?; in pop_to_addr()
300 masm.pop(scratch.writable(), size)?; in pop_to_addr()
327 masm.load(addr, writable!(dst), size) in move_val_to_reg()
331 masm.load(addr, writable!(dst), size) in move_val_to_reg()
554 let dst = writable!(match kind { in extract_lane_op()
618 emit(masm, src, writable!(dst.into()), kind)?; in replace_lane_op()
[all …]
/wasmtime-44.0.1/winch/codegen/src/isa/aarch64/
H A Dmasm.rs17 reg::{Reg, WritableReg, writable},
108 writable!(regs::sp()), in with_aligned_sp()
200 masm.add_stack_max(scratch_stk_limit.writable(), scratch_tmp.writable()); in check_stack()
230 writable!(regs::shadow_sp()), in frame_restore()
885 writable!(dividend), in rem()
886 scratch.writable(), in rem()
910 masm.asm.cnt(tmp.writable()); in popcnt()
954 writable!(dst), in unsigned_truncate()
956 scratch.writable(), in unsigned_truncate()
1166 writable!(tmp), in jmp_table()
[all …]
H A Dasm.rs12 reg::{Reg, WritableReg, writable},
347 let writable = rd.map(Into::into); in fmov_rr() localVariable
350 rd: writable, in fmov_rr()
354 rd: writable, in fmov_rr()
430 self.alu_rri(ALUOp::SubS, imm, rn, writable!(regs::zero()), size); in subs_ir()
444 writable!(regs::zero()), in subs_rrr()
474 writable!(zero()), in div_rrr()
497 writable!(divisor), in div_rrr()
502 writable!(dividend), in div_rrr()
537 writable!(divisor), in rem_rrr()
[all …]
/wasmtime-44.0.1/cranelift/module/src/
H A Dmodule.rs390 pub writable: bool, field
410 self.writable = self.writable || writable; in merge()
781 writable: bool, in declare_data()
790 existing.merge(linkage, writable, tls); in declare_data()
802 writable, in declare_data()
816 writable, in declare_anonymous_data()
893 writable: bool, in declare_data()
1043 writable: bool, in declare_data()
1050 (**self).declare_anonymous_data(writable, tls) in declare_anonymous_data()
1147 writable: bool, in declare_data()
[all …]
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_poll_oneoff_stdio.rs92 let mut writable: HashMap<u64, wasip1::Fd> = in test_stdout_stderr_write() localVariable
110 while !writable.is_empty() { in test_stdout_stderr_write()
114 let mut subs = writable_subs(&writable); in test_stdout_stderr_write()
121 if let Some(_) = writable.remove(&ud) { in test_stdout_stderr_write()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dtcp.rs172 stream.writable().await?; in background_write()
252 let writable = self.stream.writable(); in check_write() localVariable
253 futures::pin_mut!(writable); in check_write()
254 if crate::runtime::poll_noop(writable).is_none() { in check_write()
307 self.stream.writable().await.unwrap(); in ready()
/wasmtime-44.0.1/winch/codegen/src/isa/
H A Dreg.rs18 macro_rules! writable { macro
24 pub(crate) use writable;
/wasmtime-44.0.1/cranelift/jit/src/memory/
H A Dsystem.rs239 writable: Memory, field
248 writable: Memory::new(), in new()
257 self.writable.free_memory(); in free_memory()
268 JITMemoryKind::Writable => self.writable.allocate(size, align), in allocate()
/wasmtime-44.0.1/tests/all/
H A Dpulley_provenance_test_async_component.wat120 (import "" "stream.drop-writable" (func $stream.drop-writable (param i32)))
143 (call $stream.drop-writable (global.get $w))
182 (core func $stream.drop-writable (canon stream.drop-writable $s))
193 (export "stream.drop-writable" (func $stream.drop-writable))
/wasmtime-44.0.1/cranelift/jit/src/
H A Dbackend.rs445 writable: bool, in declare_data()
451 .declare_data(name, linkage, writable, tls)?; in declare_data()
455 fn declare_anonymous_data(&mut self, writable: bool, tls: bool) -> ModuleResult<DataId> { in declare_anonymous_data()
457 let id = self.declarations.declare_anonymous_data(writable, tls)?; in declare_anonymous_data()
601 let (align, kind) = if decl.writable { in define_data()
/wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/
H A Dregs.rs45 $reg:expr => $readable:ident, $writable:ident;
57 pub fn $writable() -> Writable<Reg> {
/wasmtime-44.0.1/cranelift/object/src/
H A Dbackend.rs264 writable: bool, in declare_data()
271 .declare_data(name, linkage, writable, tls)?; in declare_data()
304 fn declare_anonymous_data(&mut self, writable: bool, tls: bool) -> ModuleResult<DataId> { in declare_anonymous_data()
305 let id = self.declarations.declare_anonymous_data(writable, tls)?; in declare_anonymous_data()
415 } else if decl.writable { in define_data()
441 if decl.writable { in define_data()
/wasmtime-44.0.1/crates/wasi-common/src/tokio/
H A Dfile.rs201 async fn writable(&self) -> Result<(), Error> {
212 let _ = asyncfd.writable().await?;

12