Searched defs:fp (Results 1 - 2 of 2) sorted by relevance

/build/tools/zipalign/
H A DZipEntry.cpp39 status_t ZipEntry::initFromCDE(FILE* fp) argument
48 result = mCDE.read(fp);
57 posn = ftell(fp);
58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) {
64 result = mLFH.read(fp);
70 if (fseek(fp, posn, SEEK_SET) != 0)
399 * On entry, "fp" points to the signature at the start of the header.
400 * On exit, "fp" points to the start of data.
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) argument
410 if (fread(buf, 1, kLFHLen, fp) !
469 write(FILE* fp) argument
536 read(FILE* fp) argument
627 write(FILE* fp) argument
[all...]
H A DZipFile.cpp1049 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) argument
1063 if (fseek(fp, (long) src, SEEK_SET) != 0) {
1068 if (fread(readBuf, 1, getSize, fp) != getSize) {
1074 if (fseek(fp, (long) dst, SEEK_SET) != 0) {
1079 if (fwrite(readBuf, 1, getSize, fp) != getSize) {
1262 status_t ZipFile::EndOfCentralDir::write(FILE* fp) argument
1275 if (fwrite(buf, 1, kEOCDLen, fp) != kEOCDLen)
1279 if (fwrite(mComment, mCommentLen, 1, fp) != mCommentLen)

Completed in 76 milliseconds