• Home
  • Raw
  • Download

Lines Matching refs:ZipEntry

42 status_t ZipEntry::initFromCDE(FILE* fp)  in initFromCDE()
115 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew()
147 status_t ZipEntry::initFromExternal(const ZipFile* /* pZipFile */, in initFromExternal()
148 const ZipEntry* pEntry) in initFromExternal()
183 status_t ZipEntry::addPadding(int padding) in addPadding()
219 void ZipEntry::copyCDEtoLFH(void) in copyCDEtoLFH()
244 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo()
265 bool ZipEntry::compareHeaders(void) const in compareHeaders()
323 time_t ZipEntry::getModWhen(void) const in getModWhen()
342 void ZipEntry::setModWhen(time_t when) { in setModWhen()
374 status_t ZipEntry::LocalFileHeader::read(FILE* fp) in read()
387 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in read()
393 mVersionToExtract = ZipEntry::getShortLE(&buf[0x04]); in read()
394 mGPBitFlag = ZipEntry::getShortLE(&buf[0x06]); in read()
395 mCompressionMethod = ZipEntry::getShortLE(&buf[0x08]); in read()
396 mLastModFileTime = ZipEntry::getShortLE(&buf[0x0a]); in read()
397 mLastModFileDate = ZipEntry::getShortLE(&buf[0x0c]); in read()
398 mCRC32 = ZipEntry::getLongLE(&buf[0x0e]); in read()
399 mCompressedSize = ZipEntry::getLongLE(&buf[0x12]); in read()
400 mUncompressedSize = ZipEntry::getLongLE(&buf[0x16]); in read()
401 mFileNameLength = ZipEntry::getShortLE(&buf[0x1a]); in read()
402 mExtraFieldLength = ZipEntry::getShortLE(&buf[0x1c]); in read()
441 status_t ZipEntry::LocalFileHeader::write(FILE* fp) in write()
445 ZipEntry::putLongLE(&buf[0x00], kSignature); in write()
446 ZipEntry::putShortLE(&buf[0x04], mVersionToExtract); in write()
447 ZipEntry::putShortLE(&buf[0x06], mGPBitFlag); in write()
448 ZipEntry::putShortLE(&buf[0x08], mCompressionMethod); in write()
449 ZipEntry::putShortLE(&buf[0x0a], mLastModFileTime); in write()
450 ZipEntry::putShortLE(&buf[0x0c], mLastModFileDate); in write()
451 ZipEntry::putLongLE(&buf[0x0e], mCRC32); in write()
452 ZipEntry::putLongLE(&buf[0x12], mCompressedSize); in write()
453 ZipEntry::putLongLE(&buf[0x16], mUncompressedSize); in write()
454 ZipEntry::putShortLE(&buf[0x1a], mFileNameLength); in write()
455 ZipEntry::putShortLE(&buf[0x1c], mExtraFieldLength); in write()
479 void ZipEntry::LocalFileHeader::dump(void) const in dump()
508 status_t ZipEntry::CentralDirEntry::read(FILE* fp) in read()
523 if (ZipEntry::getLongLE(&buf[0x00]) != kSignature) { in read()
529 mVersionMadeBy = ZipEntry::getShortLE(&buf[0x04]); in read()
530 mVersionToExtract = ZipEntry::getShortLE(&buf[0x06]); in read()
531 mGPBitFlag = ZipEntry::getShortLE(&buf[0x08]); in read()
532 mCompressionMethod = ZipEntry::getShortLE(&buf[0x0a]); in read()
533 mLastModFileTime = ZipEntry::getShortLE(&buf[0x0c]); in read()
534 mLastModFileDate = ZipEntry::getShortLE(&buf[0x0e]); in read()
535 mCRC32 = ZipEntry::getLongLE(&buf[0x10]); in read()
536 mCompressedSize = ZipEntry::getLongLE(&buf[0x14]); in read()
537 mUncompressedSize = ZipEntry::getLongLE(&buf[0x18]); in read()
538 mFileNameLength = ZipEntry::getShortLE(&buf[0x1c]); in read()
539 mExtraFieldLength = ZipEntry::getShortLE(&buf[0x1e]); in read()
540 mFileCommentLength = ZipEntry::getShortLE(&buf[0x20]); in read()
541 mDiskNumberStart = ZipEntry::getShortLE(&buf[0x22]); in read()
542 mInternalAttrs = ZipEntry::getShortLE(&buf[0x24]); in read()
543 mExternalAttrs = ZipEntry::getLongLE(&buf[0x26]); in read()
544 mLocalHeaderRelOffset = ZipEntry::getLongLE(&buf[0x2a]); in read()
599 status_t ZipEntry::CentralDirEntry::write(FILE* fp) in write()
603 ZipEntry::putLongLE(&buf[0x00], kSignature); in write()
604 ZipEntry::putShortLE(&buf[0x04], mVersionMadeBy); in write()
605 ZipEntry::putShortLE(&buf[0x06], mVersionToExtract); in write()
606 ZipEntry::putShortLE(&buf[0x08], mGPBitFlag); in write()
607 ZipEntry::putShortLE(&buf[0x0a], mCompressionMethod); in write()
608 ZipEntry::putShortLE(&buf[0x0c], mLastModFileTime); in write()
609 ZipEntry::putShortLE(&buf[0x0e], mLastModFileDate); in write()
610 ZipEntry::putLongLE(&buf[0x10], mCRC32); in write()
611 ZipEntry::putLongLE(&buf[0x14], mCompressedSize); in write()
612 ZipEntry::putLongLE(&buf[0x18], mUncompressedSize); in write()
613 ZipEntry::putShortLE(&buf[0x1c], mFileNameLength); in write()
614 ZipEntry::putShortLE(&buf[0x1e], mExtraFieldLength); in write()
615 ZipEntry::putShortLE(&buf[0x20], mFileCommentLength); in write()
616 ZipEntry::putShortLE(&buf[0x22], mDiskNumberStart); in write()
617 ZipEntry::putShortLE(&buf[0x24], mInternalAttrs); in write()
618 ZipEntry::putLongLE(&buf[0x26], mExternalAttrs); in write()
619 ZipEntry::putLongLE(&buf[0x2a], mLocalHeaderRelOffset); in write()
648 void ZipEntry::CentralDirEntry::dump(void) const in dump()
672 ZipEntry::CentralDirEntry& ZipEntry::CentralDirEntry::operator=(const ZipEntry::CentralDirEntry& sr… in operator =()