• Home
  • Raw
  • Download

Lines Matching refs:fp

39 status_t ZipEntry::initFromCDE(FILE* fp)  in initFromCDE()  argument
48 result = mCDE.read(fp); in initFromCDE()
57 posn = ftell(fp); in initFromCDE()
58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initFromCDE()
64 result = mLFH.read(fp); in initFromCDE()
70 if (fseek(fp, posn, SEEK_SET) != 0) in initFromCDE()
384 status_t ZipEntry::LocalFileHeader::read(FILE* fp) in read() argument
392 if (fread(buf, 1, kLFHLen, fp) != kLFHLen) { in read()
423 if (fread(mFileName, 1, mFileNameLength, fp) != mFileNameLength) { in read()
437 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
451 status_t ZipEntry::LocalFileHeader::write(FILE* fp) in write() argument
467 if (fwrite(buf, 1, kLFHLen, fp) != kLFHLen) in write()
472 if (fwrite(mFileName, 1, mFileNameLength, fp) != mFileNameLength) in write()
478 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
518 status_t ZipEntry::CentralDirEntry::read(FILE* fp) in read() argument
528 if (fread(buf, 1, kCDELen, fp) != kCDELen) { in read()
565 if (fread(mFileName, 1, mFileNameLength, fp) != mFileNameLength) { in read()
579 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read()
594 if (fread(mFileComment, 1, mFileCommentLength, fp) != mFileCommentLength) in read()
609 status_t ZipEntry::CentralDirEntry::write(FILE* fp) in write() argument
631 if (fwrite(buf, 1, kCDELen, fp) != kCDELen) in write()
636 if (fwrite(mFileName, 1, mFileNameLength, fp) != mFileNameLength) in write()
642 if (fwrite(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) in write()
648 if (fwrite(mFileComment, 1, mFileCommentLength, fp) != mFileCommentLength) in write()