Home
last modified time | relevance | path

Searched refs:Default (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/wasmtime-44.0.1/crates/environ/src/
H A Dmodule.rs89 impl Default for MemoryInitialization {
395 strings: Default::default(), in new()
396 name: Default::default(), in new()
398 exports: Default::default(), in new()
399 start_func: Default::default(), in new()
405 types: Default::default(), in new()
413 functions: Default::default(), in new()
414 tables: Default::default(), in new()
415 memories: Default::default(), in new()
416 globals: Default::default(), in new()
[all …]
H A Dtunables.rs31 #[derive(Default, Clone)]
215 operator_cost: OperatorCostStrategy::Default, in default_miri()
339 #[derive(Clone, Hash, Serialize, Deserialize, Debug, PartialEq, Eq, Default)]
347 Default, enumerator
360 OperatorCostStrategy::Default => default_operator_cost(op), in cost()
456 impl Default for OperatorCost {
/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Dsourceloc.rs29 self == Default::default() in is_default()
38 impl Default for SourceLoc {
77 Default::default() in expand()
85 self == Default::default() in is_default()
89 impl Default for RelSourceLoc {
H A Dexception_table.rs89 Default(BlockCall), enumerator
106 Default(u32), enumerator
148 ExceptionTableItem::Default(target) => { in new()
149 items.push(InternalExceptionTableItem::Default(target_idx)); in new()
199 InternalExceptionTableItem::Default(target_idx) => { in items()
200 ExceptionTableItem::Default(self.targets[usize::try_from(*target_idx).unwrap()]) in items()
277 ExceptionTableItem::Default(block_call) => { in fmt()
/wasmtime-44.0.1/winch/codegen/src/abi/
H A Dmod.rs84 A::sig_from(&params, ty.results(), &CallingConvention::Default) in wasm_sig()
220 impl Default for ABIOperands {
223 inner: Default::default(), in default()
248 impl Default for RetArea {
294 #[derive(Clone, Debug, Default)]
443 #[derive(Debug, Clone, Default)]
580 impl Default for ABISig {
583 params: Default::default(), in default()
584 results: Default::default(), in default()
585 regs: Default::default(), in default()
[all …]
/wasmtime-44.0.1/crates/wasi/src/sockets/
H A Dudp.rs22 Default, enumerator
86 udp_state: UdpState::Default, in new()
93 if !matches!(self.udp_state, UdpState::Default) { in bind()
145 UdpState::Default | UdpState::Bound | UdpState::Connected(_) => {} in connect_p3()
192 (UdpState::Default | UdpState::Bound, None) => Err(ErrorCode::InvalidArgument), in send_p3()
193 (UdpState::Default | UdpState::Bound, Some(addr)) => { in send_p3()
215 && let UdpState::Default = self.udp_state in send_p3()
246 UdpState::Default | UdpState::BindStarted => Err(ErrorCode::InvalidState), in receive_p3()
269 if matches!(self.udp_state, UdpState::Default | UdpState::BindStarted) { in local_address()
H A Dtcp.rs33 Default(tokio::net::TcpSocket), enumerator
235 options: Default::default(), in from_state()
241 TcpState::Default(socket) in as_std_view()
261 TcpState::Default(sock) => { in start_bind()
263 self.tcp_state = TcpState::Default(sock); in start_bind()
296 TcpState::Default(..) | TcpState::Bound(..) => {} in start_connect()
414 TcpState::Default(tokio_socket) => { in listen_p3()
745 TcpState::Default(..) in ready()
786 #[derive(Default, Clone)]
816 #[derive(Default, Clone)]
[all …]
H A Dmod.rs69 #[derive(Clone, Default)]
91 impl Default for AllowedNetworkUses {
175 impl Default for SocketAddrCheck {
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dtake_and_replace.rs54 U: Default,
64 U: Default,
74 U: Default,
/wasmtime-44.0.1/cranelift/entity/src/
H A Dmap.rs48 V: Default, in new()
52 default: Default::default(), in new()
62 V: Default, in with_capacity()
66 default: Default::default(), in with_capacity()
74 V: Default, in try_with_capacity() argument
82 default: Default::default(), in try_with_capacity()
215 impl<K, V> Default for SecondaryMap<K, V>
218 V: Clone + Default,
228 V: Clone + Default,
231 let default = Default::default(); in from()
[all …]
/wasmtime-44.0.1/crates/wit-bindgen/src/
H A Dconfig.rs6 #[derive(Default, Copy, Clone, Debug)]
18 #[derive(Default, Debug, Clone)]
34 Default, enumerator
56 FunctionFilter::Default => { in push()
/wasmtime-44.0.1/crates/wizer/src/component/
H A Dinstrument.rs49 accessor_types: Default::default(), in instrument()
50 accessor_imports: Default::default(), in instrument()
51 accessor_functions: Default::default(), in instrument()
52 accessor_code: Default::default(), in instrument()
53 accessor_exports: Default::default(), in instrument()
58 extra_types: Default::default(), in instrument()
59 extra_aliases: Default::default(), in instrument()
60 extra_canonicals: Default::default(), in instrument()
/wasmtime-44.0.1/crates/jit-debug/src/
H A Dperf_jitdump.rs38 #[derive(Debug, Default, Clone, Copy)]
52 #[derive(Debug, Default, Clone, Copy)]
74 #[derive(Debug, Default)]
90 #[derive(Debug, Default, Clone, Copy)]
104 #[derive(Debug, Default, Clone, Copy)]
/wasmtime-44.0.1/cranelift/control/src/
H A Dzero_sized.rs6 #[derive(Debug, Clone, Default)]
37 pub fn get_arbitrary<T: Default>(&mut self) -> T { in get_arbitrary()
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dserialize.rs55 #[derive(Default)]
235 #[derive(Clone, Copy, Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
255 #[derive(Clone, Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
354 #[derive(Clone, Default)]
393 scope.ready.resize(rules.bindings.len(), Default::default()); in new()
397 bind_order: Default::default(), in new()
398 block: Default::default(), in new()
409 bind_order: Default::default(), in new_block()
410 block: Default::default(), in new_block()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dstore.rs83 instances: Default::default(), in new()
86 component_host_table: Default::default(), in new()
87 host_resource_data: Default::default(), in new()
91 ComponentTaskState::Concurrent(Default::default()) in new()
101 ComponentTaskState::NotConcurrent(Default::default()) in new()
500 #[derive(Default)]
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/unwind/
H A Dsystemv.rs92 .compile(&*isa, &mut Default::default()) in test_simple_func()
112 let mut func = Function::with_name_signature(Default::default(), Signature::new(call_conv)); in create_function()
136 .compile(&*isa, &mut Default::default()) in test_multi_return_func()
158 let mut func = Function::with_name_signature(Default::default(), sig); in create_multi_return_function()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/unwind/
H A Dsystemv.rs123 .compile(&*isa, &mut Default::default()) in test_simple_func()
143 let mut func = Function::with_name_signature(Default::default(), Signature::new(call_conv)); in create_function()
170 .compile(&*isa, &mut Default::default()) in test_multi_return_func()
195 let mut func = Function::with_name_signature(Default::default(), sig); in create_multi_return_function()
/wasmtime-44.0.1/crates/wasmtime/src/profiling_agent/
H A Dvtune.rs28 #[derive(Default)]
37 vtune: Default::default(), in new()
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dsync_std.rs33 impl<T> Default for OnceLock<T> {
40 #[derive(Debug, Default)]
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiled_function.rs12 #[derive(Debug, Clone, PartialEq, Eq, Default)]
40 #[derive(Default)]
87 metadata: Default::default(), in new()
169 Default::default() in set_address_map()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/unwind/
H A Dsystemv.rs119 .compile(&*isa, &mut Default::default()) in test_simple_func()
139 let mut func = Function::with_name_signature(Default::default(), Signature::new(call_conv)); in create_function()
163 .compile(&*isa, &mut Default::default()) in test_multi_return_func()
185 let mut func = Function::with_name_signature(Default::default(), sig); in create_multi_return_function()
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dentity_set.rs6 #[derive(Debug, Default)]
21 inner: Default::default(), in new()
H A Dsecondary_map.rs34 V: Default, in new()
46 V: Default, in with_capacity() argument
128 impl<K, V> Default for TrySecondaryMap<K, V>
131 V: Clone + Default,
155 V: Clone + Default,
/wasmtime-44.0.1/crates/wasi/src/
H A Dclocks.rs57 impl Default for WasiClocksCtx {
90 impl Default for WallClock {
127 impl Default for MonotonicClock {

12345678910>>...15