Home
last modified time | relevance | path

Searched refs:Return (Results 1 – 25 of 69) sorted by relevance

123

/wasmtime-44.0.1/crates/fiber/src/
H A Dlib.rs130 pub struct Fiber<'a, Resume, Yield, Return> {
134 _phantom: PhantomData<&'a (Resume, Yield, Return)>,
137 pub struct Suspend<Resume, Yield, Return> {
139 _phantom: PhantomData<(Resume, Yield, Return)>,
146 enum RunResult<Resume, Yield, Return> {
161 Returned(Return),
168 impl<'a, Resume, Yield, Return> Fiber<'a, Resume, Yield, Return> {
176 func: impl FnOnce(Resume, &mut Suspend<Resume, Yield, Return>) -> Return + 'a, in new()
203 pub fn resume(&self, val: Resume) -> Result<Return, Yield> { in resume() argument
239 impl<Resume, Yield, Return> Suspend<Resume, Yield, Return> {
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dfunc.rs139 pub fn typed<Params, Return>(&self, store: impl AsContext) -> Result<TypedFunc<Params, Return>> in typed()
142 Return: ComponentNamedList + Lift, in typed()
147 pub(crate) fn _typed<Params, Return>( in _typed()
151 ) -> Result<TypedFunc<Params, Return>> in _typed()
154 Return: ComponentNamedList + Lift, in _typed()
156 self.typecheck::<Params, Return>(store, instance)?; in _typed()
160 fn typecheck<Params, Return>( in typecheck()
167 Return: ComponentNamedList + Lift, in typecheck()
587 ) -> Result<(Return, ValRaw)> in call_raw() argument
607 union Union<Params: Copy, Return: Copy> { in call_raw()
[all …]
H A Dlinker.rs419 pub fn func_wrap<F, Params, Return>(&mut self, name: &str, func: F) -> Result<()> in func_wrap()
421 F: Fn(StoreContextMut<T>, Params) -> Result<Return> + Send + Sync + 'static, in func_wrap()
423 Return: ComponentNamedList + Lower + 'static, in func_wrap()
460 pub fn func_wrap_async<Params, Return, F>(&mut self, name: &str, f: F) -> Result<()> in func_wrap_async() argument
465 ) -> Box<dyn Future<Output = Result<Return>> + Send + '_> in func_wrap_async()
470 Return: ComponentNamedList + Lower + 'static, in func_wrap_async()
524 pub fn func_wrap_concurrent<Params, Return, F>(&mut self, name: &str, f: F) -> Result<()> in func_wrap_concurrent() argument
527 F: Fn(&Accessor<T>, Params) -> Pin<Box<dyn Future<Output = Result<Return>> + Send + '_>> in func_wrap_concurrent()
532 Return: ComponentNamedList + Lower + 'static, in func_wrap_concurrent()
/wasmtime-44.0.1/pulley/src/
H A Ddecode.rs520 pub fn decode_all<'a, V>(visitor: &mut V) -> Result<Vec<V::Return>> in decode_all()
573 ) -> Result<V::Return, <V::BytecodeStream as BytecodeStream>::Error>
623 type Return;
638 fn $snake_name(&mut self $( $( , $field : $field_ty )* )? ) -> Self::Return;
644 F: FnMut(V1::Return, V2::Return) -> T,
654 type Return = T;
669 fn $snake_name(&mut self $( $( , $field : $field_ty )* )? ) -> Self::Return {
696 fn $snake_name(&mut self $( $( , $field : $field_ty )* )? ) -> Self::Return;
702 ) -> Result<V::Return, <V::BytecodeStream as BytecodeStream>::Error>
733 F: FnMut(V1::Return, V2::Return) -> T,
[all …]
H A Dop.rs248 type Return = crate::op::Op;
252 fn $snake_name(&mut self $( $( , $field : $field_ty )* )? ) -> Self::Return {
274 fn $snake_name(&mut self $( $( , $field : $field_ty )* )? ) -> Self::Return {
/wasmtime-44.0.1/pulley/src/interp/
H A Ddebug.rs56 fn $snake_name(&mut self $( $( , $field : $field_ty )* )? ) -> Self::Return {
80 type Return = <Interpreter<'a> as OpVisitor>::Return; typedef
/wasmtime-44.0.1/crates/debugger/wit/deps/
H A Drandom.wit9 /// Return a 128-bit value that may contain a pseudo-random value.
36 /// Return `len` insecure pseudo-random bytes.
47 /// Return an insecure pseudo-random `u64` value.
61 /// Return `len` cryptographically-secure random or pseudo-random bytes.
76 /// Return a cryptographically-secure random or pseudo-random `u64` value.
H A Dfilesystem.wit299 /// Return a stream for reading from a file, if available.
309 /// Return a stream for writing to a file, if available.
317 /// Return a stream for appending to a file, if available.
419 /// Return the attributes of an open file or directory.
430 /// Return the attributes of a file or directory.
480 /// Return `error-code::not-empty` if the directory is not empty.
500 /// Return `error-code::is-directory` if the path refers to a directory.
512 /// Return a hash of the metadata associated with a filesystem object referred
533 /// Return a hash of the metadata associated with a filesystem object referred
568 /// Return the set of preopened directories, and their paths.
/wasmtime-44.0.1/crates/wasi/src/p2/wit/deps/
H A Drandom.wit9 /// Return a 128-bit value that may contain a pseudo-random value.
36 /// Return `len` insecure pseudo-random bytes.
47 /// Return an insecure pseudo-random `u64` value.
61 /// Return `len` cryptographically-secure random or pseudo-random bytes.
76 /// Return a cryptographically-secure random or pseudo-random `u64` value.
H A Dfilesystem.wit299 /// Return a stream for reading from a file, if available.
309 /// Return a stream for writing to a file, if available.
317 /// Return a stream for appending to a file, if available.
419 /// Return the attributes of an open file or directory.
430 /// Return the attributes of a file or directory.
480 /// Return `error-code::not-empty` if the directory is not empty.
500 /// Return `error-code::is-directory` if the path refers to a directory.
512 /// Return a hash of the metadata associated with a filesystem object referred
533 /// Return a hash of the metadata associated with a filesystem object referred
568 /// Return the set of preopened directories, and their paths.
/wasmtime-44.0.1/crates/wasi-http/wit/deps/
H A Drandom.wit9 /// Return a 128-bit value that may contain a pseudo-random value.
36 /// Return `len` insecure pseudo-random bytes.
47 /// Return an insecure pseudo-random `u64` value.
61 /// Return `len` cryptographically-secure random or pseudo-random bytes.
76 /// Return a cryptographically-secure random or pseudo-random `u64` value.
H A Dfilesystem.wit299 /// Return a stream for reading from a file, if available.
309 /// Return a stream for writing to a file, if available.
317 /// Return a stream for appending to a file, if available.
419 /// Return the attributes of an open file or directory.
430 /// Return the attributes of a file or directory.
480 /// Return `error-code::not-empty` if the directory is not empty.
500 /// Return `error-code::is-directory` if the path refers to a directory.
512 /// Return a hash of the metadata associated with a filesystem object referred
533 /// Return a hash of the metadata associated with a filesystem object referred
568 /// Return the set of preopened directories, and their paths.
/wasmtime-44.0.1/cranelift/filetests/filetests/verifier/
H A Dargument-extension.clif13 function %float_ret_with_sext(f32) -> f32 sext { ; error: Return value at position 0 has invalid ex…
18 function %float_ret_with_uext(f32) -> f32 uext { ; error: Return value at position 0 has invalid ex…
/wasmtime-44.0.1/crates/wasi/src/p3/wit/deps/
H A Drandom.wit9 /// Return a 128-bit value that may contain a pseudo-random value.
36 /// Return up to `max-len` insecure pseudo-random bytes.
54 /// Return an insecure pseudo-random `u64` value.
68 /// Return up to `max-len` cryptographically-secure random or pseudo-random
91 /// Return a cryptographically-secure random or pseudo-random `u64` value.
/wasmtime-44.0.1/crates/wasi-http/src/p3/wit/deps/
H A Drandom.wit9 /// Return a 128-bit value that may contain a pseudo-random value.
36 /// Return up to `max-len` insecure pseudo-random bytes.
54 /// Return an insecure pseudo-random `u64` value.
68 /// Return up to `max-len` cryptographically-secure random or pseudo-random
91 /// Return a cryptographically-secure random or pseudo-random `u64` value.
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/
H A Dtyped.rs62 impl<Params, Return> Copy for TypedFunc<Params, Return> {}
64 impl<Params, Return> Clone for TypedFunc<Params, Return> {
70 impl<Params, Return> TypedFunc<Params, Return>
163 ) -> Result<Return> in call_async()
165 Return: 'static, in call_async()
297 ) -> Result<Return> in call_concurrent()
300 Return: 'static, in call_concurrent()
357 Return: 'static, in prepare_call()
537 dst: &Return::Lower, in lift_stack_result()
538 ) -> Result<Return> { in lift_stack_result() argument
[all …]
/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dinterpreter.rs121 ControlFlow::Return(rets) => { in block()
137 ControlFlow::Return(rets) => Ok(ControlFlow::Return(rets)), in block()
144 ControlFlow::Return(returned_values) => { in block()
146 return Ok(ControlFlow::Return(returned_values)); in block()
590 assert_eq!(result, ControlFlow::Return(smallvec![DataValue::I8(1)])); in sanity()
666 assert_eq!(result, ControlFlow::Return(smallvec![DataValue::I32(0)])); in function_references()
686 assert_eq!(result, ControlFlow::Return(smallvec![DataValue::I32(2)])); in fuel()
706 assert_eq!(result, ControlFlow::Return(smallvec![DataValue::I32(2)])); in fuel()
764 assert_eq!(result, ControlFlow::Return(smallvec![DataValue::I64(26)])) in stack_slots_multi_functions()
973 ControlFlow::Return(smallvec![DataValue::F32(Ieee32::with_float(1.0))]) in libcall()
/wasmtime-44.0.1/cranelift/filetests/filetests/runtests/
H A Dreturn-call-loop.clif23 ;; Loop counter reached zero, we're done iterating. Return a comparison of the
56 ;; Loop counter reached zero, we're done iterating. Return a comparison of the
89 ;; Loop counter reached zero, we're done iterating. Return a comparison of the
122 ;;;; Indirect Return-Call Loop ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dwasi.witx22 ;;; Return command-line argument data sizes.
36 ;;; Return environment variable data sizes.
43 ;;; Return the resolution of a clock.
53 ;;; Return the time value of a clock.
129 ;;; Return the attributes of an open file.
170 ;;; Return a description of the given preopened file descriptor.
177 ;;; Return a description of the given preopened file descriptor.
265 ;;; Return the current offset of a file descriptor.
291 ;;; Return the attributes of a file or directory.
382 ;;; Return `errno::notempty` if the directory is not empty.
[all …]
/wasmtime-44.0.1/crates/wasi/witx/p1/
H A Dwasi_snapshot_preview1.witx23 ;;; Return command-line argument data sizes.
38 ;;; Return environment variable data sizes.
45 ;;; Return the resolution of a clock.
55 ;;; Return the time value of a clock.
131 ;;; Return the attributes of an open file.
172 ;;; Return a description of the given preopened file descriptor.
179 ;;; Return a description of the given preopened file descriptor.
267 ;;; Return the current offset of a file descriptor.
293 ;;; Return the attributes of a file or directory.
384 ;;; Return `errno::notempty` if the directory is not empty.
[all …]
/wasmtime-44.0.1/crates/wasi/witx/p0/
H A Dwasi_unstable.witx26 ;;; Return command-line argument data sizes.
41 ;;; Return environment variable data sizes.
48 ;;; Return the resolution of a clock.
58 ;;; Return the time value of a clock.
134 ;;; Return the attributes of an open file.
175 ;;; Return a description of the given preopened file descriptor.
182 ;;; Return a description of the given preopened file descriptor.
270 ;;; Return the current offset of a file descriptor.
296 ;;; Return the attributes of a file or directory.
387 ;;; Return `errno::notempty` if the directory is not empty.
[all …]
/wasmtime-44.0.1/crates/wasi-common/witx/preview1/
H A Dwasi_snapshot_preview1.witx23 ;;; Return command-line argument data sizes.
38 ;;; Return environment variable data sizes.
45 ;;; Return the resolution of a clock.
55 ;;; Return the time value of a clock.
131 ;;; Return the attributes of an open file.
172 ;;; Return a description of the given preopened file descriptor.
179 ;;; Return a description of the given preopened file descriptor.
267 ;;; Return the current offset of a file descriptor.
293 ;;; Return the attributes of a file or directory.
384 ;;; Return `errno::notempty` if the directory is not empty.
[all …]
/wasmtime-44.0.1/crates/wasi-common/witx/preview0/
H A Dwasi_unstable.witx26 ;;; Return command-line argument data sizes.
41 ;;; Return environment variable data sizes.
48 ;;; Return the resolution of a clock.
58 ;;; Return the time value of a clock.
134 ;;; Return the attributes of an open file.
175 ;;; Return a description of the given preopened file descriptor.
182 ;;; Return a description of the given preopened file descriptor.
270 ;;; Return the current offset of a file descriptor.
296 ;;; Return the attributes of a file or directory.
387 ;;; Return `errno::notempty` if the directory is not empty.
[all …]
/wasmtime-44.0.1/tests/misc_testsuite/
H A Df64-copysign.wast22 ;; Return 0.
/wasmtime-44.0.1/crates/environ/src/
H A Dtunables.rs376 | Operator::Return in default_operator_cost()
406 (Return) => {

123