Searched refs:fileLength (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 119 off64_t fileLength = lseek64(fd, 0, SEEK_END); in parseObbFile() local 121 if (fileLength < kFooterMinSize) { in parseObbFile() 122 if (fileLength < 0) { in parseObbFile() 125 … ALOGW("file is only %lld (less than %d minimum)\n", (long long int)fileLength, kFooterMinSize); in parseObbFile() 134 lseek64(fd, fileLength - kFooterTagSize, SEEK_SET); in parseObbFile() 151 if (footerSize > (size_t)fileLength - kFooterTagSize in parseObbFile() 154 footerSize, (long long int)fileLength); in parseObbFile() 165 off64_t fileOffset = fileLength - footerSize - kFooterTagSize; in parseObbFile()
|
D | Asset.cpp | 389 off64_t fileLength; in openChunk() local 390 fileLength = lseek64(fd, 0, SEEK_END); in openChunk() 391 if (fileLength == (off64_t) -1) { in openChunk() 397 if ((off64_t) (offset + length) > fileLength) { in openChunk() 399 (long) offset, (long) length, (long) fileLength); in openChunk()
|
/frameworks/av/media/mtp/ |
D | MtpServer.cpp | 771 int64_t fileLength; in doGetObject() local 773 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); in doGetObject() 784 mfr.length = fileLength; in doGetObject() 844 int64_t fileLength; in doGetPartialObject() local 846 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); in doGetPartialObject() 849 if (offset + length > (uint64_t)fileLength) in doGetPartialObject() 850 length = fileLength - offset; in doGetPartialObject() 1130 int64_t fileLength; in doDeleteObject() local 1131 int result = mDatabase->getObjectFilePath(handle, filePath, fileLength, format); in doDeleteObject() 1274 int64_t fileLength; in doBeginEditObject() local [all …]
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 208 off_t fileLength, seekStart; in readCentralDir() local 213 fileLength = ftell(mZipFp); in readCentralDir() 217 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir() 218 ALOGD("Length is %ld -- too small\n", (long)fileLength); in readCentralDir() 231 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in readCentralDir() 232 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in readCentralDir() 236 readAmount = (long) fileLength; in readCentralDir()
|
/frameworks/base/tools/aapt2/ |
D | ZipFile.cpp | 211 off_t fileLength, seekStart; in readCentralDir() local 216 fileLength = ftell(mZipFp); in readCentralDir() 220 if (fileLength < EndOfCentralDir::kEOCDLen) { in readCentralDir() 221 ALOGD("Length is %ld -- too small\n", (long)fileLength); in readCentralDir() 234 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { in readCentralDir() 235 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; in readCentralDir() 239 readAmount = (long) fileLength; in readCentralDir()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1034 long fileLength = file.length(); in rewriteExif() local 1035 if (fileLength < exifSize) { in rewriteExif()
|