Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/wasmtime-44.0.1/cranelift/codegen/meta/src/
H A Disle.rs49 inst_specs_isle.clone(), in shared_isle_lower_paths()
50 prelude_isle.clone(), in shared_isle_lower_paths()
51 prelude_lower_isle.clone(), in shared_isle_lower_paths()
105 prelude_isle.clone(), in get_isle_compilations()
127 prelude_isle.clone(), in get_isle_compilations()
143 prelude_isle.clone(), in get_isle_compilations()
150 untracked_inputs: vec![numerics_isle.clone(), clif_lower_isle.clone()], in get_isle_compilations()
157 prelude_isle.clone(), in get_isle_compilations()
162 untracked_inputs: vec![numerics_isle.clone(), clif_lower_isle.clone()], in get_isle_compilations()
175 untracked_inputs: vec![numerics_isle.clone(), clif_lower_isle.clone()], in get_isle_compilations()
[all …]
H A Dgen_isle.rs592 ..arity2.clone() in ops_for_type()
598 ..arity1.clone() in ops_for_type()
603 ..arity2.clone() in ops_for_type()
609 ..binop.clone() in ops_for_type()
614 ..arity1.clone() in ops_for_type()
620 ..unop.clone() in ops_for_type()
625 ..binop.clone() in ops_for_type()
765 ..unop.clone() in ops_for_type()
843 ..unop.clone() in ops_for_type()
849 ..unop.clone() in ops_for_type()
[all …]
/wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/
H A Dround_trip_many.rs221 let f = Some(e.clone()); in test_round_trip_many()
249 let c = c.clone(); in test_round_trip_many()
250 let e = e.clone(); in test_round_trip_many()
251 let f = f.clone(); in test_round_trip_many()
280 (expected, b, c.clone(), d, e.clone(), f.clone(), g.clone()), in test_round_trip_many()
300 let f = Some(e.clone()); in test_round_trip_many()
313 c.clone(), in test_round_trip_many()
315 e.clone(), in test_round_trip_many()
316 f.clone(), in test_round_trip_many()
317 g.clone() in test_round_trip_many()
[all …]
/wasmtime-44.0.1/tests/all/
H A Dexternals.rs103 assert!(Table::new(&mut store2, ty.clone(), store1ref.clone()).is_err()); in cross_store()
104 let t1 = Table::new(&mut store2, ty.clone(), store2ref.clone())?; in cross_store()
448 let engine = store.engine().clone(); in dummy_funcs_and_subtypes()
460 c_ty.clone(), in dummy_funcs_and_subtypes()
477 b_ty.clone(), in dummy_funcs_and_subtypes()
491 a_ty.clone(), in dummy_funcs_and_subtypes()
763 (b_ty.clone(), true, true, false), in table_copy_func_subtyping()
765 (c_ty.clone(), true, true, true), in table_copy_func_subtyping()
775 (a, a_ty.clone(), a_expected), in table_copy_func_subtyping()
776 (b, b_ty.clone(), b_expected), in table_copy_func_subtyping()
[all …]
H A Dwait_notify.rs27 let instance = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in atomic_wait_timeout_length()
71 let instance1 = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in atomic_wait_notify_basic()
74 let engine = engine.clone(); in atomic_wait_notify_basic()
75 let module = module.clone(); in atomic_wait_notify_basic()
76 let shared_memory = shared_memory.clone(); in atomic_wait_notify_basic()
H A Dgc.rs167 let live_refs = live_refs.clone(); in many_live_refs()
171 CountLiveRefs::new(live_refs.clone()), in many_live_refs()
982 let engine = store.engine().clone(); in ref_matches()
1036 (Ref::Any(Some(s)), func_ref_ty.clone(), false), in ref_matches()
1048 (Ref::Any(Some(a)), func_ref_ty.clone(), false), in ref_matches()
1060 (Ref::Any(Some(i31)), func_ref_ty.clone(), false), in ref_matches()
1072 (Ref::Func(Some(f)), func_ref_ty.clone(), true), in ref_matches()
1084 (Ref::Extern(Some(e)), func_ref_ty.clone(), false), in ref_matches()
1187 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in drc_transitive_drop_cons_list()
1417 let engine = store.engine().clone(); in issue_10772()
[all …]
/wasmtime-44.0.1/benches/
H A Dthread_eager_init.rs15 .map(|_| lazy_thread_instantiate(engine.clone(), module.clone())) in measure_execution_time()
27 let (init, _call) = eager_thread_instantiate(engine.clone(), module.clone()); in measure_execution_time()
41 let (_init, call) = eager_thread_instantiate(engine.clone(), module.clone()); in measure_execution_time()
H A Dinstantiation.rs40 config.allocation_strategy(strategy.clone()); in bench_sequential()
75 config.allocation_strategy(strategy.clone()); in bench_parallel()
110 let pre = pre.clone(); in bench_parallel()
111 let done = done.clone(); in bench_parallel()
112 let engine = engine.clone(); in bench_parallel()
113 let count = count.clone(); in bench_parallel()
160 std::fs::write(tmpfile.path(), bytes.clone()).unwrap(); in bench_deserialize_module()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/lower/
H A Disle.rs406 RegMem::mem(addr.clone()) in synthetic_amode_to_reg_mem()
411 amode.clone().into() in amode_to_synthetic_amode()
542 xm.clone().into() in xmm_mem_to_reg_mem()
547 gm.clone().into() in gpr_mem_to_reg_mem()
1184 match read.clone().into() { in convert_gpr_mem_to_assembler_read_gpr_mem()
1195 match read.clone().into() { in convert_xmm_mem_to_assembler_read_xmm_mem_aligned()
1203 match read.clone().into() { in convert_xmm_mem_to_assembler_read_xmm_mem()
1214 match write.clone().into() { in convert_xmm_mem_to_assembler_write_xmm_mem()
1236 match read.clone().into() { in convert_gpr_mem_to_assembler_read_write_gpr_mem()
1251 match read.clone().into() { in convert_gpr_mem_to_assembler_write_gpr_mem()
[all …]
/wasmtime-44.0.1/crates/wasi/src/cli/
H A Dmem.rs14 Box::new(self.clone()) in p2_stream()
17 Box::new(self.clone()) in async_stream()
29 Box::new(self.clone()) in p2_stream()
32 Box::new(self.clone()) in async_stream()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dcode_memory.rs294 &self.mmap[self.text.clone()] in text()
300 &self.mmap[self.wasm_dwarf.clone()] in wasm_dwarf()
306 &self.mmap[self.func_name_data.clone()] in func_name_data()
316 &self.mmap[self.wasm_data.clone()] in wasm_data()
323 &self.mmap[self.address_map_data.clone()] in address_map_data()
329 &self.mmap[self.stack_map_data.clone()] in stack_map_data()
335 &self.mmap[self.exception_data.clone()] in exception_tables()
341 &self.mmap[self.frame_tables_data.clone()] in frame_tables()
347 &self.mmap[self.wasm_bytecode.clone()] in wasm_bytecode()
359 &self.mmap[self.info_data.clone()] in wasmtime_info()
[all …]
H A Dtype_registry.rs136 let engine = self.clone(); in register_and_canonicalize_types()
274 fn clone(&self) -> Self { in clone() method
284 engine: self.engine.clone(), in try_clone()
285 entry: self.entry.clone(), in try_clone()
286 ty: self.ty.clone(), in try_clone()
371 engine.clone(), in new()
467 Ok(self.clone()) in try_clone()
704 module_group.clone(), in register_module_types()
801 Ok(entry.clone()) in register_rec_group()
844 let entry2 = entry.clone(); in register_new_rec_group()
[all …]
/wasmtime-44.0.1/crates/c-api/src/component/
H A Dtypes.rs6 clone: $clone:ident,
23 pub extern "C" fn $clone(ty: &$name) -> Box<$name> {
24 Box::new(ty.clone())
/wasmtime-44.0.1/crates/wiggle/generate/src/
H A Dcodegen_settings.rs35 async_: async_.clone(), in new()
37 tracing: tracing.clone(), in new()
59 … Ok(ErrorType::Generated(TrappableErrorType { abi_type, rich_type: field.rich_error.clone() })) in new()
65 … if let Some(prior_def) = richtype_identifiers.insert(ident.clone(), field.err_loc) in new()
73 rich_type: field.rich_error.clone(), in new()
125 TypeRef::Name(self.abi_type.clone()) in abi_type()
141 TypeRef::Name(self.abi_type.clone()) in abi_type()
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dstrings.rs72 Just(test_word.clone()), in strat()
145 Just(a.clone()), in strat()
146 Just(b.clone()), in strat()
147 Just(c.clone()), in strat()
158 Just(a.clone()), in strat()
159 Just(b.clone()), in strat()
160 Just(c.clone()), in strat()
172 Just(a.clone()), in strat()
173 Just(b.clone()), in strat()
174 Just(c.clone()), in strat()
[all …]
/wasmtime-44.0.1/crates/wasi-http/src/
H A Dfield_map.rs328 map.append(name.clone(), "bar".parse().unwrap())?; in test_size()
330 map.remove_all(name.clone())?; in test_size()
333 map.set(name.clone(), vec!["bar".parse().unwrap()])?; in test_size()
335 map.remove_all(name.clone())?; in test_size()
338 map.set(name.clone(), vec![])?; in test_size()
340 map.set(name.clone(), vec!["bar".parse().unwrap()])?; in test_size()
342 map.set(name.clone(), vec![])?; in test_size()
345 map.set(name.clone(), vec!["bar".parse().unwrap()])?; in test_size()
348 name.clone(), in test_size()
352 map.remove_all(name.clone())?; in test_size()
/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dval.rs76 ret.write(ty.clone()); in wasmtime_component_valtype_clone()
100 clone: wasmtime_component_list_type_clone,
119 clone: wasmtime_component_map_type_clone,
145 clone: wasmtime_component_record_type_clone,
182 clone: wasmtime_component_tuple_type_clone,
214 clone: wasmtime_component_variant_type_clone,
260 clone: wasmtime_component_enum_type_clone,
295 clone: wasmtime_component_option_type_clone,
313 clone: wasmtime_component_result_type_clone,
351 clone: wasmtime_component_flags_type_clone,
[all …]
/wasmtime-44.0.1/crates/wasi/src/p2/host/
H A Denv.rs6 Ok(self.ctx.environment.clone()) in get_environment()
9 Ok(self.ctx.arguments.clone()) in get_arguments()
12 Ok(self.ctx.initial_cwd.clone()) in initial_cwd()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/
H A Demit_tests.rs189 mem: am3.clone(), in test_x64_emit()
201 mem: am3.clone(), in test_x64_emit()
213 mem: am3.clone(), in test_x64_emit()
225 mem: am3.clone(), in test_x64_emit()
237 mem: am3.clone(), in test_x64_emit()
249 mem_low: am3.clone(), in test_x64_emit()
262 ..rmw_args.clone() in test_x64_emit()
272 ..rmw_args.clone() in test_x64_emit()
282 ..rmw_args.clone() in test_x64_emit()
292 ..rmw_args.clone() in test_x64_emit()
[all …]
/wasmtime-44.0.1/crates/wasi-tls/src/p3/util/
H A Dclosed.rs19 Poll::Ready(Err(self.0.clone().into())) in poll_read()
28 Poll::Ready(Err(self.0.clone().into())) in poll_write()
32 Poll::Ready(Err(self.0.clone().into())) in poll_flush()
36 Poll::Ready(Err(self.0.clone().into())) in poll_shutdown()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dlinker.rs71 fn clone(&self) -> Linker<T> { in clone() method
73 engine: self.engine.clone(), in clone()
74 strings: self.strings.clone(), in clone()
75 map: self.map.clone(), in clone()
76 path: self.path.clone(), in clone()
117 engine: engine.clone(), in new()
220 let imported_resources = cx.imported_resources.clone(); in instantiate_pre()
246 dtor: dtor.clone(), in instantiate_pre()
709 self.insert(name, Definition::Module(module.clone()))?; in module()
789 let dtor = dtor.clone(); in resource_concurrent()
[all …]
/wasmtime-44.0.1/crates/component-macro/tests/codegen/
H A Dvariants.wit122 record is-clone {
126 is-clone-arg: func(a: is-clone);
127 is-clone-return: func() -> is-clone;
/wasmtime-44.0.1/crates/debugger/src/host/
H A Dapi.rs414 let module = self.get(&self_)?.clone(); in add_breakpoint()
425 let module = self.get(&self_)?.clone(); in remove_breakpoint()
436 let module = self.get(&self_)?.clone(); in clone()
705 let value = self.get(&val)?.clone(); in set_element()
763 let exn = self.get(&self_)?.clone(); in get_tag()
774 let exn = self.get(&self_)?.clone(); in get_values()
784 async fn clone( in clone() method
789 let exn = self.get(&self_)?.clone(); in clone()
859 let frame = self.get(&self_)?.0.clone(); in get_instance()
1007 let e = e.clone(); in unwrap_exception()
[all …]
/wasmtime-44.0.1/crates/c-api/src/types/
H A Dexport.rs33 Some(Box::new(wasm_exporttype_t::new(name, ty.which.clone()))) in wasm_exporttype_new()
39 .get_or_init(|| wasm_name_t::from_name(et.name.clone())) in wasm_exporttype_name()
45 .get_or_init(|| wasm_externtype_t::from_cextern_type(et.ty.clone())) in wasm_exporttype_type()
/wasmtime-44.0.1/crates/winch/src/
H A Dbuilder.rs17 let inner = IsaBuilder::new(triple.clone(), |triple| isa::lookup(triple))?; in builder()
32 self.inner.target(target.clone())?; in target()
74 self.tunables = Some(tunables.clone()); in set_tunables()
90 .clone(); in build()

12345678910>>...24