Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 4923) sorted by relevance

12345678910>>...197

/external/rust/crates/syn/src/gen/
Dclone.rs9 fn clone(&self) -> Self { in clone() method
11 extern_token: self.extern_token.clone(), in clone()
12 name: self.name.clone(), in clone()
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()
23 args: self.args.clone(), in clone()
24 gt_token: self.gt_token.clone(), in clone()
31 fn clone(&self) -> Self { in clone() method
33 attrs: self.attrs.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 …]
/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/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/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/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/plotters/src/element/
Dbasic_shapes_3d.rs21 (x0.clone(), y0.clone(), z0.clone()),
22 (x0.clone(), y0.clone(), z1.clone()),
23 (x0.clone(), y1.clone(), z0.clone()),
24 (x0.clone(), y1.clone(), z1.clone()),
25 (x1.clone(), y0.clone(), z0.clone()),
26 (x1.clone(), y0.clone(), z1.clone()),
27 (x1.clone(), y1.clone(), z0.clone()),
28 (x1.clone(), y1.clone(), z1.clone()),
/external/testng/src/main/java/org/testng/internal/
DTestNGMethod.java176 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()
188 clone.setAlwaysRun(isAlwaysRun()); in clone()
[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/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()
207 clone.value = ((MessageNano) value).clone(); in clone()
209 clone.value = ((byte[]) value).clone(); in clone()
213 clone.value = cloneArray; in clone()
215 cloneArray[i] = valueArray[i].clone(); in clone()
218 clone.value = ((boolean[]) value).clone(); in clone()
[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/apache-xml/src/main/java/org/apache/xpath/axes/
DReverseAxesWalker.java138 ReverseAxesWalker clone = (ReverseAxesWalker) this.clone(); in getProximityPosition() local
140 clone.setRoot(this.getRoot()); in getProximityPosition()
142 clone.setPredicateCount(predicateIndex); in getProximityPosition()
144 clone.setPrevWalker(null); in getProximityPosition()
145 clone.setNextWalker(null); in getProximityPosition()
146 wi().setLastUsedWalker(clone); in getProximityPosition()
152 while (DTM.NULL != (next = clone.nextNode())) in getProximityPosition()
201 ReverseAxesWalker clone = (ReverseAxesWalker) this.clone(); in getLastPos() local
203 clone.setRoot(this.getRoot()); in getLastPos()
205 clone.setPredicateCount(m_predicateIndex); in getLastPos()
[all …]
DOneStepIterator.java135 public Object clone() throws CloneNotSupportedException in clone() method in OneStepIterator
139 OneStepIterator clone = (OneStepIterator) super.clone(); in clone() local
143 clone.m_iterator = m_iterator.cloneIterator(); in clone()
145 return clone; in clone()
159 OneStepIterator clone = (OneStepIterator) super.cloneWithReset(); in cloneWithReset() local
160 clone.m_iterator = m_iterator; in cloneWithReset()
162 return clone; in cloneWithReset()
204 OneStepIterator clone = (OneStepIterator) this.clone(); in getProximityPosition() local
208 clone.setRoot(root, xctxt); in getProximityPosition()
211 clone.m_predCount = predicateIndex; in getProximityPosition()
[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/crosvm/common/cros_async/src/sync/
Dcv.rs136 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait()
160 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait_read()
500 let mu2 = mu.clone(); in notify_one()
501 let cv2 = cv.clone(); in notify_one()
522 let mu = mu.clone(); in multi_mutex()
523 let cv = cv.clone(); in multi_mutex()
545 let alt_mu2 = alt_mu.clone(); in multi_mutex()
546 let cv2 = cv.clone(); in multi_mutex()
572 let mu2 = Rc::clone(&mu); in notify_one_single_thread_async()
573 let cv2 = Rc::clone(&cv); in notify_one_single_thread_async()
[all …]
/external/crosvm/common/cros_asyncv2/src/sync/
Dcv.rs131 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait()
155 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait_read()
487 let mu2 = mu.clone(); in notify_one()
488 let cv2 = cv.clone(); in notify_one()
509 let mu = mu.clone(); in multi_mutex()
510 let cv = cv.clone(); in multi_mutex()
532 let alt_mu2 = alt_mu.clone(); in multi_mutex()
533 let cv2 = cv.clone(); in multi_mutex()
559 let mu2 = Rc::clone(&mu); in notify_one_single_thread_async()
560 let cv2 = Rc::clone(&cv); in notify_one_single_thread_async()
[all …]
/external/crosvm/cros_async/src/sync/
Dcv.rs136 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait()
160 self.add_waiter(waiter.clone(), guard.as_raw_mutex()); in wait_read()
500 let mu2 = mu.clone(); in notify_one()
501 let cv2 = cv.clone(); in notify_one()
522 let mu = mu.clone(); in multi_mutex()
523 let cv = cv.clone(); in multi_mutex()
545 let alt_mu2 = alt_mu.clone(); in multi_mutex()
546 let cv2 = cv.clone(); in multi_mutex()
572 let mu2 = Rc::clone(&mu); in notify_one_single_thread_async()
573 let cv2 = Rc::clone(&cv); in notify_one_single_thread_async()
[all …]
/external/libchromeos-rs/src/sync/
Dcv.rs123 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()
588 let mu2 = Rc::clone(&mu); in notify_one_single_thread_async()
589 let cv2 = Rc::clone(&cv); in notify_one_single_thread_async()
[all …]
/external/rust/crates/codespan-reporting/src/term/
Dconfig.rs163 let header = ColorSpec::new().set_bold(true).set_intense(true).clone(); in with_blue()
166 header_bug: header.clone().set_fg(Some(Color::Red)).clone(), in with_blue()
167 header_error: header.clone().set_fg(Some(Color::Red)).clone(), in with_blue()
168 header_warning: header.clone().set_fg(Some(Color::Yellow)).clone(), in with_blue()
169 header_note: header.clone().set_fg(Some(Color::Green)).clone(), in with_blue()
170 header_help: header.clone().set_fg(Some(Color::Cyan)).clone(), in with_blue()
173 primary_label_bug: ColorSpec::new().set_fg(Some(Color::Red)).clone(), in with_blue()
174 primary_label_error: ColorSpec::new().set_fg(Some(Color::Red)).clone(), in with_blue()
175 primary_label_warning: ColorSpec::new().set_fg(Some(Color::Yellow)).clone(), in with_blue()
176 primary_label_note: ColorSpec::new().set_fg(Some(Color::Green)).clone(), in with_blue()
[all …]
/external/rust/crates/vulkano/src/buffer/
Dimmutable.rs102 queue.device().clone(), in from_data()
133 source.device().clone(), in from_buffer()
140 source.device().clone(), in from_buffer()
181 device.clone(), in uninitialized()
200 queue.device().clone(), in from_iter()
237 device.clone(), in uninitialized_array()
291 match UnsafeBuffer::new(device.clone(), size, usage, sharing, None) {
325 buffer: final_buf.clone(),
490 fn clone(&self) -> ImmutableBufferInitialization<T, A> { in clone() method
492 buffer: self.buffer.clone(), in clone()
[all …]
/external/rust/crates/parking_lot/src/
Ddeadlock.rs65 let m1_ = m1.clone(); in test_mutex_deadlock()
66 let m2_ = m2.clone(); in test_mutex_deadlock()
67 let m3_ = m3.clone(); in test_mutex_deadlock()
68 let b1 = b.clone(); in test_mutex_deadlock()
69 let b2 = b.clone(); in test_mutex_deadlock()
70 let b3 = b.clone(); in test_mutex_deadlock()
129 let m1_ = m1.clone(); in test_remutex_deadlock()
130 let m2_ = m2.clone(); in test_remutex_deadlock()
131 let m3_ = m3.clone(); in test_remutex_deadlock()
132 let b1 = b.clone(); in test_remutex_deadlock()
[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/vulkano/src/memory/pool/
Dnon_host_visible.rs52 device: device.clone(), in new()
85 let entry1 = entries[i].clone(); in alloc()
87 let entry2 = entries[i + 1].clone(); in alloc()
91 pool: me.clone(), in alloc()
92 memory: dev_mem.clone(), in alloc()
104 pool: me.clone(), in alloc()
105 memory: dev_mem.clone(), in alloc()
116 let new_block = DeviceMemory::alloc(me.device.clone(), me.memory_type(), to_alloc)?; in alloc()
120 occupied.push((new_block.clone(), vec![0..size])); in alloc()
122 pool: me.clone(), in alloc()
[all …]
Dhost_visible.rs52 device: device.clone(), in new()
85 let entry1 = entries[i].clone(); in alloc()
87 let entry2 = entries[i + 1].clone(); in alloc()
91 pool: me.clone(), in alloc()
92 memory: dev_mem.clone(), in alloc()
104 pool: me.clone(), in alloc()
105 memory: dev_mem.clone(), in alloc()
117 DeviceMemory::alloc_and_map(me.device.clone(), me.memory_type(), to_alloc)?; in alloc()
121 occupied.push((new_block.clone(), vec![0..size])); in alloc()
123 pool: me.clone(), in alloc()
[all …]

12345678910>>...197