Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 1418) sorted by relevance

12345678910>>...57

/wasmtime-44.0.1/winch/codegen/src/isa/aarch64/
H A Daddress.rs31 offset: i64,
36 offset: SImm9,
43 offset: SImm7Scaled,
53 offset, in pre_indexed_from_sp()
61 offset, in post_indexed_from_sp()
69 offset, in pre_indexed_from_sp_for_pair()
77 offset, in post_indexed_from_sp_for_pair()
86 offset, in from_shadow_sp()
91 pub fn offset(base: Reg, offset: i64) -> Self { in offset() method
103 Self::Offset { base, offset } in offset()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dstructref.rs142 let offset = layout.fields[field].offset; in read_field() localVariable
167 let offset = layout.fields[field].offset; in write_field() localVariable
192 let raw = data.read_u32(offset); in write_field()
204 let raw = data.read_u32(offset); in write_field()
216 let raw = data.read_u32(offset); in write_field()
279 let offset = layout.fields[field].offset; in initialize_field() localVariable
292 offset: u32, in read_field_impl()
336 offset: u32, in initialize_field_impl()
364 .write_u32(offset, x); in initialize_field_impl()
374 .write_u32(offset, x); in initialize_field_impl()
[all …]
H A Darrayref.rs148 let offset = layout.elem_offset(index); in read_elem() localVariable
208 let offset = layout.elem_offset(index); in write_elem() localVariable
322 let offset = layout.elem_offset(index); in initialize_elem() localVariable
333 .write_i32(offset, i), in initialize_elem()
336 .write_i64(offset, i), in initialize_elem()
339 .write_u32(offset, f), in initialize_elem()
342 .write_u64(offset, f), in initialize_elem()
345 .write_v128(offset, v), in initialize_elem()
358 .write_u32(offset, x); in initialize_elem()
368 .write_u32(offset, x); in initialize_elem()
[all …]
H A Ddata.rs77 pub fn $read(&self, offset: u32) -> $T
88 pub fn $write(&mut self, offset: u32, val: $T)
135 let offset = usize::try_from(offset).unwrap(); in read_pod() localVariable
136 let end = offset.checked_add(N).unwrap(); in read_pod()
153 let offset = usize::try_from(offset).unwrap(); in write_pod() localVariable
154 let end = offset.checked_add(N).unwrap(); in write_pod()
155 let into = match self.data.get_mut(offset..end) { in write_pod()
172 pub fn slice(&self, offset: u32, len: u32) -> &[u8] { in slice()
173 let start = usize::try_from(offset).unwrap(); in slice()
187 let start = usize::try_from(offset).unwrap(); in slice_mut()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/isa/
H A Dunwind.rs219 offset: usize, field
224 Self { buf, offset: 0 } in new()
229 self.offset += 1; in write_u8()
233 self.buf[self.offset..(self.offset + 2)].copy_from_slice(&v.to_le_bytes()); in write_u16_le()
234 self.offset += 2; in write_u16_le()
238 self.buf[self.offset..(self.offset + 2)].copy_from_slice(&v.to_be_bytes()); in write_u16_be()
239 self.offset += 2; in write_u16_be()
243 self.buf[self.offset..(self.offset + 4)].copy_from_slice(&v.to_le_bytes()); in write_u32_le()
244 self.offset += 4; in write_u32_le()
248 self.buf[self.offset..(self.offset + 4)].copy_from_slice(&v.to_be_bytes()); in write_u32_be()
[all …]
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/
H A Dreturn-call-indirect.clif23 ; block0: ; offset 0x0
26 ; block1: ; offset 0x4
49 ; block0: ; offset 0x0
52 ; block1: ; offset 0x4
77 ; block0: ; offset 0x0
80 ; block1: ; offset 0x4
105 ; block0: ; offset 0x0
108 ; block1: ; offset 0x4
146 ; block0: ; offset 0x0
149 ; block1: ; offset 0x4
[all …]
H A Dfma-call.clif21 ; block0: ; offset 0x0
24 ; block1: ; offset 0x4
48 ; block0: ; offset 0x0
51 ; block1: ; offset 0x4
69 ; movdqu %xmm0, <offset:1>+(%rsp)
74 ; movdqu <offset:1>+(%rsp), %xmm1
83 ; movdqu <offset:1>+(%rsp), %xmm1
115 ; block0: ; offset 0x0
119 ; block1: ; offset 0x8
199 ; block0: ; offset 0x0
[all …]
H A Dreturn-call.clif23 ; block0: ; offset 0x0
26 ; block1: ; offset 0x4
47 ; block0: ; offset 0x0
50 ; block1: ; offset 0x4
72 ; block0: ; offset 0x0
75 ; block1: ; offset 0x4
99 ; block0: ; offset 0x0
102 ; block1: ; offset 0x4
138 ; block0: ; offset 0x0
141 ; block1: ; offset 0x4
[all …]
H A Dbranches.clif36 ; block0: ; offset 0x0
39 ; block1: ; offset 0x4
42 ; block2: ; offset 0xc
47 ; block3: ; offset 0x16
85 ; block0: ; offset 0x0
88 ; block1: ; offset 0x4
91 ; block2: ; offset 0xc
96 ; block3: ; offset 0x16
134 ; block0: ; offset 0x0
137 ; block1: ; offset 0x4
[all …]
H A Dstackslot.clif30 ; leaq <offset:1>+(%rsp), %rax
31 ; leaq <offset:1>+0x10(%rsp), %rdx
33 ; leaq <offset:1>+0x20(%rsp), %r8
42 ; block0: ; offset 0x0
50 ; block1: ; offset 0x18
85 ; movl %esi, <offset:1>+(%rsp)
86 ; movq %rdx, <offset:1>+4(%rsp)
90 ; movl <offset:1>+(%rsp), %eax
91 ; movq <offset:1>+4(%rsp), %rdx
102 ; block0: ; offset 0x0
[all …]
H A Dtail-call-conv.clif24 ; block0: ; offset 0x0
27 ; block1: ; offset 0x4
105 ; block0: ; offset 0x0
114 ; block1: ; offset 0x27
280 ; block0: ; offset 0x0
289 ; block1: ; offset 0x2d
404 ; block0: ; offset 0x0
413 ; block1: ; offset 0x33
554 ; block0: ; offset 0x0
773 ; block0: ; offset 0x0
[all …]
H A Dsimd-arith-avx.clif20 ; block0: ; offset 0x0
23 ; block1: ; offset 0x4
45 ; block0: ; offset 0x0
48 ; block1: ; offset 0x4
70 ; block0: ; offset 0x0
73 ; block1: ; offset 0x4
95 ; block0: ; offset 0x0
98 ; block1: ; offset 0x4
120 ; block0: ; offset 0x0
123 ; block1: ; offset 0x4
[all …]
H A Dstack_switch.clif38 ; block0: ; offset 0x0
47 ; block1: ; offset 0x20
154 ; movq %rax, <offset:1>+0x78(%rsp)
182 ; movq %rdi, <offset:1>+(%rsp)
183 ; movq %rax, <offset:1>+8(%rsp)
215 ; movq <offset:1>+8(%rsp), %rax
217 ; movq <offset:1>+(%rsp), %rax
230 ; block0: ; offset 0x0
239 ; block1: ; offset 0x33
466 ; block0: ; offset 0x0
[all …]
H A Dmul.clif22 ; block0: ; offset 0x0
25 ; block1: ; offset 0x4
49 ; block0: ; offset 0x0
52 ; block1: ; offset 0x4
76 ; block0: ; offset 0x0
79 ; block1: ; offset 0x4
103 ; block0: ; offset 0x0
106 ; block1: ; offset 0x4
132 ; block0: ; offset 0x0
135 ; block1: ; offset 0x4
[all …]
H A Dsimd-bitwise-avx.clif21 ; block0: ; offset 0x0
24 ; block1: ; offset 0x4
55 ; block0: ; offset 0x0
58 ; block1: ; offset 0x4
86 ; block0: ; offset 0x0
89 ; block1: ; offset 0x4
111 ; block0: ; offset 0x0
114 ; block1: ; offset 0x4
136 ; block0: ; offset 0x0
139 ; block1: ; offset 0x4
[all …]
H A Dbitcast.clif21 ; block0: ; offset 0x0
24 ; block1: ; offset 0x4
48 ; block0: ; offset 0x0
51 ; block1: ; offset 0x4
74 ; block0: ; offset 0x0
77 ; block1: ; offset 0x4
99 ; block0: ; offset 0x0
102 ; block1: ; offset 0x4
124 ; block0: ; offset 0x0
127 ; block1: ; offset 0x4
[all …]
H A Dbmi1.clif22 ; block0: ; offset 0x0
25 ; block1: ; offset 0x4
49 ; block0: ; offset 0x0
52 ; block1: ; offset 0x4
76 ; block0: ; offset 0x0
79 ; block1: ; offset 0x4
103 ; block0: ; offset 0x0
106 ; block1: ; offset 0x4
130 ; block0: ; offset 0x0
133 ; block1: ; offset 0x4
[all …]
H A Dextractlane.clif20 ; block0: ; offset 0x0
23 ; block1: ; offset 0x4
45 ; block0: ; offset 0x0
48 ; block1: ; offset 0x4
70 ; block0: ; offset 0x0
73 ; block1: ; offset 0x4
95 ; block0: ; offset 0x0
98 ; block1: ; offset 0x4
120 ; block0: ; offset 0x0
123 ; block1: ; offset 0x4
[all …]
/wasmtime-44.0.1/crates/explorer/src/
H A Dindex.js70 let color = offset;
71 while (offset) {
72 color = crc24(color, offset & 0xff);
73 offset >>= 8;
86 const rgbForOffset = offset => { argument
87 let rgb = offsetToRgb.get(offset);
90 offsetToRgb.set(offset, rgb);
129 if (offset !== null) {
156 if (offset === null) return;
269 const addCurrentBlock = offset => { argument
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dcomponent.rs523 let offset = self.offsets.runtime_memory(idx); in set_runtime_memory() localVariable
537 let offset = self.offsets.runtime_realloc(idx); in set_runtime_realloc() localVariable
582 let offset = self.offsets.runtime_table(idx); in set_runtime_table() localVariable
598 let offset = self.offsets.lowering(idx); in set_lowering() localVariable
599 *self.vmctx_plus_offset_mut(offset) = lowering; in set_lowering()
674 let offset = self.offsets.magic(); in initialize_vmctx() localVariable
687 let offset = self.offsets.builtins(); in initialize_vmctx() localVariable
694 let offset = self.offsets.vm_store_context(); in initialize_vmctx() localVariable
696 *self.as_mut().vmctx_plus_offset_mut(offset) = in initialize_vmctx()
726 let offset = self.offsets.lowering_data(i); in initialize_vmctx() localVariable
[all …]
/wasmtime-44.0.1/winch/codegen/src/abi/
H A Dlocal.rs33 pub offset: u32, field
43 pub fn new(ty: WasmValType, offset: u32) -> Self { in new()
46 offset, in new()
52 pub fn i32(offset: u32) -> Self { in i32()
55 offset, in i32()
61 pub fn i64(offset: u32) -> Self { in i64()
64 offset, in i64()
70 pub fn stack_arg(ty: WasmValType, offset: u32) -> Self { in stack_arg()
73 offset, in stack_arg()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dmemory.rs12 let offset = input.offset; in check_memory_accesses() localVariable
14 let wasm = build_wasm(&input.image, offset); in check_memory_accesses()
16 let offset = u64::from(offset); in check_memory_accesses() localVariable
86 assert!(addr + offset + 1 <= len); in check_memory_accesses()
95 let addr = n + offset + i; in check_memory_accesses()
105 let addr = n + offset + i; in check_memory_accesses()
114 assert!(n + offset + 8 <= len); in check_memory_accesses()
313 offset: u64::from(offset), in build_wasm()
329 offset: u64::from(offset), in build_wasm()
344 offset: u64::from(offset), in build_wasm()
[all …]
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/riscv64/
H A Dbrif.clif31 ; block0: ; offset 0x0
34 ; block1: ; offset 0x8
37 ; block2: ; offset 0x10
67 ; block0: ; offset 0x0
71 ; block1: ; offset 0xc
74 ; block2: ; offset 0x14
103 ; block0: ; offset 0x0
106 ; block1: ; offset 0x8
137 ; block0: ; offset 0x0
139 ; block1: ; offset 0x4
[all …]
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_file_seek_tell.rs25 assert_eq!(offset, 0, "current offset should be 0"); in test_file_seek_tell()
38 assert_eq!(offset, 100, "offset after writing should be 100"); in test_file_seek_tell()
79 assert_eq!(offset, 100, "offset after reading should be 100"); in test_file_seek_tell()
104 let mut offset = wasip1::fd_seek(file_fd, 0, wasip1::WHENCE_CUR).unwrap(); in seek_and_o_append() localVariable
105 assert_eq!(offset, 0); in seek_and_o_append()
106 offset = wasip1::fd_tell(file_fd).unwrap(); in seek_and_o_append()
107 assert_eq!(offset, 0); in seek_and_o_append()
117 let mut offset = wasip1::fd_seek(file_fd, 0, wasip1::WHENCE_CUR).unwrap(); in seek_and_o_append() localVariable
118 assert_eq!(offset, 100); in seek_and_o_append()
119 offset = wasip1::fd_tell(file_fd).unwrap(); in seek_and_o_append()
[all …]
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/aarch64/
H A Dconstants.clif17 ; block0: ; offset 0x0
33 ; block0: ; offset 0x0
49 ; block0: ; offset 0x0
65 ; block0: ; offset 0x0
81 ; block0: ; offset 0x0
97 ; block0: ; offset 0x0
113 ; block0: ; offset 0x0
129 ; block0: ; offset 0x0
145 ; block0: ; offset 0x0
161 ; block0: ; offset 0x0
[all …]

12345678910>>...57