Home
last modified time | relevance | path

Searched refs:entry_name (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/tests/unit/
Dpackage_test.cpp108 std::string entry_name = "dir1/file3.txt"; in TEST_F() local
109 ZipString path(entry_name.c_str()); in TEST_F()
113 std::vector<uint8_t> extracted(entry_name.size()); in TEST_F()
115 ASSERT_EQ(entry_name, std::string(extracted.begin(), extracted.end())); in TEST_F()
/bootable/recovery/applypatch/
Dimgdiff.cpp259 size_t raw_data_len, std::string entry_name) in ImageChunk() argument
265 entry_name_(std::move(entry_name)) { in ImageChunk()
690 std::string entry_name(name.name, name.name + name.name_length); in InitializeChunks() local
691 temp_entries.emplace_back(entry_name, entry); in InitializeChunks()
734 std::string entry_name = temp_entries[nextentry].first; in InitializeChunks() local
735 if (!AddZipEntryToChunks(handle, entry_name, &temp_entries[nextentry].second)) { in InitializeChunks()
736 LOG(ERROR) << "Failed to add " << entry_name << " to target chunks"; in InitializeChunks()
760 bool ZipModeImage::AddZipEntryToChunks(ZipArchiveHandle handle, const std::string& entry_name, in AddZipEntryToChunks() argument
770 std::string name = entry_name + "-" + std::to_string(count); in AddZipEntryToChunks()
782 LOG(ERROR) << "Failed to extract " << entry_name << " with size " << uncompressed_len << ": " in AddZipEntryToChunks()
[all …]
/bootable/recovery/tests/component/
Dverifier_test.cpp84 std::string entry_name = name; in BuildCertificateArchive() local
85 if (!android::base::EndsWith(entry_name, "x509.pem")) { in BuildCertificateArchive()
86 entry_name += "x509.pem"; in BuildCertificateArchive()
88 ASSERT_EQ(0, zip_writer.StartEntry(entry_name.c_str(), ZipWriter::kCompress)); in BuildCertificateArchive()
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h42 std::string entry_name = {});
260 bool AddZipEntryToChunks(ZipArchiveHandle handle, const std::string& entry_name, ZipEntry* entry);