Home
last modified time | relevance | path

Searched refs:file_entry (Results 1 – 2 of 2) sorted by relevance

/system/libziparchive/
Dzip_writer.cc223 FileEntry file_entry = {}; in StartAlignedEntryWithTime() local
224 file_entry.local_file_header_offset = current_offset_; in StartAlignedEntryWithTime()
225 file_entry.path = path; in StartAlignedEntryWithTime()
227 if (file_entry.local_file_header_offset > std::numeric_limits<uint32_t>::max()) { in StartAlignedEntryWithTime()
231 if (!IsValidEntryName(reinterpret_cast<const uint8_t*>(file_entry.path.data()), in StartAlignedEntryWithTime()
232 file_entry.path.size())) { in StartAlignedEntryWithTime()
237 file_entry.compression_method = kCompressDeflated; in StartAlignedEntryWithTime()
245 file_entry.compression_method = kCompressStored; in StartAlignedEntryWithTime()
248 ExtractTimeAndDate(time, &file_entry.last_mod_time, &file_entry.last_mod_date); in StartAlignedEntryWithTime()
250 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime()
[all …]
Dzip_archive_test.cc1080 [&local_file_header_offset](const LocalFileEntry& file_entry) { in AddEntry() argument
1081 local_file_header_offset += file_entry.GetSize(); in AddEntry()
1145 [&zip64_eocd](const LocalFileEntry& file_entry) { in ConstructEocd() argument
1146 zip64_eocd.cd_start_offset += file_entry.GetSize(); in ConstructEocd()
1172 for (const auto& file_entry : file_entries_) { in ConstructZipFile() local
1173 file_entry.CopyToOutput(&zip_content_); in ConstructZipFile()
1379 [&local_file_header_offset](const LocalFileEntry& file_entry) { in TEST_F() argument
1380 local_file_header_offset += file_entry.GetSize(); in TEST_F()