Home
last modified time | relevance | path

Searched refs:src_path (Results 1 – 5 of 5) sorted by relevance

/system/unwinding/libunwindstack/utils/
DOfflineUnwindUtils.cpp63 fs::path src_path = file.path(); in DecompressFiles() local
64 if (src_path.extension() == ".gz") { in DecompressFiles()
65 fs::path dst_path = fs::path(src_path).replace_extension(); // Remove .gz extension. in DecompressFiles()
66 if (!fs::exists(dst_path) || fs::last_write_time(src_path) > fs::last_write_time(dst_path)) { in DecompressFiles()
67 gzFile src = gzopen(src_path.c_str(), "rb"); in DecompressFiles()
69 fs::path tmp_path = fs::path(src_path).replace_extension("." + std::to_string(getpid())); in DecompressFiles()
87 fs::path src_path = file.path(); in CreateLinks() local
88 if (fs::is_regular_file(src_path) && src_path.filename() == "links.txt") { in CreateLinks()
90 if (!android::base::ReadFileToString(src_path.c_str(), &contents)) { in CreateLinks()
91 errx(1, "Unable to read file: %s", src_path.c_str()); in CreateLinks()
[all …]
/system/apex/apexd/
Dapex_file.cpp397 const std::string& src_path = GetPath(); in Decompress() local
399 LOG(INFO) << "Decompressing" << src_path << " to " << dest_path; in Decompress()
407 unique_fd src_fd(open(src_path.c_str(), O_RDONLY | O_CLOEXEC)); in Decompress()
414 int ret = OpenArchiveFd(src_fd.get(), src_path.c_str(), &handle, false); in Decompress()
416 return Error() << "Failed to open package " << src_path << ": " in Decompress()
427 << "\" in package " << src_path << ": " in Decompress()
452 LOG(VERBOSE) << "Decompressed " << src_path << " to " << dest_path; in Decompress()
/system/extras/simpleperf/scripts/test/
Ddo_test.py167 for src_path in source_dir.iterdir():
168 dest_path = testdata_dir / src_path.name
171 if src_path.is_file():
172 shutil.copyfile(src_path, dest_path)
173 elif src_path.is_dir():
174 shutil.copytree(src_path, dest_path)
/system/teeui/test/example_config/
DREADME93 atest --test-mapping [src_path]:all
/system/security/keystore2/src/
Dlegacy_blob.rs1161 let src_path = make_filename(src_uid, src_alias, prefix); in move_keystore_file_if_exists() localVariable
1163 match Self::with_retry_interrupted(|| fs::rename(&src_path, &dest_path)) { in move_keystore_file_if_exists()