Home
last modified time | relevance | path

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

12345678910>>...608

/external/rust/crates/syn/src/gen/
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 …]
/external/oss-fuzz/projects/libyal/
DDockerfile21 RUN git clone --depth 1 https://github.com/libyal/libfplist.git libfplist
22 RUN git clone --depth 1 https://github.com/libyal/libftxf.git libftxf
23 RUN git clone --depth 1 https://github.com/libyal/libfusn.git libfusn
24 RUN git clone --depth 1 https://github.com/libyal/libfwevt.git libfwevt
25 RUN git clone --depth 1 https://github.com/libyal/libfwnt.git libfwnt
26 RUN git clone --depth 1 https://github.com/libyal/libfwps.git libfwps
27 RUN git clone --depth 1 https://github.com/libyal/libfwsi.git libfwsi
29 RUN git clone --depth 1 https://github.com/libyal/libagdb.git libagdb
30 RUN git clone --depth 1 https://github.com/libyal/libcreg.git libcreg
31 RUN git clone --depth 1 https://github.com/libyal/libesedb.git libesedb
[all …]
/external/rust/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 …]
Derr.rs26 .new_span(span.clone()) in test()
27 .enter(span.clone()) in test()
29 .exit(span.clone()) in test()
47 .new_span(span.clone()) in test_early_return()
48 .enter(span.clone()) in test_early_return()
50 .exit(span.clone()) in test_early_return()
70 .new_span(span.clone()) in test_async()
71 .enter(span.clone()) in test_async()
77 .exit(span.clone()) in test_async()
78 .enter(span.clone()) in test_async()
[all …]
Dfollows_from.rs22 .new_span(cause_a.clone()) in follows_from_sync_test()
23 .new_span(cause_b.clone()) in follows_from_sync_test()
24 .new_span(cause_c.clone()) in follows_from_sync_test()
25 .new_span(consequence.clone()) in follows_from_sync_test()
26 .follows_from(consequence.clone(), cause_a) in follows_from_sync_test()
27 .follows_from(consequence.clone(), cause_b) in follows_from_sync_test()
28 .follows_from(consequence.clone(), cause_c) in follows_from_sync_test()
29 .enter(consequence.clone()) in follows_from_sync_test()
53 .new_span(cause_a.clone()) in follows_from_async_test()
54 .new_span(cause_b.clone()) in follows_from_async_test()
[all …]
Dinstrument.rs32 .new_span(span.clone()) in override_everything()
33 .enter(span.clone()) in override_everything()
34 .exit(span.clone()) in override_everything()
36 .new_span(span2.clone()) in override_everything()
37 .enter(span2.clone()) in override_everything()
38 .exit(span2.clone()) in override_everything()
67 span.clone().with_field( in fields()
74 .enter(span.clone()) in fields()
75 .exit(span.clone()) in fields()
78 span2.clone().with_field( in fields()
[all …]
Dret.rs24 .new_span(span.clone()) in test()
25 .enter(span.clone()) in test()
31 .exit(span.clone()) in test()
48 .new_span(span.clone()) in test_custom_target()
49 .enter(span.clone()) in test_custom_target()
56 .exit(span.clone()) in test_custom_target()
76 .new_span(span.clone()) in test_warn()
77 .enter(span.clone()) in test_warn()
83 .exit(span.clone()) in test_warn()
103 .new_span(span.clone()) in test_mut()
[all …]
/external/oss-fuzz/projects/cryptofuzz/
DDockerfile25 RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz
26 RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz-corpora
27 RUN git clone --depth 1 https://github.com/openssl/openssl
28 RUN git clone --depth 1 https://boringssl.googlesource.com/boringssl
29 RUN git clone --depth 1 https://github.com/libressl-portable/portable libressl
31 RUN git clone --depth 1 https://github.com/weidai11/cryptopp/
32 RUN git clone --depth 1 git://git.gnupg.org/libgcrypt.git
34 RUN git clone --depth 1 -b oss-fuzz https://github.com/project-everest/hacl-star evercrypt
35 RUN git clone --depth 1 https://github.com/google/cityhash.git
36 RUN git clone --depth 1 https://github.com/randombit/botan.git
[all …]
/external/mesa3d/src/compiler/glsl/
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 …]
/external/rust/crates/plotters/src/element/
Dbasic_shapes_3d.rs31 impl<X: Clone, Y: Clone, Z: Clone> Cubiod<X, Y, Z> {
47 (x0.clone(), y0.clone(), z0.clone()),
48 (x0.clone(), y0.clone(), z1.clone()),
49 (x0.clone(), y1.clone(), z0.clone()),
50 (x0.clone(), y1.clone(), z1.clone()),
51 (x1.clone(), y0.clone(), z0.clone()),
52 (x1.clone(), y0.clone(), z1.clone()),
53 (x1.clone(), y1.clone(), z0.clone()),
54 (x1.clone(), y1.clone(), z1.clone()),
/external/testng/src/main/java/org/testng/internal/
DTestNGMethod.java173 * @see org.testng.internal.BaseTestMethod#clone()
176 public BaseTestMethod clone() { in clone() method in TestNGMethod
177 TestNGMethod clone= new TestNGMethod(getMethod(), getAnnotationFinder(), false, getXmlTest(), in clone() local
181 testClass.setBeforeTestMethods(clone(tc.getBeforeTestMethods())); in clone()
182 testClass.setAfterTestMethod(clone(tc.getAfterTestMethods())); in clone()
183 clone.m_testClass= testClass; in clone()
184 clone.setDate(getDate()); in clone()
185 clone.setGroups(getGroups()); in clone()
186 clone.setGroupsDependedUpon(getGroupsDependedUpon(), Collections.<String>emptyList()); in clone()
187 clone.setMethodsDependedUpon(getMethodsDependedUpon()); in clone()
[all …]
/external/rust/crates/static_assertions/tests/
Dtrait_impl.rs43 #[derive(Clone)]
49 assert_impl!((): Copy | Clone);
50 assert_impl!((): Copy & Clone);
51 assert_impl!(Test: Copy | Clone);
52 assert_impl!(Test: !Copy | Clone);
53 assert_impl!(Test: !Copy & Clone);
54 assert_impl!(Test: !Copy & (Clone));
55 assert_impl!(Test: !(Copy) & Clone);
56 assert_impl!(Test: !(!Clone));
57 assert_impl!(Test: !(Copy) & !(!Clone));
[all …]
/external/google-cloud-java/java-dns/src/test/java/com/google/cloud/dns/
DChangeRequestInfoTest.java84 ChangeRequestInfo clone = CHANGE.toBuilder().build(); in testEqualsAndNotEquals() local
85 assertEquals(CHANGE, clone); in testEqualsAndNotEquals()
86 clone = ChangeRequest.fromPb(CHANGE.toPb()); in testEqualsAndNotEquals()
87 assertEquals(CHANGE, clone); in testEqualsAndNotEquals()
88 clone = CHANGE.toBuilder().setGeneratedId("some-other-id").build(); in testEqualsAndNotEquals()
89 assertNotEquals(CHANGE, clone); in testEqualsAndNotEquals()
90 clone = CHANGE.toBuilder().setStartTime(CHANGE.getStartTimeMillis() + 1).build(); in testEqualsAndNotEquals()
91 assertNotEquals(CHANGE, clone); in testEqualsAndNotEquals()
92 clone = CHANGE.toBuilder().add(RECORD3).build(); in testEqualsAndNotEquals()
93 assertNotEquals(CHANGE, clone); in testEqualsAndNotEquals()
[all …]
DProjectInfoTest.java65 ProjectInfo.Quota clone = new ProjectInfo.Quota(6, 5, 4, 3, 2, 1); in testEqualsAndNotEqualsQuota() local
66 assertNotEquals(QUOTA, clone); in testEqualsAndNotEqualsQuota()
67 clone = ProjectInfo.Quota.fromPb(QUOTA.toPb()); in testEqualsAndNotEqualsQuota()
68 assertEquals(QUOTA, clone); in testEqualsAndNotEqualsQuota()
73 ProjectInfo.Quota clone = ProjectInfo.Quota.fromPb(QUOTA.toPb()); in testSameHashCodeOnEqualsQuota() local
74 assertEquals(QUOTA, clone); in testSameHashCodeOnEqualsQuota()
75 assertEquals(QUOTA.hashCode(), clone.hashCode()); in testSameHashCodeOnEqualsQuota()
80 ProjectInfo clone = ProjectInfo.newBuilder().build(); in testEqualsAndNotEquals() local
81 assertNotEquals(PROJECT_INFO, clone); in testEqualsAndNotEquals()
82 clone = in testEqualsAndNotEquals()
[all …]
DRecordSetTest.java96 RecordSet clone = RECORD_SET.toBuilder().build(); in testEqualsAndNotEquals() local
97 assertEquals(RECORD_SET, clone); in testEqualsAndNotEquals()
98 clone = RECORD_SET.toBuilder().addRecord("another recordSet").build(); in testEqualsAndNotEquals()
99 assertNotEquals(RECORD_SET, clone); in testEqualsAndNotEquals()
101 clone = RECORD_SET.toBuilder().setName(differentName).build(); in testEqualsAndNotEquals()
102 assertNotEquals(RECORD_SET, clone); in testEqualsAndNotEquals()
103 clone = RECORD_SET.toBuilder().setTtl(RECORD_SET.getTtl() + 1, TimeUnit.SECONDS).build(); in testEqualsAndNotEquals()
104 assertNotEquals(RECORD_SET, clone); in testEqualsAndNotEquals()
105 clone = RECORD_SET.toBuilder().setType(RecordSet.Type.TXT).build(); in testEqualsAndNotEquals()
106 assertNotEquals(RECORD_SET, clone); in testEqualsAndNotEquals()
[all …]
/external/rust/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 …]
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 …]
/external/oss-fuzz/projects/graphicsmagick/
DDockerfile19 RUN hg clone --time -b default https://hg.osdn.net/view/graphicsmagick/GM graphicsmagick || \
20 hg clone --time -b default https://hg.osdn.net/view/graphicsmagick/GM graphicsmagick || \
21 hg clone --time -b default https://hg.osdn.net/view/graphicsmagick/GM graphicsmagick
23 RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff
24 RUN git clone --depth 1 https://github.com/webmproject/libwebp
25 RUN git clone --depth 1 https://github.com/madler/zlib
26 RUN git clone --depth 1 https://github.com/xz-mirror/xz
27 RUN git clone --depth 1 https://github.com/facebook/zstd
28 RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo
29 RUN git clone https://git.savannah.nongnu.org/r/freetype/freetype2.git/
[all …]
/external/rust/crates/hashbrown/tests/
Drayon.rs119 let mut map1 = MAP_EMPTY.clone(); in map_seq_par_equivalence_iter_mut_empty()
120 let mut map2 = MAP_EMPTY.clone(); in map_seq_par_equivalence_iter_mut_empty()
130 let mut map1 = MAP.clone(); in map_seq_par_equivalence_iter_mut()
131 let mut map2 = MAP.clone(); in map_seq_par_equivalence_iter_mut()
156 let mut map1 = MAP_EMPTY.clone(); in map_seq_par_equivalence_values_mut_empty()
157 let mut map2 = MAP_EMPTY.clone(); in map_seq_par_equivalence_values_mut_empty()
169 let mut map1 = MAP.clone(); in map_seq_par_equivalence_values_mut()
170 let mut map2 = MAP.clone(); in map_seq_par_equivalence_values_mut()
188 let vec_seq = MAP_EMPTY.clone().into_iter().collect::<Vec<_>>(); in map_seq_par_equivalence_into_iter_empty()
189 let vec_par = MAP_EMPTY.clone().into_par_iter().collect::<Vec<_>>(); in map_seq_par_equivalence_into_iter_empty()
[all …]
/external/crosvm/devices/src/virtio/video/
Dprotocol.rs139 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
149 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
159 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
168 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
177 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
187 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
198 #[derive(Copy, Clone, AsBytes, FromZeroes, FromBytes)]
214 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
218 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
222 #[derive(Debug, Default, Copy, Clone, AsBytes, FromZeroes, FromBytes)]
[all …]
/external/oss-fuzz/projects/imagemagick/
DDockerfile20 RUN git clone --depth 1 https://github.com/imagemagick/imagemagick
21 RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff
22 RUN git clone --depth 1 https://github.com/strukturag/libde265
23 RUN git clone --depth 1 https://github.com/strukturag/libheif
24 RUN git clone --depth 1 https://github.com/uclouvain/openjpeg
25 RUN git clone --depth 1 https://github.com/webmproject/libwebp
26 RUN git clone --depth 1 https://github.com/madler/zlib
27 RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo
28 RUN git clone https://git.savannah.nongnu.org/r/freetype/freetype2.git/
29 RUN git clone --depth 1 https://github.com/xz-mirror/xz
[all …]
/external/crosvm/kvm_sys/src/aarch64/
Dbindings.rs28 #[derive(Debug, Default, Copy, Clone)]
35 #[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 …]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DFieldData.java191 public final FieldData clone() { in clone() method in FieldData
192 FieldData clone = new FieldData(); in clone() local
194 clone.cachedExtension = cachedExtension; in clone()
196 clone.unknownFieldData = null; in clone()
198 clone.unknownFieldData.addAll(unknownFieldData); in clone()
201 // Whether we need to deep clone value depends on its type. Primitive reference types in clone()
202 // (e.g. Integer, Long etc.) are ok, since they're immutable. We need to clone arrays in clone()
207 clone.value = ((MessageNano) value).clone(); in clone()
209 clone.value = ((byte[]) value).clone(); in clone()
213 clone.value = cloneArray; in clone()
[all …]
/external/crosvm/kvm_sys/src/riscv64/
Dbindings.rs28 #[derive(Debug, Default, Copy, Clone)]
35 #[derive(Debug, Default, Copy, Clone)]
654 #[derive(Debug, Default, Copy, Clone)]
690 #[derive(Debug, Default, Copy, Clone)]
696 #[derive(Debug, Default, Copy, Clone)]
703 #[derive(Debug, Copy, Clone)]
719 #[derive(Debug, Default, Copy, Clone)]
726 #[derive(Debug, Copy, Clone)]
743 #[derive(Copy, Clone)]
759 #[derive(Debug, Copy, Clone)]
[all …]
/external/rust/crates/tokio/tests/
Dsync_semaphore_owned.rs13 let p1 = sem.clone().try_acquire_owned(); in try_acquire()
15 let p2 = sem.clone().try_acquire_owned(); in try_acquire()
26 let p1 = sem.clone().try_acquire_many_owned(42); in try_acquire_many()
28 let p2 = sem.clone().try_acquire_owned(); in try_acquire_many()
31 let p3 = sem.clone().try_acquire_many_owned(32); in try_acquire_many()
33 let p4 = sem.clone().try_acquire_many_owned(10); in try_acquire_many()
42 let p1 = sem.clone().try_acquire_owned().unwrap(); in acquire()
43 let sem_clone = sem.clone(); in acquire()
55 let permit32 = semaphore.clone().try_acquire_many_owned(32).unwrap(); in acquire_many()
58 let _permit10 = semaphore.clone().acquire_many_owned(10).await.unwrap(); in acquire_many()
[all …]

12345678910>>...608