/build/make/tools/ziptime/ |
ZipFile.cpp | 77 off_t fileLength, seekStart; 82 fileLength = ftell(mZipFp); 86 if (fileLength < EndOfCentralDir::kEOCDLen) { 87 LOG("Length is %ld -- too small\n", (long)fileLength); 100 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { 101 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; 105 readAmount = (long) fileLength;
|
/packages/apps/Camera2/src/com/android/camera/session/ |
StackSaverImpl.java | 70 long fileLength = outputImagePath.length(); 71 if (fileLength > 0) { 73 mGpsLocation, imageOrientation, fileLength, filePath, width, height,
|
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
RandomAccessFileInputStream.java | 60 private final long fileLength; 85 fileLength = file.length(); 113 if (rangeOffset + rangeLength > fileLength) { 221 return fileLength;
|
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 145 uint32_t fileLength=0; 154 fileLength=T_FileStream_size(pData->file); 158 fileLength-=pData->headerSize; 165 return fileLength;
|
xmlparser.cpp | 172 int32_t fileLength, bytesLength, length, capacity; 188 fileLength=bytesLength; 191 fileLength=T_FileStream_size(f); 272 capacity=fileLength; // estimated capacity
|
package.cpp | 310 int32_t fileLength, typeEnum; 322 fileLength=getFileLength(file); 323 if(ferror(file) || fileLength<=0) { 330 length=(fileLength+0xf)&~0xf; 339 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { 346 if(fileLength<length) { 347 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); [all...] |
/frameworks/base/libs/androidfw/ |
ObbFile.cpp | 119 off64_t fileLength = lseek64(fd, 0, SEEK_END); 121 if (fileLength < kFooterMinSize) { 122 if (fileLength < 0) { 125 ALOGW("file is only %lld (less than %d minimum)\n", (long long int)fileLength, kFooterMinSize); 134 lseek64(fd, fileLength - kFooterTagSize, SEEK_SET); 151 if (footerSize > (size_t)fileLength - kFooterTagSize 154 footerSize, (long long int)fileLength); 165 off64_t fileOffset = fileLength - footerSize - kFooterTagSize;
|
Asset.cpp | 434 off64_t fileLength; 435 fileLength = lseek64(fd, 0, SEEK_END); 436 if (fileLength == (off64_t) -1) { 442 if ((off64_t) (offset + length) > fileLength) { 444 (long) offset, (long) length, (long) fileLength);
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 86 int fileLength = (int) file.length(); 87 assertTrue(fileLength > 0); 88 jpegData = new byte[fileLength];
|
/external/icu/icu4c/source/common/ |
umapfile.c | 236 int32_t fileLength; 247 fileLength=umap_fsize(file); 248 if(ferror(file) || fileLength<=20) { 254 p=uprv_malloc(fileLength); 261 if(fileLength!=fread(p, 1, fileLength, file)) {
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 91 int fileLength = (int) file.length(); 92 assertTrue(fileLength > 0); 93 jpegData = new byte[fileLength];
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
WifiDownloadReceiver.java | 117 int fileLength = connection.getContentLength(); 119 if (fileLength != bytesRead) { 120 return "Expected file of size " + fileLength + " but only received " 123 Log.d(PMCMainActivity.TAG, "Downloaded file size " + fileLength); 125 mBytesCount += fileLength;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileParserTask.java | 138 long fileLength; 140 fileLength = mFile.length(); 142 fileLength = 0; 146 fileLength > 0 ? 100 : IProgressMonitor.UNKNOWN); 173 if (fileLength > 0) { 174 int percentParsedNow = (int)((filePointer * 100) / fileLength);
|
/system/security/keystore/ |
blob.cpp | 232 size_t fileLength = offsetof(blobv3, value) + dataLength + mBlob.info; 242 const size_t writtenBytes = writeFully(out, (uint8_t*)&mBlob, fileLength); 246 if (writtenBytes != fileLength) { 247 ALOGW("blob not fully written %zu != %zu", writtenBytes, fileLength); 265 // fileLength may be less than sizeof(mBlob) 266 const size_t fileLength = readFully(in, (uint8_t*)&mBlob, sizeof(mBlob)); 271 if (fileLength == 0) { 280 if (fileLength < offsetof(blobv3, value)) return ResponseCode::VALUE_CORRUPTED; 293 const ssize_t encryptedLength = fileLength - headerLength - blob.info; 316 const ssize_t maxValueLength = fileLength - offsetof(blobv3, value) - mBlob.info [all...] |
keystore.cpp | 711 size_t fileLength = readFully(in, (uint8_t*)&mMetaData, sizeof(mMetaData)); 712 if (fileLength != sizeof(mMetaData)) { 713 ALOGI("Metadata file is %zd bytes (%zd experted); upgrade?", fileLength, sizeof(mMetaData)); 726 size_t fileLength = writeFully(out, (uint8_t*)&mMetaData, sizeof(mMetaData)); 727 if (fileLength != sizeof(mMetaData)) { 728 ALOGI("Could only write %zd bytes to metadata file (%zd expected)", fileLength,
|
/build/make/tools/zipalign/ |
ZipFile.cpp | 211 off_t fileLength, seekStart; 216 fileLength = ftell(mZipFp); 220 if (fileLength < EndOfCentralDir::kEOCDLen) { 221 ALOGD("Length is %ld -- too small\n", (long)fileLength); 234 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { 235 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; 239 readAmount = (long) fileLength; [all...] |
/frameworks/base/tools/aapt/ |
ZipFile.cpp | 208 off_t fileLength, seekStart; 213 fileLength = ftell(mZipFp); 217 if (fileLength < EndOfCentralDir::kEOCDLen) { 218 ALOGD("Length is %ld -- too small\n", (long)fileLength); 231 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { 232 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; 236 readAmount = (long) fileLength; [all...] |
/external/libmojo/base/android/java/src/org/chromium/base/ |
CommandLine.java | 247 long fileLength = f.length(); 249 if (fileLength == 0) { 253 if (fileLength > sizeLimit) { 254 Log.w(TAG, "File " + fileName + " length " + fileLength + " exceeds limit " 260 char[] buffer = new char[(int) fileLength];
|
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 125 long fileLength = writeFile(path, data, exif); 126 if (fileLength >= 0) { 127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength,
|
/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/ |
TzDataCheckTest.java | 469 int fileLength = (int) Files.size(distroVersionFile); 470 byte[] junkArray = new byte[fileLength]; // all zeros [all...] |
/frameworks/av/media/mtp/ |
MtpServer.cpp | 786 int64_t fileLength; 788 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); 801 mfr.length = fileLength; 872 int64_t fileLength; 874 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); 877 if (offset + length > (uint64_t)fileLength) 878 length = fileLength - offset; [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifInterface.java | [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifInterface.java | [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifInterface.java | [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
ExifInterface.java | [all...] |