Home
last modified time | relevance | path

Searched refs:try_clone (Results 1 – 17 of 17) sorted by relevance

/wasmtime-44.0.1/crates/core/src/alloc/
H A Dtry_clone.rs10 fn try_clone(&self) -> Result<Self, OutOfMemory>; in try_clone() method
15 self.try_clone().panic_on_oom() in clone_panic_on_oom()
24 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
34 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
44 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
55 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
57 Ok(x) => Ok(Ok(x.try_clone()?)), in try_clone()
58 Err(e) => Ok(Err(e.try_clone()?)), in try_clone()
68 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
70 Some(x) => Ok(Some(x.try_clone()?)), in try_clone()
[all …]
H A Dtry_cow.rs34 v.push(x.try_clone()?)?; in try_to_owned()
47 self.try_clone() in try_to_owned()
98 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
H A Dboxed.rs49 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
51 let v = (**self).try_clone()?; in try_clone()
60 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
63 builder.push(v.try_clone()?).expect("reserved capacity"); in try_clone()
71 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
H A Dvec.rs74 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
77 v.push(x.try_clone()?).expect("reserved capacity"); in try_clone()
111 v.push(elem.try_clone()?)?; in from_elem()
186 self.push(value.try_clone()?)?; in resize()
H A Dstring.rs16 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dhash_map.rs28 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
29 let mut map = Self::with_capacity_and_hasher(self.len(), self.hasher().try_clone()?)?; in try_clone()
31 map.insert(k.try_clone()?, v.try_clone()?) in try_clone()
H A Dindex_map.rs31 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
32 let mut map = Self::with_capacity_and_hasher(self.capacity(), self.hasher().try_clone()?)?; in try_clone()
34 map.insert(k.try_clone()?, v.try_clone()?)?; in try_clone()
248 let mut map = Self::with_capacity_and_hasher(self.len() - at, self.hasher().try_clone()?)?; in split_off()
/wasmtime-44.0.1/crates/core/src/
H A Dalloc.rs6 mod try_clone; module
18 pub use try_clone::TryClone;
/wasmtime-44.0.1/crates/environ/src/
H A Dgc.rs290 fn try_clone(&self) -> core::result::Result<Self, wasmtime_core::error::OutOfMemory> { in try_clone() method
401 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
405 fields: self.fields.try_clone()?, in try_clone()
435 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
H A Dtypes.rs147 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
697 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
948 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
951 fields: self.fields.try_clone()?, in try_clone()
1058 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
1123 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
1125 fields: self.fields.try_clone()?, in try_clone()
1173 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
1175 inner: self.inner.try_clone()?, in try_clone()
1206 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
[all …]
H A Dstring_pool.rs75 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
94 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
/wasmtime-44.0.1/cranelift/entity/src/
H A Dpacked_option.rs37 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() function
38 Ok(Self(self.0.try_clone()?)) in try_clone()
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dhash_map.rs43 let map2 = map.try_clone()?; in try_hash_map_try_clone()
H A Dindex_map.rs15 let map2 = map1.try_clone()?; in try_index_map_try_clone()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtype_registry.rs280 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
466 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
705 iter_entity_range(module_group.clone()).map(|ty| types[ty].try_clone()), in register_module_types()
776 .push((module_index, ty.try_clone()?)) in register_rec_group()
1021 ty.try_clone()? in insert_entry_trampolines()
H A Dlinker.rs120 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() method
132 fn try_clone(&self) -> core::result::Result<Self, OutOfMemory> { in try_clone() method
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dtypes.rs1146 subty.unwrap_func().try_clone().panic_on_oom(), in from()