Home
last modified time | relevance | path

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

12345678910>>...189

/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/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/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/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 …]
DAxesWalker.java87 public Object clone() throws CloneNotSupportedException in clone() method in AxesWalker
91 AxesWalker clone = (AxesWalker) super.clone(); in clone() local
97 return clone; in clone()
116 AxesWalker clone = findClone(this, cloneList); in cloneDeep() local
117 if(null != clone) in cloneDeep()
118 return clone; in cloneDeep()
119 clone = (AxesWalker)this.clone(); in cloneDeep()
120 clone.setLocPathIterator(cloneOwner); in cloneDeep()
124 cloneList.addElement(clone); in cloneDeep()
128 cloneOwner.m_lastUsedWalker = clone; in cloneDeep()
[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/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/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/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/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/crosvm/cros_async/src/sync/
Dcv.rs124 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()
552 let mu2 = Rc::clone(&mu); in notify_one_single_thread_async()
553 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/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/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/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/webrtc/modules/audio_coding/neteq/
Dpacket.cc25 Packet clone; in Clone() local
26 clone.timestamp = timestamp; in Clone()
27 clone.sequence_number = sequence_number; in Clone()
28 clone.payload_type = payload_type; in Clone()
29 clone.payload.SetData(payload.data(), payload.size()); in Clone()
30 clone.priority = priority; in Clone()
31 clone.packet_info = packet_info; in Clone()
33 return clone; in Clone()
/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/apache-http/src/org/apache/http/client/methods/
DHttpRequestBase.java176 public Object clone() throws CloneNotSupportedException { in clone() method in HttpRequestBase
177 HttpRequestBase clone = (HttpRequestBase) super.clone(); in clone() local
178 clone.abortLock = new ReentrantLock(); in clone()
179 clone.aborted = false; in clone()
180 clone.releaseTrigger = null; in clone()
181 clone.connRequest = null; in clone()
182 clone.headergroup = (HeaderGroup) CloneUtils.clone(this.headergroup); in clone()
183 clone.params = (HttpParams) CloneUtils.clone(this.params); in clone()
184 return clone; in clone()
/external/crosvm/devices/src/
Dbus.rs318 let devices = self.resume_notify_devices.clone(); in notify_resume()
372 assert!(bus.insert(dummy.clone(), 0x10, 0).is_err()); in bus_insert()
373 assert!(bus.insert(dummy.clone(), 0x10, 0x10).is_ok()); in bus_insert()
374 assert!(bus.insert(dummy.clone(), 0x0f, 0x10).is_err()); in bus_insert()
375 assert!(bus.insert(dummy.clone(), 0x10, 0x10).is_err()); in bus_insert()
376 assert!(bus.insert(dummy.clone(), 0x10, 0x15).is_err()); in bus_insert()
377 assert!(bus.insert(dummy.clone(), 0x12, 0x15).is_err()); in bus_insert()
378 assert!(bus.insert(dummy.clone(), 0x12, 0x01).is_err()); in bus_insert()
379 assert!(bus.insert(dummy.clone(), 0x0, 0x20).is_err()); in bus_insert()
380 assert!(bus.insert(dummy.clone(), 0x20, 0x05).is_ok()); in bus_insert()
[all …]

12345678910>>...189