Home
last modified time | relevance | path

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

12

/development/tools/cargo_embargo/src/
Dmain.rs358 .push(path.clone()); in run_embargo()
368 let mut cfg_no_cargo = cfg.clone(); in run_embargo()
391 .entry(c.package_dir.clone()) in group_by_package()
491 v.push(x.clone()); in generate_cargo_out()
528 .envs(envs.clone()) in generate_cargo_out()
541 .envs(envs.clone()) in generate_cargo_out()
707 m.props.set("name", module_name.clone()); in generate_android_bp()
859 CrateType::Bin => ("rust_binary".to_string() + host, crate_.name.clone()), in crate_to_bp_modules()
883 let stem = crate_.package_name.clone() + "_test_" + &suffix; in crate_to_bp_modules()
898 let mut m = BpModule::new(module_type.clone()); in crate_to_bp_modules()
[all …]
Dbp.rs150 (i, (*k).clone()) in write()
/development/tools/external_crates/crate_health/src/
Dversion_match.rs63 Some(dest_nv.clone()) in new()
92 let nv = self.get_compatible_version(source)?.clone(); in get_compatible_item_mut()
260 (downgrade_new.clone(), None), in test_version_map()
261 (downgrade_old.clone(), None), in test_version_map()
262 (equal.clone(), Some(equal.clone())), in test_version_map()
263 (compatible_old.clone(), Some(compatible_new.clone())), in test_version_map()
264 (incompatible_old.clone(), None), in test_version_map()
265 (incompatible_new.clone(), None), in test_version_map()
266 (missing.clone(), None), in test_version_map()
267 (superfluous.clone(), None), in test_version_map()
Drepo_path.rs48 RepoPath::new(self.root.clone(), self.path.join(path)) in join()
51 RepoPath::new(self.root.clone(), path) in with_same_root()
Dandroid_bp.rs38 let tx = tx.clone(); in generate_android_bps()
40 let crate_version = krate.version().clone(); in generate_android_bps()
Dname_and_version_map.rs78 Err(CrateError::DuplicateCrateVersion(key.name().to_string(), key.version().clone())) in insert_or_error()
142 versions.into_iter().map(|(nv, _crate)| vset.insert(nv.version().clone())).count(); in crates_with_single_version()
153 versions.into_iter().map(|(nv, _crate)| vset.insert(nv.version().clone())).count(); in crates_with_multiple_versions()
165 vset.insert(nv.version().clone()); in most_recent_version()
Dmain.rs195 args.repo_root.clone(), in main()
198 RepoPath::new(args.repo_root.clone(), &"out/rust-crate-migration-report"), in main()
Dname_and_version.rs52 NameAndVersion { name: nv.name().to_string(), version: nv.version().clone() } in from()
55 NameAndVersion { name, version: MIN_VERSION.clone() } in min_version()
Dcrate_collection.rs49 NameAndVersion::new(krate.name().to_string(), krate.version().clone()), in add_from()
/development/tools/cargo_embargo/src/cargo/
Dmetadata.rs127 features.clone().into_iter().filter(|feature| !feature.starts_with("dep:")).collect(); in parse_cargo_metadata()
133 .clone() in parse_cargo_metadata()
166 name: target_name.clone(), in parse_cargo_metadata()
169 types: target.crate_types.clone(), in parse_cargo_metadata()
170 features: features_without_deps.clone(), in parse_cargo_metadata()
172 package_dir: package_dir.clone(), in parse_cargo_metadata()
174 target: target_triple.clone(), in parse_cargo_metadata()
194 features: features_without_deps.clone(), in parse_cargo_metadata()
196 package_dir: package_dir.clone(), in parse_cargo_metadata()
198 target: target_triple.clone(), in parse_cargo_metadata()
[all …]
/development/tools/external_crates/crate_health/src/bin/
Dmigration_report.rs43 RepoPath::new(args.repo_root.clone(), &"external/rust/crates"), in main()
44 RepoPath::new(args.repo_root.clone(), &"out/rust-crate-migration-report"), in main()
/development/tools/logblame/
Dlogs.py47 def clone(self): member in LogLine
67 clone = previous.clone()
68 clone.timestamp = logLine.timestamp
69 yield clone
/development/tools/bugreport/src/com/android/bugreport/stacks/
DJavaStackFrameSnapshot.java53 this.locks.add(that.locks.get(i).clone()); in JavaStackFrameSnapshot()
58 public JavaStackFrameSnapshot clone() { in clone() method in JavaStackFrameSnapshot
DProcessSnapshot.java45 this.threads.add(that.threads.get(i).clone()); in ProcessSnapshot()
53 public ProcessSnapshot clone() { in clone() method in ProcessSnapshot
DThreadSnapshot.java78 this.frames.add(that.frames.get(i).clone()); in ThreadSnapshot()
95 public ThreadSnapshot clone() { in clone() method in ThreadSnapshot
DKernelStackFrameSnapshot.java39 public KernelStackFrameSnapshot clone() { in clone() method in KernelStackFrameSnapshot
DNativeStackFrameSnapshot.java33 public NativeStackFrameSnapshot clone() { in clone() method in NativeStackFrameSnapshot
DStackFrameSnapshot.java47 public StackFrameSnapshot clone() { in clone() method in StackFrameSnapshot
DLockSnapshot.java50 public LockSnapshot clone() { in clone() method in LockSnapshot
/development/samples/ApiDemos/src/com/example/android/mmslib/
DContentType.java213 return (ArrayList<String>) sSupportedImageTypes.clone(); in getImageTypes()
218 return (ArrayList<String>) sSupportedAudioTypes.clone(); in getAudioTypes()
223 return (ArrayList<String>) sSupportedVideoTypes.clone(); in getVideoTypes()
228 return (ArrayList<String>) sSupportedContentTypes.clone(); in getSupportedTypes()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimationCloning.java82 ObjectAnimator anim2 = anim1.clone(); in createAnimation()
97 AnimatorSet s2 = (AnimatorSet) s1.clone(); in createAnimation()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DMetadataParser.java85 mBugreport.endTime = (GregorianCalendar)mBugreport.startTime.clone(); in parseFooter()
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java211 thread.locks.put(lock.address, lock.clone()); in combineLocks()
431 process = process.clone(); in makeInterestingProcesses()
792 final Calendar begin = (Calendar)line.time.clone(); in markAnrLogcatRegions()
837 final Calendar end = (Calendar)mBugreport.startTime.clone(); in trimLogcat()
/development/tools/repo_diff/
DREADME.md22 repo sync --current-branch --no-clone-bundle --no-tags --jobs=8
30 repo sync --current-branch --no-clone-bundle --no-tags --jobs=8
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DEncodedStringValue.java190 public Object clone() throws CloneNotSupportedException { in clone() method in EncodedStringValue

12