Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_writer.cc228 FileEntry file_entry = {}; in StartAlignedEntryWithTime() local
229 file_entry.local_file_header_offset = current_offset_; in StartAlignedEntryWithTime()
230 file_entry.path = path; in StartAlignedEntryWithTime()
232 if (file_entry.local_file_header_offset > std::numeric_limits<uint32_t>::max()) { in StartAlignedEntryWithTime()
236 if (!IsValidEntryName(reinterpret_cast<const uint8_t*>(file_entry.path.data()), in StartAlignedEntryWithTime()
237 file_entry.path.size())) { in StartAlignedEntryWithTime()
242 file_entry.compression_method = kCompressDeflated; in StartAlignedEntryWithTime()
250 file_entry.compression_method = kCompressStored; in StartAlignedEntryWithTime()
253 ExtractTimeAndDate(time, &file_entry.last_mod_time, &file_entry.last_mod_date); in StartAlignedEntryWithTime()
255 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime()
[all …]
Dzip_archive_test.cc1084 [&local_file_header_offset](const LocalFileEntry& file_entry) { in AddEntry() argument
1085 local_file_header_offset += file_entry.GetSize(); in AddEntry()
1149 [&zip64_eocd](const LocalFileEntry& file_entry) { in ConstructEocd() argument
1150 zip64_eocd.cd_start_offset += file_entry.GetSize(); in ConstructEocd()
1176 for (const auto& file_entry : file_entries_) { in ConstructZipFile() local
1177 file_entry.CopyToOutput(&zip_content_); in ConstructZipFile()
1383 [&local_file_header_offset](const LocalFileEntry& file_entry) { in TEST_F() argument
1384 local_file_header_offset += file_entry.GetSize(); in TEST_F()