| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/ |
| H A D | emit_tests.rs | 39 insns.push(( in test_aarch64_binemit() 47 insns.push(( in test_aarch64_binemit() 57 insns.push(( in test_aarch64_binemit() 67 insns.push(( in test_aarch64_binemit() 74 insns.push(( in test_aarch64_binemit() 85 insns.push(( in test_aarch64_binemit() 96 insns.push(( in test_aarch64_binemit() 107 insns.push(( in test_aarch64_binemit() 118 insns.push(( in test_aarch64_binemit() 129 insns.push(( in test_aarch64_binemit() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/ |
| H A D | emit_tests.rs | 17 insns.push(( in test_s390x_binemit() 27 insns.push(( in test_s390x_binemit() 37 insns.push(( in test_s390x_binemit() 47 insns.push(( in test_s390x_binemit() 57 insns.push(( in test_s390x_binemit() 67 insns.push(( in test_s390x_binemit() 77 insns.push(( in test_s390x_binemit() 87 insns.push(( in test_s390x_binemit() 97 insns.push(( in test_s390x_binemit() 107 insns.push(( in test_s390x_binemit() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | emit_tests.rs | 48 insns.push(TestUnit::new( in test_riscv64_binemit() 58 insns.push(TestUnit::new( in test_riscv64_binemit() 68 insns.push(TestUnit::new( in test_riscv64_binemit() 78 insns.push(TestUnit::new( in test_riscv64_binemit() 90 insns.push(TestUnit::new( in test_riscv64_binemit() 100 insns.push(TestUnit::new( in test_riscv64_binemit() 111 insns.push(TestUnit::new( in test_riscv64_binemit() 122 insns.push(TestUnit::new( in test_riscv64_binemit() 133 insns.push(TestUnit::new( in test_riscv64_binemit() 143 insns.push(TestUnit::new( in test_riscv64_binemit() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/shared/ |
| H A D | instructions.rs | 20 ig.push( in define_control_flow() 45 ig.push( in define_control_flow() 106 ig.push( in define_control_flow() 119 ig.push( in define_control_flow() 132 ig.push( in define_control_flow() 155 ig.push( in define_control_flow() 174 ig.push( in define_control_flow() 192 ig.push( in define_control_flow() 214 ig.push( in define_control_flow() 241 ig.push( in define_control_flow() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | libcall.rs | 134 sig.params.push(AbiParam::new(F32)); in signature() 135 sig.returns.push(AbiParam::new(F32)); in signature() 138 sig.params.push(AbiParam::new(F64)); in signature() 139 sig.returns.push(AbiParam::new(F64)); in signature() 144 sig.params.push(AbiParam::new(ty)); in signature() 145 sig.params.push(AbiParam::new(ty)); in signature() 146 sig.params.push(AbiParam::new(ty)); in signature() 147 sig.returns.push(AbiParam::new(ty)); in signature() 160 sig.params.push(AbiParam::new(I32)); in signature() 169 sig.returns.push(AbiParam::new(I32)) in signature() [all …]
|
| /wasmtime-44.0.1/crates/environ/src/component/translate/ |
| H A D | inline.rs | 1196 defs.push( in initializer() 1348 frame.funcs.push((ty, def)); in initializer() 1352 frame.tables.push( in initializer() 1361 frame.globals.push( in initializer() 1370 frame.memories.push( in initializer() 1379 frame.tags.push( in initializer() 1463 self.result.imports.push(( in runtime_import() 1786 self.component_funcs.push(i); in push_item() 1789 self.modules.push(i); in push_item() 1792 self.components.push(i); in push_item() [all …]
|
| H A D | adapt.rs | 216 names.push(name); in partition_adapter_modules() 225 let wasm = &*self.scope_vec.push(wasm); in partition_adapter_modules() 271 let static_module_index2 = self.static_modules.push(translation); in partition_adapter_modules() 298 .push((signature.unwrap_module_type_index(), trampoline)); in fact_import_to_core_def() 310 let from = dfg.memories.push(unwrap_memory(from)); in fact_import_to_core_def() 311 let to = dfg.memories.push(unwrap_memory(to)); in fact_import_to_core_def() 313 let index = dfg.trampolines.push(( in fact_import_to_core_def() 334 callback: callback.clone().map(|v| dfg.callbacks.push(v)), in fact_import_to_core_def() 341 callback: callback.clone().map(|v| dfg.callbacks.push(v)), in fact_import_to_core_def() 405 self.next_module.adapters.push(id); in adapter() [all …]
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | component_async.rs | 334 choices.push(Choice::FutureNew); in generate() 335 choices.push(Choice::StreamNew); in generate() 352 choices.push(Choice::Deferred); in generate() 479 commands.push((scope, cmd)); in generate() 552 commands.push(( in generate() 770 commands.push(( in generate() 795 commands.push(( in generate() 851 commands.push(( in generate() 873 commands.push(( in generate() 963 commands.push(( in generate() [all …]
|
| /wasmtime-44.0.1/crates/wasi-preview1-component-adapter/byte-array-literals/src/ |
| H A D | lib.rs | 23 rv.push(TokenTree::Literal(Literal::u8_suffixed(b'\n'))); in str_nl() 40 tokens.push(TokenTree::Literal(Literal::u8_suffixed(b))); in convert_str() 69 rv.push(v as u8 as char); in to_string() 81 rv.push(::std::char::from_u32(ch).unwrap()); in to_string() 83 Some('0') => rv.push('\0'), in to_string() 84 Some('\\') => rv.push('\\'), in to_string() 85 Some('\"') => rv.push('\"'), in to_string() 86 Some('r') => rv.push('\r'), in to_string() 87 Some('n') => rv.push('\n'), in to_string() 88 Some('t') => rv.push('\t'), in to_string() [all …]
|
| /wasmtime-44.0.1/crates/cranelift/src/compiler/ |
| H A D | component.rs | 304 params.push( in translate() 783 params.push( in translate() 801 params.push( in translate() 819 params.push( in translate() 847 params.push( in translate() 965 host_args.push(ptr); in translate_hostcall() 1085 host_args.push(vmctx); in translate_resource_drop() 1086 host_args.push( in translate_resource_drop() 1091 host_args.push( in translate_resource_drop() 1096 host_args.push(args[2]); in translate_resource_drop() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/ |
| H A D | gen_inst.rs | 149 fields.push("..".into()); in gen_arguments_method() 237 members.push("arg"); in gen_instruction_data_impl() 1007 args.push(format!("arg{i}")); in gen_member_inits() 1120 args_doc.push(format!( in gen_inst_builder() 1134 args_doc.push(format!( in gen_inst_builder() 1143 args.push(format!( in gen_inst_builder() 1149 block_args.push(op); in gen_inst_builder() 1157 into_args.push(op.name); in gen_inst_builder() 1247 args.push("ctrl_typevar"); in gen_inst_builder() 1254 args.push("types::INVALID"); in gen_inst_builder() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | emit_tests.rs | 95 insns.push(( in test_x64_emit() 112 insns.push(( in test_x64_emit() 122 insns.push(( in test_x64_emit() 136 insns.push(( in test_x64_emit() 146 insns.push(( in test_x64_emit() 156 insns.push(( in test_x64_emit() 185 insns.push(( in test_x64_emit() 197 insns.push(( in test_x64_emit() 209 insns.push(( in test_x64_emit() 221 insns.push(( in test_x64_emit() [all …]
|
| /wasmtime-44.0.1/crates/wasi-preview1-component-adapter/ |
| H A D | build.rs | 160 linking.push(0x02); // version in build_raw_intrinsics() 162 linking.push(0x08); // `WASM_SYMBOL_TABLE` in build_raw_intrinsics() 166 subsection.push(0x00); // SYMTAB_FUNCTION in build_raw_intrinsics() 171 subsection.push(0x00); // SYMTAB_FUNCTION in build_raw_intrinsics() 176 subsection.push(0x00); // SYMTAB_FUNCTION in build_raw_intrinsics() 181 subsection.push(0x00); // SYMTAB_FUNCTION in build_raw_intrinsics() 186 subsection.push(0x02); // SYMTAB_GLOBAL in build_raw_intrinsics() 191 subsection.push(0x02); // SYMTAB_GLOBAL in build_raw_intrinsics() 210 reloc.push(0x07); // R_WASM_GLOBAL_INDEX_LEB in build_raw_intrinsics() 214 reloc.push(0x07); // R_WASM_GLOBAL_INDEX_LEB in build_raw_intrinsics() [all …]
|
| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | primary.rs | 403 fn push() { in push() function 418 m.push(12); in iter() 419 m.push(33); in iter() 446 m.push(12); in iter_rev() 447 m.push(33); in iter_rev() 474 m.push(12); in keys() 475 m.push(33); in keys() 487 m.push(12); in keys_rev() 488 m.push(33); in keys_rev() 500 m.push(12); in values() [all …]
|
| H A D | boxed_slice.rs | 180 p.push(12); in iter() 181 p.push(33); in iter() 209 p.push(12); in iter_rev() 210 p.push(33); in iter_rev() 238 p.push(12); in keys() 239 p.push(33); in keys() 252 p.push(12); in keys_rev() 253 p.push(33); in keys_rev() 266 p.push(12); in values() 267 p.push(33); in values() [all …]
|
| /wasmtime-44.0.1/crates/fuzzing/tests/oom/ |
| H A D | string.rs | 35 s.push('c')?; in try_string_push() 62 s.push('a')?; in try_string_shrink_to_fit() 68 s.push('a')?; in try_string_shrink_to_fit() 69 s.push('a')?; in try_string_shrink_to_fit() 89 s.push('a')?; in try_string_into_boxed_str() 95 s.push('a')?; in try_string_into_boxed_str() 96 s.push('a')?; in try_string_into_boxed_str()
|
| H A D | vec.rs | 36 v.push(42)?; in try_vec_push() 48 vec.push(1)?; in try_vec_and_boxed_slice() 60 vec.push(2)?; in try_vec_and_boxed_slice() 61 vec.push(2)?; in try_vec_and_boxed_slice() 62 vec.push(2)?; in try_vec_and_boxed_slice() 68 vec.push(j)?; in try_vec_and_boxed_slice() 75 vec.push(())?; in try_vec_and_boxed_slice() 110 v.push(T::default())?; in try_vec_shrink_to_fit() 116 v.push(T::default())?; in try_vec_shrink_to_fit() 117 v.push(T::default())?; in try_vec_shrink_to_fit()
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | frame_table.rs | 92 self.locals.push((ty, offset)); in add_local() 128 self.stacks.push((parent, ty, offset)); in push_stack() 178 buffer.push(*ty as u8); in serialize() 181 buffer.push(*ty as u8); in serialize() 269 .push(U32::new(LittleEndian, start)); in add_frame_descriptor() 271 .push(U32::new(LittleEndian, end)); in add_frame_descriptor() 300 .push(U32::new(LittleEndian, start)); in add_program_point() 308 .push(U32::new(LittleEndian, wasm_pc_raw)); in add_program_point() 324 .push(U32::new(LittleEndian, wasm_pc.raw())); in add_breakpoint_patch() 330 .push(U32::new(LittleEndian, end)); in add_breakpoint_patch() [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | const_expr.rs | 244 self.stack.push(Val::AnyRef(Some(r))); in eval_loop() 251 self.stack.push(Val::I32(a.wrapping_add(b))); in eval_loop() 256 self.stack.push(Val::I32(a.wrapping_sub(b))); in eval_loop() 261 self.stack.push(Val::I32(a.wrapping_mul(b))); in eval_loop() 266 self.stack.push(Val::I64(a.wrapping_add(b))); in eval_loop() 271 self.stack.push(Val::I64(a.wrapping_sub(b))); in eval_loop() 276 self.stack.push(Val::I64(a.wrapping_mul(b))); in eval_loop() 317 self.stack.push(s); in eval_loop() 325 self.stack.push( in eval_loop() 425 self.stack.push(Val::ExternRef(result)); in eval_loop() [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/store/ |
| H A D | func_refs.rs | 90 pub unsafe fn push( in push() method 106 self.with_holes.push(unpatched)?; in push() 130 self.storage.push(Storage::InstancePreFuncRefs { funcs }) in push_instance_pre_func_refs() 142 self.storage.push(Storage::InstancePreDefinitions { defs }) in push_instance_pre_definitions() 164 let ret = unsafe { self.push(func.func_ref().clone(), modules)? }; in push_arc_host() 165 self.storage.push(Storage::ArcHost { func })?; in push_arc_host() 177 let ret = unsafe { self.push(func.func_ref().clone(), modules)? }; in push_box_host() 178 self.storage.push(Storage::BoxHost { func })?; in push_box_host()
|
| /wasmtime-44.0.1/cranelift/isle/isle/src/ |
| H A D | printer.rs | 136 stack.push(inner); in fits() 202 parts.push(ty.to_sexpr()); in to_sexpr() 219 parts.push(name.to_sexpr()); in to_sexpr() 224 parts.push(pattern.to_sexpr()); in to_sexpr() 226 parts.push(expr.to_sexpr()); in to_sexpr() 243 parts.push(SExpr::List(sig)); in to_sexpr() 244 parts.push(template.to_sexpr()); in to_sexpr() 274 parts.push(term.to_sexpr()); in to_sexpr() 276 parts.push(ret_ty.to_sexpr()); in to_sexpr() 293 parts.push(SExpr::List(sig)); in to_sexpr() [all …]
|
| /wasmtime-44.0.1/crates/wiggle/generate/src/ |
| H A D | funcs.rs | 155 self.bounds.push(i); in bound() 165 self.block_storage.push(prev); in push_block() 172 None => self.blocks.push(src), in finish_block() 175 self.blocks.push(s); in finish_block() 218 results.push(quote!(#param)); in emit() 224 results.push(quote! { in emit() 239 results.push(quote! { in emit() 255 args.push(quote!(#name)); in emit() 306 results.push(quote!(ret)); in emit() 335 results.push(quote! { in emit() [all …]
|
| /wasmtime-44.0.1/crates/wizer/src/ |
| H A D | info.rs | 66 self.raw_sections.push(wasm_encoder::RawSection { in add_raw_section() 75 self.memories.push(memory_type); in push_imported_memory() 83 self.memories.push(memory_type); in push_defined_memory() 89 self.globals.push(global_type); in push_imported_global() 97 self.globals.push(global_type); in push_defined_global() 102 self.functions.push(func_type); in push_function() 107 self.tables.push(table_type); in push_table() 112 self.imports.push(import); in push_import() 139 self.exports.push(export); in push_export()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | scopevec.rs | 31 pub fn push(&self, data: Vec<T>) -> &mut [T] { in push() method 36 storage.push(data); in push() 75 let a = scope.push(Vec::new()); in smoke() 76 let b = scope.push(vec![1, 2, 3]); in smoke() 77 let c = scope.push(vec![4, 5, 6]); in smoke()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/unwind/ |
| H A D | winarm64.rs | 202 unwind_codes.push(UnwindCode::SaveFpLrPair { stack_offset: 16 }); in create_unwind_info_from_insts() 203 unwind_codes.push(UnwindCode::SetFp); in create_unwind_info_from_insts() 216 unwind_codes.push(UnwindCode::AddFp { in create_unwind_info_from_insts() 219 unwind_codes.push(UnwindCode::SaveFpLrPair { stack_offset: 0 }); in create_unwind_info_from_insts() 220 unwind_codes.push(UnwindCode::SetFp); in create_unwind_info_from_insts() 232 0..=SMALL_STACK_ALLOC_MAX => unwind_codes.push(UnwindCode::AllocS { in create_unwind_info_from_insts() 236 unwind_codes.push(UnwindCode::AllocM { in create_unwind_info_from_insts() 241 unwind_codes.push(UnwindCode::AllocL { size }) in create_unwind_info_from_insts() 265 unwind_codes.push(UnwindCode::SaveReg { in create_unwind_info_from_insts() 276 unwind_codes.push(UnwindCode::SaveFReg { in create_unwind_info_from_insts() [all …]
|