Home
last modified time | relevance | path

Searched refs:Frame (Results 1 – 25 of 28) sorted by relevance

12

/wasmtime-44.0.1/crates/unwinder/src/
H A Dstackwalk.rs59 pub struct Frame { struct
70 impl Frame { implementation
157 pub fn frame(&self) -> Frame { in frame() argument
159 Frame { in frame()
290 ) -> impl Iterator<Item = Frame> { in frame_iterator()
329 mut f: impl FnMut(Frame) -> ControlFlow<R>, in visit_frames()
H A Dthrow.rs19 use crate::{Frame, Unwind};
45 pub unsafe fn find<F: Fn(&Frame) -> Option<(usize, usize)>>( in find()
/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dframe.rs13 pub struct Frame<'a> { struct
21 impl<'a> Frame<'a> { impl
138 Frame::new(&func); in construction()
144 let mut frame = Frame::new(&func); in assignment_and_retrieval()
156 let mut frame = Frame::new(&func); in assignment_to_extra_slots()
170 let mut frame = Frame::new(&func); in invalid_assignment()
183 let frame = Frame::new(&func); in retrieve_nonexistent_value()
194 let mut frame = Frame::new(&func); in retrieve_and_assign_multiple_values()
219 let mut frame = Frame::new(&func); in rename()
237 let mut frame = Frame::new(&func); in rename_duplicates_causes_inconsistency()
H A Dstate.rs4 use crate::frame::Frame;
36 fn current_frame_mut(&mut self) -> &mut Frame<'a>; in current_frame_mut()
37 fn current_frame(&self) -> &Frame<'a>; in current_frame()
H A Dinterpreter.rs7 use crate::frame::Frame;
201 pub frame_stack: Vec<Frame<'a>>,
262 self.frame_stack.push(Frame::new(function)); in push_frame()
277 fn current_frame_mut(&mut self) -> &mut Frame<'a> { in current_frame_mut()
285 fn current_frame(&self) -> &Frame<'a> { in current_frame()
/wasmtime-44.0.1/winch/codegen/src/frame/
H A Dmod.rs79 pub(crate) struct Frame<P: CodeGenPhase> { struct
99 impl Frame<Prologue> { argument
101 pub fn new<A: ABI>(sig: &ABISig, defined_locals: &DefinedLocals) -> Result<Frame<Prologue>> { in new()
170 pub fn for_emission(self) -> Frame<Emission> { in for_emission()
171 Frame { in for_emission()
252 impl Frame<Emission> { impl
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/traphandlers/
H A Dbacktrace.rs34 use wasmtime_unwinder::Frame;
40 pub struct Backtrace(Vec<Frame>);
116 pub fn trace(store: &StoreOpaque, mut f: impl FnMut(Frame) -> ControlFlow<()>) { in trace()
142 mut f: impl FnMut(Frame) -> ControlFlow<()>, in trace_suspended_continuation()
401 ) -> impl ExactSizeIterator<Item = &'a Frame> + DoubleEndedIterator + 'a { in frames()
/wasmtime-44.0.1/crates/wasi-http/tests/all/p3/
H A Dmod.rs473 .send(Ok(http_body::Frame::data(raw_body))) in test_http_echo()
477 .send(Ok(http_body::Frame::trailers({ in test_http_echo()
568 .send(Ok(http_body::Frame::data(raw_body))) in p3_http_proxy()
605 ) -> Poll<Option<Result<http_body::Frame<Self::Data>, Self::Error>>> { in poll_frame()
615 Poll::Ready(Some(Ok(http_body::Frame::data(data)))) in poll_frame()
664 .send(Ok(http_body::Frame::data(raw_body))) in p3_http_empty_frame_at_end_of_stream()
716 .send(Ok(http_body::Frame::data(raw_body))) in p3_http_data_frame_at_end_of_stream()
757 ) -> Poll<Option<Result<http_body::Frame<Self::Data>, Self::Error>>> { in poll_frame()
760 return Poll::Ready(Some(Ok(http_body::Frame::data(Bytes::new())))); in poll_frame()
804 .send(Ok(http_body::Frame::data(Bytes::from_static(b"hello ")))) in p3_http_empty_frames_interleaved()
[all …]
/wasmtime-44.0.1/crates/gdbstub-component/src/
H A Daddr.rs4 use crate::api::{Debuggee, Frame, Memory, Module};
134 pub fn frame_to_pc(&self, frame: &Frame, debuggee: &Debuggee) -> WasmAddr { in frame_to_pc() argument
144 pub fn frame_to_return_addr(&self, frame: &Frame, debuggee: &Debuggee) -> Option<WasmAddr> { in frame_to_return_addr() argument
H A Dlib.rs79 frame_cache: Vec<api::Frame>,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dthrow.rs7 use wasmtime_unwinder::{Frame, Handler};
51 let handler_lookup = |frame: &Frame| -> Option<(usize, usize)> { in compute_handler()
/wasmtime-44.0.1/crates/wasi-http/src/p2/
H A Dbody.rs6 use http_body::{Body, Frame};
122 ) -> Poll<Option<Result<Frame<Bytes>, types::ErrorCode>>> { in poll_frame()
172 fn record_frame(&mut self, frame: Option<Result<Frame<Bytes>, types::ErrorCode>>) { in record_frame()
447 ) -> Poll<Option<Result<Frame<Self::Data>, Self::Error>>> { in new()
450 Poll::Ready(Some(frame)) => Poll::Ready(Some(Ok(Frame::data(frame)))), in new()
463 Poll::Ready(Some(Ok(Frame::trailers(trailers)))) in new()
/wasmtime-44.0.1/crates/debugger/src/host/
H A Dapi.rs156 pub struct Frame(FrameHandle); struct
242 result.push(self.push_child(Frame(frame), &debuggee)?); in exit_frames()
856 self_: Resource<Frame>, in get_instance() argument
867 self_: Resource<Frame>, in get_func_index() argument
876 async fn get_pc(&mut self, self_: Resource<Frame>, d: Resource<Debuggee>) -> Result<u32> { in get_pc() argument
885 self_: Resource<Frame>, in get_locals() argument
900 self_: Resource<Frame>, in get_stack() argument
915 self_: Resource<Frame>, in parent_frame() argument
917 ) -> Result<Option<Resource<Frame>>> { in parent_frame() argument
922 Some(p) => Ok(Some(self.push(Frame(p))?)), in parent_frame()
[all …]
H A Dbindings.rs21 "bytecodealliance:wasmtime/debuggee.frame": super::api::Frame,
/wasmtime-44.0.1/crates/c-api/include/
H A Dwasm.hh624 class WASM_API_EXTERN Frame { class
629 Frame() = default;
630 ~Frame() = default;
633 auto copy() const -> own<Frame>;
654 auto origin() const -> own<Frame>; // may be null
655 auto trace() const -> ownvec<Frame>; // may be empty, origin first
/wasmtime-44.0.1/winch/codegen/src/isa/aarch64/
H A Dmod.rs6 frame::{DefinedLocals, Frame},
114 let frame = Frame::new::<abi::Aarch64ABI>(&abi_sig, &defined_locals)?; in compile_function()
/wasmtime-44.0.1/winch/codegen/src/isa/x64/
H A Dmod.rs1 use crate::frame::{DefinedLocals, Frame};
119 let frame = Frame::new::<abi::X64ABI>(&abi_sig, &defined_locals)?; in compile_function()
/wasmtime-44.0.1/crates/wasi-http/src/p3/
H A Dbody.rs333 ) -> Poll<Option<Result<http_body::Frame<Self::Data>, Self::Error>>> { in poll_frame()
346 return Poll::Ready(Some(Ok(http_body::Frame::data(buf)))); in poll_frame()
366 Ok(Ok(Some(trailers))) => Poll::Ready(Some(Ok(http_body::Frame::trailers( in poll_frame()
498 match frame.into_data().map_err(http_body::Frame::into_trailers) { in poll_produce()
582 ) -> Poll<Option<Result<http_body::Frame<Self::Data>, Self::Error>>> { in poll_frame()
630 ) -> Poll<Option<Result<http_body::Frame<Self::Data>, Self::Error>>> { in poll_frame()
H A Drequest.rs413 ) -> Poll<Option<Result<http_body::Frame<Self::Data>, Self::Error>>> { in default_send_request()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dprofiling.rs9 CategoryHandle, Frame, FrameFlags, FrameInfo, LibraryInfo, MarkerLocations, MarkerTiming,
329 frame: Frame::RelativeAddressFromReturnAddress( in lookup_frames()
H A Ddebug.rs30 use wasmtime_unwinder::{Frame, FrameCursor};
638 frame: Frame, in lookup_or_compute() argument
/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Dcontext.rs8 frame::Frame,
42 pub frame: Frame<P>,
116 frame: Frame<Prologue>, in new()
837 frame: &Frame<Emission>, in spill_impl()
/wasmtime-44.0.1/crates/wasi-http/tests/all/
H A Dp2.rs4 use http_body::Frame;
543 .map(|chunk| Ok::<_, hyper::Error>(Frame::data(Bytes::copy_from_slice(chunk)))) in do_wasi_http_echo()
/wasmtime-44.0.1/src/commands/
H A Dserve.rs8 use hyper::body::{Body, Frame, SizeHint};
1271 ) -> Poll<Option<Result<Frame<Self::Data>, Self::Error>>> { in handle_request()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dfunction_runner.rs641 let frame_handler = |frame: &wasmtime_unwinder::Frame| -> Option<(usize, usize)> { in __cranelift_throw()

12