Lines Matching refs:footerSize
131 size_t footerSize; in parseObbFile() local
150 footerSize = get4LE((unsigned char*)footer); in parseObbFile()
151 if (footerSize > (size_t)fileLength - kFooterTagSize in parseObbFile()
152 || footerSize > kMaxBufSize) { in parseObbFile()
154 footerSize, (long long int)fileLength); in parseObbFile()
158 if (footerSize < (kFooterMinSize - kFooterTagSize)) { in parseObbFile()
160 footerSize, kFooterMinSize - kFooterTagSize); in parseObbFile()
165 off64_t fileOffset = fileLength - footerSize - kFooterTagSize; in parseObbFile()
173 char* scanBuf = (char*)malloc(footerSize); in parseObbFile()
179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize)); in parseObbFile()
181 if (actual != (ssize_t)footerSize) { in parseObbFile()
188 for (int i = 0; i < footerSize; ++i) { in parseObbFile()
207 || packageNameLen > (footerSize - kPackageNameOffset)) { in parseObbFile()
209 packageNameLen, footerSize - kPackageNameOffset); in parseObbFile()