Home
last modified time | relevance | path

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

12345678910>>...401

/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/ImageMagick/PerlMagick/demo/
Dcompose-specials.pl51 my $clone;
56 $clone=$dest->Clone();
57 $clone->Label('Over\n(normal compose)');
58 $clone->Composite(
63 push(@$results, $clone);
65 $clone=$dest->Clone();
66 $clone->Label('Multiply\n(add black)');
67 $clone->Composite(
72 push(@$results, $clone);
74 $clone=$dest->Clone();
[all …]
Ddemo.pl34 $example=$model->Clone();
40 $example=$model->Clone();
46 $example=$model->Clone();
52 $example=$model->Clone();
58 $example=$model->Clone();
64 $example=$model->Clone();
71 $example=$model->Clone();
77 $example=$model->Clone();
83 $example=$model->Clone();
89 $example=$model->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/libfwnt.git libfwnt
25 RUN git clone --depth 1 https://github.com/libyal/libfwps.git libfwps
26 RUN git clone --depth 1 https://github.com/libyal/libfwsi.git libfwsi
28 RUN git clone --depth 1 https://github.com/libyal/libagdb.git libagdb
29 RUN git clone --depth 1 https://github.com/libyal/libcreg.git libcreg
30 RUN git clone --depth 1 https://github.com/libyal/libesedb.git libesedb
31 RUN git clone --depth 1 https://github.com/libyal/libevt.git libevt
[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/ImageMagick/www/source/
Dexamples.pl34 $example=$model->Clone();
40 $example=$model->Clone();
46 $example=$model->Clone();
52 $example=$model->Clone();
58 $example=$model->Clone();
64 $example=$model->Clone();
71 $example=$model->Clone();
77 $example=$model->Clone();
83 $example=$model->Clone();
89 $example=$model->Clone();
[all …]
/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/oss-fuzz/projects/cryptofuzz/
DDockerfile26 RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz
27 RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz-corpora
28 RUN git clone --depth 1 https://github.com/openssl/openssl
29 RUN git clone --depth 1 https://boringssl.googlesource.com/boringssl
30 RUN git clone --depth 1 https://github.com/libressl-portable/portable libressl
32 RUN git clone --depth 1 https://github.com/weidai11/cryptopp/
33 RUN git clone --depth 1 git://git.gnupg.org/libgcrypt.git
35 RUN git clone --depth 1 -b oss-fuzz https://github.com/project-everest/hacl-star evercrypt
36 RUN git clone --depth 1 https://github.com/google/cityhash.git
37 RUN git clone --depth 1 https://github.com/randombit/botan.git
[all …]
/external/rust/crates/tinyvec/tests/
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 …]
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 …]
/external/curl/lib/
Ddotdot.c56 char *clone; in Curl_dedotdotify() local
68 clone = strdup(input); in Curl_dedotdotify()
69 if(!clone) { in Curl_dedotdotify()
73 orgclone = clone; in Curl_dedotdotify()
76 if(!*clone) { in Curl_dedotdotify()
79 return clone; in Curl_dedotdotify()
87 queryp = strchr(clone, '?'); in Curl_dedotdotify()
96 if(!strncmp("./", clone, 2)) { in Curl_dedotdotify()
97 clone += 2; in Curl_dedotdotify()
100 else if(!strncmp("../", clone, 3)) { in Curl_dedotdotify()
[all …]
/external/ltp/runtest/
Dcontainers19 mqns_01_clone mqns_01 -clone
21 mqns_02_clone mqns_02 -clone
23 mqns_03_clone mqns_03 -clone
25 mqns_04_clone mqns_04 -clone
47 shmnstest_clone shmnstest clone
50 shmem_2nstest_clone shmem_2nstest clone
54 mesgq_nstest_clone mesgq_nstest clone
58 sem_nstest_clone sem_nstest clone
61 semtest_2ns_clone semtest_2ns clone
70 utstest_clone_1 utstest clone 1
[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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-branch-clone.cpp1 // RUN: %check_clang_tidy %s bugprone-branch-clone %t -- -- -fno-delayed-template-parsing
5 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic1()
16 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic2()
29 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic3()
80 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic8()
95 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic9()
127 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic11()
151 …MESSAGES: :[[@LINE-1]]:3: warning: if with identical then and else branches [bugprone-branch-clone] in test_basic12()
201 …MESSAGES: :[[@LINE-1]]:5: warning: if with identical then and else branches [bugprone-branch-clone] in test_macro1()
214 …MESSAGES: :[[@LINE-1]]:5: warning: if with identical then and else branches [bugprone-branch-clone] in test_macro2()
[all …]
/external/rust/crates/tokio/tests/
Dsync_semaphore_owned.rs10 let p1 = sem.clone().try_acquire_owned(); in try_acquire()
12 let p2 = sem.clone().try_acquire_owned(); in try_acquire()
23 let p1 = sem.clone().try_acquire_many_owned(42); in try_acquire_many()
25 let p2 = sem.clone().try_acquire_owned(); in try_acquire_many()
28 let p3 = sem.clone().try_acquire_many_owned(32); in try_acquire_many()
30 let p4 = sem.clone().try_acquire_many_owned(10); in try_acquire_many()
38 let p1 = sem.clone().try_acquire_owned().unwrap(); in acquire()
39 let sem_clone = sem.clone(); in acquire()
50 let permit32 = semaphore.clone().try_acquire_many_owned(32).unwrap(); in acquire_many()
53 let _permit10 = semaphore.clone().acquire_many_owned(10).await.unwrap(); in acquire_many()
[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/x86_64/src/
Dbootparam.rs44 impl<T> ::std::clone::Clone for __IncompleteArrayField<T> {
46 fn clone(&self) -> Self { in clone() method
55 #[derive(Debug, Default, Copy, Clone)]
95 #[derive(Debug, Default, Copy, Clone)]
108 #[derive(Copy, Clone)]
130 #[derive(Copy, Clone)]
141 #[derive(Debug, Default, Copy, Clone)]
148 #[derive(Debug, Default, Copy, Clone)]
157 #[derive(Debug, Default, Copy, Clone)]
162 #[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/rust/crates/plotters/src/series/
Darea_series.rs7 pub struct AreaSeries<DB: DrawingBackend, X: Clone, Y: Clone> {
16 impl<DB: DrawingBackend, X: Clone, Y: Clone> AreaSeries<DB, X, Y> {
38 impl<DB: DrawingBackend, X: Clone + 'static, Y: Clone + 'static> Iterator for AreaSeries<DB, X, Y> {
42 let mut data: Vec<_> = self.data.clone(); in next()
45 data.push((data[data.len() - 1].0.clone(), self.baseline.clone())); in next()
46 data.push((data[0].0.clone(), self.baseline.clone())); in next()
51 Some(Polygon::new(data, self.area_style.clone()).into_dyn()) in next()
53 let data: Vec<_> = self.data.clone(); in next()
57 Some(PathElement::new(data, self.border_style.clone()).into_dyn()) in next()
/external/crosvm/cros_async/src/sync/
Dcv.rs40 /// let (data, cv) = (data.clone(), cv.clone());
99 /// # let (mu2, cv2) = (mu.clone(), cv.clone());
124 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait()
148 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait_read()
480 let mu2 = mu.clone(); in notify_one()
481 let cv2 = cv.clone(); in notify_one()
502 let mu = mu.clone(); in multi_mutex()
503 let cv = cv.clone(); in multi_mutex()
525 let alt_mu2 = alt_mu.clone(); in multi_mutex()
526 let cv2 = cv.clone(); in multi_mutex()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dclone_traits.h20 static char Test(decltype(&U::Clone));
33 T Clone(const T& input);
37 static T Clone(const T& input) { return input.Clone(); }
42 static T Clone(const T& input) { return input; }
47 static base::Optional<T> Clone(const base::Optional<T>& input) {
51 return base::Optional<T>(mojo::Clone(*input));
57 static std::vector<T> Clone(const std::vector<T>& input) {
61 result.push_back(mojo::Clone(element));
69 static base::flat_map<K, V> Clone(const base::flat_map<K, V>& input) {
72 result.insert(std::make_pair(mojo::Clone(element.first),
[all …]
/external/crosvm/devices/src/virtio/video/
Dprotocol.rs97 #[derive(Debug, Default, Copy, Clone)]
133 #[derive(Debug, Default, Copy, Clone)]
145 #[derive(Debug, Default, Copy, Clone)]
157 #[derive(Debug, Default, Copy, Clone)]
168 #[derive(Debug, Default, Copy, Clone)]
179 #[derive(Debug, Default, Copy, Clone)]
191 #[derive(Debug, Default, Copy, Clone)]
204 #[derive(Copy, Clone)]
221 #[derive(Debug, Default, Copy, Clone)]
227 #[derive(Debug, Default, Copy, Clone)]
[all …]
/external/rust/crates/rayon/src/iter/
Drepeat.rs7 #[derive(Debug, Clone)]
8 pub struct Repeat<T: Clone + Send> {
26 pub fn repeat<T: Clone + Send>(elt: T) -> Repeat<T> { in repeat()
32 T: Clone + Send,
59 T: Clone + Send,
75 struct RepeatProducer<T: Clone + Send> {
79 impl<T: Clone + Send> UnindexedProducer for RepeatProducer<T> {
85 element: self.element.clone(), in split()
102 #[derive(Debug, Clone)]
103 pub struct RepeatN<T: Clone + Send> {
[all …]
/external/libchromeos-rs/src/sync/
Dcv.rs40 /// let (data, cv) = (data.clone(), cv.clone());
98 /// # let (mu2, cv2) = (mu.clone(), cv.clone());
123 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait()
147 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait_read()
515 let mu2 = mu.clone(); in notify_one()
516 let cv2 = cv.clone(); in notify_one()
537 let mu = mu.clone(); in multi_mutex()
538 let cv = cv.clone(); in multi_mutex()
561 let alt_mu2 = alt_mu.clone(); in multi_mutex()
562 let cv2 = cv.clone(); in multi_mutex()
[all …]

12345678910>>...401