Home
last modified time | relevance | path

Searched full:clone (Results 1 – 25 of 19408) sorted by relevance

12345678910>>...777

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/src/gen/
H A Dclone.rs7 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
8 impl Clone for Abi {
9 fn clone(&self) -> Self { in clone() method
11 extern_token: self.extern_token.clone(), in clone()
12 name: self.name.clone(), in clone()
17 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
18 impl Clone for AngleBracketedGenericArguments {
19 fn clone(&self) -> Self { in clone() method
21 colon2_token: self.colon2_token.clone(), in clone()
22 lt_token: self.lt_token.clone(), in clone()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/gen/
Dclone.rs6 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
7 impl Clone for crate::Abi {
8 fn clone(&self) -> Self { in clone() method
10 extern_token: self.extern_token.clone(), in clone()
11 name: self.name.clone(), in clone()
16 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
17 impl Clone for crate::AngleBracketedGenericArguments {
18 fn clone(&self) -> Self { in clone() method
20 colon2_token: self.colon2_token.clone(), in clone()
21 lt_token: self.lt_token.clone(), in clone()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/gen/
H A Dclone.rs6 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
7 impl Clone for crate::Abi {
8 fn clone(&self) -> Self { in clone() method
10 extern_token: self.extern_token.clone(), in clone()
11 name: self.name.clone(), in clone()
16 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
17 impl Clone for crate::AngleBracketedGenericArguments {
18 fn clone(&self) -> Self { in clone() method
20 colon2_token: self.colon2_token.clone(), in clone()
21 lt_token: self.lt_token.clone(), in clone()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Sema/
DAttrTemplateInstantiate.inc18 return A->clone(C);
22 return A->clone(C);
26 return A->clone(C);
30 return A->clone(C);
34 return A->clone(C);
38 return A->clone(C);
42 return A->clone(C);
46 return A->clone(C);
50 return A->clone(C);
54 return A->clone(C);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Sema/
DAttrTemplateInstantiate.inc18 return A->clone(C);
22 return A->clone(C);
26 return A->clone(C);
30 return A->clone(C);
34 return A->clone(C);
38 return A->clone(C);
42 return A->clone(C);
46 return A->clone(C);
50 return A->clone(C);
54 return A->clone(C);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Sema/
DAttrTemplateInstantiate.inc18 return A->clone(C);
22 return A->clone(C);
26 return A->clone(C);
30 return A->clone(C);
34 return A->clone(C);
38 return A->clone(C);
42 return A->clone(C);
46 return A->clone(C);
50 return A->clone(C);
54 return A->clone(C);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Sema/
DAttrTemplateInstantiate.inc18 return A->clone(C);
22 return A->clone(C);
26 return A->clone(C);
30 return A->clone(C);
34 return A->clone(C);
38 return A->clone(C);
42 return A->clone(C);
46 return A->clone(C);
50 return A->clone(C);
54 return A->clone(C);
[all …]
/aosp_15_r20/out/soong/.intermediates/external/clang/clang-gen-attributes/gen/clang/Sema/
DAttrTemplateInstantiate.inc17 return A->clone(C);
21 return A->clone(C);
25 return A->clone(C);
29 return A->clone(C);
78 return A->clone(C);
82 return A->clone(C);
86 return A->clone(C);
90 return A->clone(C);
94 return A->clone(C);
98 return A->clone(C);
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/
H A Dclone.rs1 //! The `Clone` trait for types that cannot be 'implicitly copied'.
9 //! explicitly, by convention implementing the [`Clone`] trait and calling
10 //! the [`clone`] method.
12 //! [`clone`]: Clone::clone
17 //! let s = String::new(); // String type implements Clone
18 //! let copy = s.clone(); // so we can clone it
21 //! To easily implement the Clone trait, you can also use
22 //! `#[derive(Clone)]`. Example:
25 //! #[derive(Clone)] // we add the Clone trait to Morpheus struct
33 //! let copy = f.clone(); // and now we can clone it!
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/
H A Dclone.rs1 //! The `Clone` trait for types that cannot be 'implicitly copied'.
9 //! explicitly, by convention implementing the [`Clone`] trait and calling
10 //! the [`clone`] method.
12 //! [`clone`]: Clone::clone
17 //! let s = String::new(); // String type implements Clone
18 //! let copy = s.clone(); // so we can clone it
21 //! To easily implement the Clone trait, you can also use
22 //! `#[derive(Clone)]`. Example:
25 //! #[derive(Clone)] // we add the Clone trait to Morpheus struct
33 //! let copy = f.clone(); // and now we can clone it!
[all …]
/aosp_15_r20/prebuilts/android-emulator/trusty-x86_64/
H A Dmanifest.xml12 …<project path="external/dtc" name="platform/external/dtc" clone-depth="1" revision="ac5df7479442f8…
14 …<project path="external/glib" name="platform/external/bluetooth/glib" clone-depth="1" revision="59…
16 …<project path="external/libpng" name="platform/external/libpng" clone-depth="1" revision="afa9dcf7…
18 …<project path="external/pcre2" name="platform/external/pcre" clone-depth="1" revision="effd827b771…
20 …<project path="external/pixman" name="platform/external/pixman" clone-depth="1" revision="23c1678c…
24 …<project path="external/zlib" name="platform/external/zlib" clone-depth="1" revision="a25229d7fdaa…
26 …<project path="external/lz4" name="platform/external/lz4" clone-depth="1" revision="f5414b9ea4c746…
28 …/external/qemu-keycodemapdb" revision="cb06b14fbae94a802a4a8b57ce0650e1fa3dc2b8" clone-depth="1" />
30 …<project path="external/libslirp" name="trusty/external/qemu-libslirp" clone-depth="1" revision="5…
32 …<project path="external/crosvm" name="platform/external/crosvm" clone-depth="1" revision="b0835a37…
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/
H A Dclone.rs1 //! The `Clone` trait for types that cannot be 'implicitly copied'.
9 //! explicitly, by convention implementing the [`Clone`] trait and calling
10 //! the [`clone`] method.
12 //! [`clone`]: Clone::clone
17 //! let s = String::new(); // String type implements Clone
18 //! let copy = s.clone(); // so we can clone it
21 //! To easily implement the Clone trait, you can also use
22 //! `#[derive(Clone)]`. Example:
25 //! #[derive(Clone)] // we add the Clone trait to Morpheus struct
33 //! let copy = f.clone(); // and now we can clone it!
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/
H A Dclone.rs1 //! The `Clone` trait for types that cannot be 'implicitly copied'.
9 //! explicitly, by convention implementing the [`Clone`] trait and calling
10 //! the [`clone`] method.
12 //! [`clone`]: Clone::clone
17 //! let s = String::new(); // String type implements Clone
18 //! let copy = s.clone(); // so we can clone it
21 //! To easily implement the Clone trait, you can also use
22 //! `#[derive(Clone)]`. Example:
25 //! #[derive(Clone)] // we add the Clone trait to Morpheus struct
33 //! let copy = f.clone(); // and now we can clone it!
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/
H A Dclone.rs1 //! The `Clone` trait for types that cannot be 'implicitly copied'.
9 //! explicitly, by convention implementing the [`Clone`] trait and calling
10 //! the [`clone`] method.
12 //! [`clone`]: Clone::clone
17 //! let s = String::new(); // String type implements Clone
18 //! let copy = s.clone(); // so we can clone it
21 //! To easily implement the Clone trait, you can also use
22 //! `#[derive(Clone)]`. Example:
25 //! #[derive(Clone)] // we add the Clone trait to Morpheus struct
33 //! let copy = f.clone(); // and now we can clone it!
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Dmain.rs145 *SIG_DATA.lock().unwrap() = Some((tx.clone(), sig_notifier.clone())); in main()
160 tx.clone(), in main()
161 api_tx.clone(), in main()
162 sig_notifier.clone(), in main()
163 intf.clone(), in main()
165 let bluetooth_qa = Arc::new(Mutex::new(Box::new(BluetoothQA::new(tx.clone())))); in main()
167 Arc::new(Mutex::new(Box::new(BatteryProviderManager::new(tx.clone())))); in main()
174 tx.clone(), in main()
176 intf.clone(), in main()
177 bluetooth.clone(), in main()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-attributes/tests/
Dasync_fn.rs118 .new_span(span.clone()) in async_fn_nested()
119 .enter(span.clone()) in async_fn_nested()
120 .new_span(span2.clone()) in async_fn_nested()
121 .enter(span2.clone()) in async_fn_nested()
123 .exit(span2.clone()) in async_fn_nested()
124 .enter(span2.clone()) in async_fn_nested()
125 .exit(span2.clone()) in async_fn_nested()
127 .exit(span.clone()) in async_fn_nested()
128 .enter(span.clone()) in async_fn_nested()
129 .exit(span.clone()) in async_fn_nested()
[all …]
/aosp_15_r20/external/crosvm/kvm_sys/src/aarch64/
H A Dbindings.rs29 #[derive(Debug, Default, Copy, Clone)]
36 #[derive(Debug, Default, Copy, Clone)]
904 #[derive(Debug, Default, Copy, Clone, FromZeroes, FromBytes, AsBytes)]
913 #[derive(Debug, Default, Copy, Clone, FromZeroes, FromBytes, AsBytes)]
921 #[derive(Debug, Default, Copy, Clone)]
928 #[derive(Debug, Default, Copy, Clone)]
935 #[derive(Debug, Default, Copy, Clone)]
945 #[derive(Debug, Default, Copy, Clone)]
952 #[derive(Debug, Default, Copy, Clone)]
961 #[derive(Debug, Default, Copy, Clone)]
[all …]
/aosp_15_r20/external/pytorch/test/
H A Dtest_fx_reinplace_pass.py22 a = x.clone()
36 clone = torch.ops.aten.clone.default(x_1); x_1 = None
37 add = torch.ops.aten.add_.Tensor(clone, 1); add = None
38 return clone
44 a = x.clone()
62 clone = torch.ops.aten.clone.default(x_1); x_1 = None
63 view = torch.ops.aten.view.default(clone, [-1])
64 add = torch.ops.aten.add.Tensor(clone, 1); clone = add = None
71 a = a_.clone()
88 clone = torch.ops.aten.clone.default(a__1); a__1 = None
[all …]
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dir_clone.cpp31 ir_rvalue::clone(void *mem_ctx, struct hash_table *) const in clone() function in ir_rvalue
41 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_variable
63 var->constant_value = this->constant_value->clone(mem_ctx, ht); in clone()
67 this->constant_initializer->clone(mem_ctx, ht); in clone()
78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_swizzle
80 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
84 ir_return::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_return
89 new_value = this->value->clone(mem_ctx, ht); in clone()
95 ir_discard::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_discard
100 new_condition = this->condition->clone(mem_ctx, ht); in clone()
[all …]
/aosp_15_r20/external/crosvm/kvm_sys/src/riscv64/
H A Dbindings.rs29 #[derive(Debug, Default, Copy, Clone)]
36 #[derive(Debug, Default, Copy, Clone)]
655 #[derive(Debug, Default, Copy, Clone)]
691 #[derive(Debug, Default, Copy, Clone)]
697 #[derive(Debug, Default, Copy, Clone)]
704 #[derive(Debug, Copy, Clone)]
720 #[derive(Debug, Default, Copy, Clone)]
727 #[derive(Debug, Copy, Clone)]
744 #[derive(Copy, Clone)]
760 #[derive(Debug, Copy, Clone)]
[all …]
/aosp_15_r20/external/crosvm/kvm_sys/src/x86/
H A Dbindings.rs29 #[derive(Debug, Default, Copy, Clone)]
36 #[derive(Debug, Default, Copy, Clone)]
68 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
199 impl<T> ::std::clone::Clone for __BindgenUnionField<T> {
201 fn clone(&self) -> Self { in clone() method
838 #[derive(Debug, Default, Copy, Clone, FromZeroes, FromBytes, AsBytes)]
858 #[derive(Copy, Clone, FromZeroes, FromBytes, AsBytes)]
868 #[derive(Copy, Clone, FromZeroes, FromBytes, AsBytes)]
874 #[derive(Debug, Default, Copy, Clone, FromZeroes, FromBytes, AsBytes)]
1037 #[derive(Debug, Default, Copy, Clone, FromZeroes, FromBytes, AsBytes)]
[all …]
/aosp_15_r20/out/soong/.intermediates/external/clang/clang-gen-attributes/gen/clang/AST/
DAttrImpl.inc9 AMDGPUNumSGPRAttr *AMDGPUNumSGPRAttr::clone(ASTContext &C) const {
39 AMDGPUNumVGPRAttr *AMDGPUNumVGPRAttr::clone(ASTContext &C) const {
69 ARMInterruptAttr *ARMInterruptAttr::clone(ASTContext &C) const {
99 AbiTagAttr *AbiTagAttr::clone(ASTContext &C) const {
149 AcquireCapabilityAttr *AcquireCapabilityAttr::clone(ASTContext &C) const {
251 AcquiredAfterAttr *AcquiredAfterAttr::clone(ASTContext &C) const {
288 AcquiredBeforeAttr *AcquiredBeforeAttr::clone(ASTContext &C) const {
325 AliasAttr *AliasAttr::clone(ASTContext &C) const {
361 AlignMac68kAttr *AlignMac68kAttr::clone(ASTContext &C) const {
376 AlignValueAttr *AlignValueAttr::clone(ASTContext &C) const {
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tinyvec/tests/
Darrayvec.rs113 let mut av2: ArrayVec<[i32; 4]> = av.clone().into_iter().collect(); in ArrayVec_iteration()
177 assert_eq!(Vec::from_iter(av.clone().drain(..)), vec![1, 2, 3]); in ArrayVec_drain()
179 assert_eq!(Vec::from_iter(av.clone().drain(..2)), vec![1, 2]); in ArrayVec_drain()
180 assert_eq!(Vec::from_iter(av.clone().drain(..3)), vec![1, 2, 3]); in ArrayVec_drain()
182 assert_eq!(Vec::from_iter(av.clone().drain(..=1)), vec![1, 2]); in ArrayVec_drain()
183 assert_eq!(Vec::from_iter(av.clone().drain(..=2)), vec![1, 2, 3]); in ArrayVec_drain()
185 assert_eq!(Vec::from_iter(av.clone().drain(0..)), vec![1, 2, 3]); in ArrayVec_drain()
186 assert_eq!(Vec::from_iter(av.clone().drain(1..)), vec![2, 3]); in ArrayVec_drain()
188 assert_eq!(Vec::from_iter(av.clone().drain(0..2)), vec![1, 2]); in ArrayVec_drain()
189 assert_eq!(Vec::from_iter(av.clone().drain(0..3)), vec![1, 2, 3]); in ArrayVec_drain()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/tinyvec-1.6.0/tests/
H A Darrayvec.rs113 let mut av2: ArrayVec<[i32; 4]> = av.clone().into_iter().collect(); in ArrayVec_iteration()
177 assert_eq!(Vec::from_iter(av.clone().drain(..)), vec![1, 2, 3]); in ArrayVec_drain()
179 assert_eq!(Vec::from_iter(av.clone().drain(..2)), vec![1, 2]); in ArrayVec_drain()
180 assert_eq!(Vec::from_iter(av.clone().drain(..3)), vec![1, 2, 3]); in ArrayVec_drain()
182 assert_eq!(Vec::from_iter(av.clone().drain(..=1)), vec![1, 2]); in ArrayVec_drain()
183 assert_eq!(Vec::from_iter(av.clone().drain(..=2)), vec![1, 2, 3]); in ArrayVec_drain()
185 assert_eq!(Vec::from_iter(av.clone().drain(0..)), vec![1, 2, 3]); in ArrayVec_drain()
186 assert_eq!(Vec::from_iter(av.clone().drain(1..)), vec![2, 3]); in ArrayVec_drain()
188 assert_eq!(Vec::from_iter(av.clone().drain(0..2)), vec![1, 2]); in ArrayVec_drain()
189 assert_eq!(Vec::from_iter(av.clone().drain(0..3)), vec![1, 2, 3]); in ArrayVec_drain()
[all …]
H A Dtinyvec.rs43 assert_eq!(Vec::from_iter(tv.clone().drain(..)), vec![1, 2, 3]); in TinyVec_drain()
45 assert_eq!(Vec::from_iter(tv.clone().drain(..2)), vec![1, 2]); in TinyVec_drain()
46 assert_eq!(Vec::from_iter(tv.clone().drain(..3)), vec![1, 2, 3]); in TinyVec_drain()
48 assert_eq!(Vec::from_iter(tv.clone().drain(..=1)), vec![1, 2]); in TinyVec_drain()
49 assert_eq!(Vec::from_iter(tv.clone().drain(..=2)), vec![1, 2, 3]); in TinyVec_drain()
51 assert_eq!(Vec::from_iter(tv.clone().drain(0..)), vec![1, 2, 3]); in TinyVec_drain()
52 assert_eq!(Vec::from_iter(tv.clone().drain(1..)), vec![2, 3]); in TinyVec_drain()
54 assert_eq!(Vec::from_iter(tv.clone().drain(0..2)), vec![1, 2]); in TinyVec_drain()
55 assert_eq!(Vec::from_iter(tv.clone().drain(0..3)), vec![1, 2, 3]); in TinyVec_drain()
56 assert_eq!(Vec::from_iter(tv.clone().drain(1..2)), vec![2]); in TinyVec_drain()
[all …]

12345678910>>...777