Searched refs:footerSize (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/androidfw/
H A DObbFile.cpp131 size_t footerSize; local
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));
[all...]

Completed in 29 milliseconds