Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_common.h99 uint16_t file_name_length; member
150 uint16_t file_name_length; member
Dzip_archive.cc386 const uint16_t file_name_length = cdr->file_name_length; in ParseZipArchive() local
391 if (file_name + file_name_length > cd_end) { in ParseZipArchive()
394 i, file_name_length, cd_length); in ParseZipArchive()
398 if (!IsValidEntryName(file_name, file_name_length)) { in ParseZipArchive()
404 std::string_view entry_name{reinterpret_cast<const char*>(file_name), file_name_length}; in ParseZipArchive()
412 ptr += sizeof(CentralDirectoryRecord) + file_name_length + extra_length + comment_length; in ParseZipArchive()
649 if (lfh->file_name_length != nameLen) { in FindEntry()
654 if (name_offset + lfh->file_name_length > cd_offset) { in FindEntry()
671 lfh->file_name_length + lfh->extra_field_length; in FindEntry()
Dzip_writer.cc197 dst->file_name_length = static_cast<uint16_t>(src.path.size()); in CopyFromFileEntry()
534 cdr.file_name_length = static_cast<uint16_t>(file.path.size()); in Finish()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp243 uint16_t file_name_length; in ParseCentralDirectoryRecord() member
277 auto end = begin + sizeof(*cdr) + cdr->file_name_length + cdr->extra_field_length + in ParseCentralDirectoryRecord()
321 uint16_t file_name_length; in CalculateLocalFileEntrySize() member
366 off_t ddOffset = localFileHeaderOffset + kLocalFileHeaderSize + lfh->file_name_length + in CalculateLocalFileEntrySize()
415 return kLocalFileHeaderSize + lfh->file_name_length + lfh->extra_field_length + dataSize + in CalculateLocalFileEntrySize()