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