Home
last modified time | relevance | path

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

/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp333 const LocalFileHeader* lfh; in CalculateLocalFileEntrySize() local
343 lfh = reinterpret_cast<const LocalFileHeader*>(lfhMapped.data()); in CalculateLocalFileEntrySize()
344 if (lfh->lfh_signature != kLocalFileHeaderMagic) { in CalculateLocalFileEntrySize()
366 off_t ddOffset = localFileHeaderOffset + kLocalFileHeaderSize + lfh->file_name_length + in CalculateLocalFileEntrySize()
367 lfh->extra_field_length + dataSize; in CalculateLocalFileEntrySize()
371 if (lfh->gpb_flags & kGPBDDFlagMask) { in CalculateLocalFileEntrySize()
400 localDataSize = (lfh->compression_method == kCompressStored) ? dd->uncompressed_size in CalculateLocalFileEntrySize()
404 localDataSize = (lfh->compression_method == kCompressStored) ? lfh->uncompressed_size in CalculateLocalFileEntrySize()
405 : lfh->compressed_size; in CalculateLocalFileEntrySize()
415 return kLocalFileHeaderSize + lfh->file_name_length + lfh->extra_field_length + dataSize + in CalculateLocalFileEntrySize()