HomeSort by relevance Sort by last modified time
    Searched refs:fileLength (Results 1 - 25 of 48) sorted by null

1 2

  /external/oprofile/libpopt/
poptconfig.c 102 off_t fileLength;
108 fileLength = lseek(fd, 0, SEEK_END);
109 if (fileLength == -1 || lseek(fd, 0, 0) == -1) {
116 file = alloca(fileLength + 1);
117 if (read(fd, (char *)file, fileLength) != fileLength) {
127 dst = buf = alloca(fileLength + 1);
130 end = (file + fileLength);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DexFileFactory.java 70 long fileLength = zipEntry.getSize();
71 if (fileLength < 40) {
74 } else if (fileLength > Integer.MAX_VALUE) {
77 byte[] dexBytes = new byte[(int)fileLength];
  /external/chromium_org/third_party/WebKit/public/platform/
WebHTTPBody.h 56 long long fileLength; // -1 means to the end of the file.
88 // Passing -1 to fileLength means to the end of the file.
89 BLINK_PLATFORM_EXPORT void appendFileRange(const WebString&, long long fileStart, long long fileLength, double modificationTime);
  /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", fileLength, kFooterMinSize);
134 lseek64(fd, fileLength - kFooterTagSize, SEEK_SET);
151 if (footerSize > (size_t)fileLength - kFooterTagSize
154 footerSize, fileLength);
165 off64_t fileOffset = fileLength - footerSize - kFooterTagSize;
Asset.cpp 383 off64_t fileLength;
384 fileLength = lseek64(fd, 0, SEEK_END);
385 if (fileLength == (off64_t) -1) {
391 if ((off64_t) (offset + length) > fileLength) {
393 (long) offset, (long) length, (long) fileLength);
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebHTTPBody.cpp 78 result.fileLength = 0;
91 result.fileLength = element.m_fileLength;
102 result.fileLength = element.m_fileLength;
127 void WebHTTPBody::appendFileRange(const WebString& filePath, long long fileStart, long long fileLength, double modificationTime)
130 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime);
  /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);
  /packages/apps/Camera/tests/src/com/android/camera/functional/
ImageCaptureIntentTest.java 86 int fileLength = (int) file.length();
87 assertTrue(fileLength > 0);
88 jpegData = new byte[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];
  /packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
ImageCaptureIntentTest.java 86 int fileLength = (int) file.length();
87 assertTrue(fileLength > 0);
88 jpegData = new byte[fileLength];
  /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];
  /external/chromium_org/third_party/icu/source/common/
umapfile.c 234 int32_t fileLength;
245 fileLength=umap_fsize(file);
246 if(ferror(file) || fileLength<=20) {
252 p=uprv_malloc(fileLength);
259 if(fileLength!=fread(p, 1, fileLength, file)) {
  /external/icu/icu4c/source/common/
umapfile.c 234 int32_t fileLength;
245 fileLength=umap_fsize(file);
246 if(ferror(file) || fileLength<=20) {
252 p=uprv_malloc(fileLength);
259 if(fileLength!=fread(p, 1, fileLength, file)) {
  /external/chromium_org/third_party/icu/source/tools/toolutil/
unewdata.c 143 uint32_t fileLength=0;
152 fileLength=T_FileStream_size(pData->file);
156 fileLength-=pData->headerSize;
163 return fileLength;
package.cpp 311 int32_t fileLength, typeEnum;
323 fileLength=getFileLength(file);
324 if(ferror(file) || fileLength<=0) {
331 length=(fileLength+0xf)&~0xf;
340 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) {
348 if(fileLength<length) {
349 memset(data+fileLength, 0xaa, length-fileLength);
    [all...]
xmlparser.cpp 170 int32_t fileLength, bytesLength, length, capacity;
186 fileLength=bytesLength;
189 fileLength=T_FileStream_size(f);
270 capacity=fileLength; // estimated capacity
  /external/icu/icu4c/source/tools/toolutil/
unewdata.c 143 uint32_t fileLength=0;
152 fileLength=T_FileStream_size(pData->file);
156 fileLength-=pData->headerSize;
163 return fileLength;
package.cpp 311 int32_t fileLength, typeEnum;
323 fileLength=getFileLength(file);
324 if(ferror(file) || fileLength<=0) {
331 length=(fileLength+0xf)&~0xf;
340 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) {
348 if(fileLength<length) {
349 memset(data+fileLength, 0xaa, length-fileLength);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/network/
FormData.h 39 FormDataElement(const String& filename, long long fileStart, long long fileLength, double expectedFileModificationTime) : m_type(encodedFile), m_filename(filename), m_fileStart(fileStart), m_fileLength(fileLength), m_expectedFileModificationTime(expectedFileModificationTime) { }
  /frameworks/av/media/mtp/
MtpServer.cpp 771 int64_t fileLength;
773 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format);
784 mfr.length = fileLength;
844 int64_t fileLength;
846 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format);
849 if (offset + length > (uint64_t)fileLength)
850 length = fileLength - offset;
    [all...]
  /external/chromium_org/content/renderer/
history_serialization.cc 43 output->file_length = input.fileLength;
49 output->file_length = input.fileLength;
  /build/tools/zipalign/
ZipFile.cpp 210 off_t fileLength, seekStart;
215 fileLength = ftell(mZipFp);
219 if (fileLength < EndOfCentralDir::kEOCDLen) {
220 ALOGD("Length is %ld -- too small\n", (long)fileLength);
233 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) {
234 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch;
238 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...]
  /packages/apps/Camera2/src/com/android/camera/
Storage.java 114 long fileLength = writeFile(path, data, exif);
115 if (fileLength >= 0) {
116 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength,
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasOutboxSync.java 138 final long fileLength = mTmpFile.length();
141 entity = new SendMailEntity(mFileStream, fileLength, mModeTag, mMessage,
144 entity = new InputStreamEntity(mFileStream, fileLength);

Completed in 613 milliseconds

1 2