/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);
|
/frameworks/base/libs/utils/ |
ObbFile.cpp | 119 off64_t fileLength = lseek64(fd, 0, SEEK_END); 121 if (fileLength < kFooterMinSize) { 122 if (fileLength < 0) { 125 LOGW("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/webkit/Source/WebKit/chromium/public/ |
WebHTTPBody.h | 55 long long fileLength; // -1 means to the end of the file. 86 // Passing -1 to fileLength means to the end of the file. 87 WEBKIT_API void appendFileRange(const WebString&, long long fileStart, long long fileLength, double modificationTime);
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 91 int fileLength = (int) file.length(); 92 assertTrue(fileLength > 0); 93 jpegData = new byte[fileLength];
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ScannerParseLargeFileBenchmarkTest.java | 45 static long fileLength = (8 << 21) * 12; 59 if (count >= fileLength) {
|
/bootable/recovery/minzip/ |
SysUtil.c | 153 size_t fileLength, actualLength; 160 if (getFileStartAndLength(fd, &dummy, &fileLength) < 0) 163 if (start + length > (long)fileLength) { 165 (int) start, length, (int) fileLength);
|
/external/icu4c/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; 339 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) { 347 if(fileLength<length) { 348 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/webkit/Source/WebKit/chromium/src/ |
WebHTTPBody.cpp | 79 result.fileLength = 0; 93 result.fileLength = element.m_fileLength; 125 void WebHTTPBody::appendFileRange(const WebString& filePath, long long fileStart, long long fileLength, double modificationTime) 129 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime);
|
/hardware/ril/mock-ril/src/cpp/ |
js_support.cpp | 99 size_t fileLength = 0; 111 fileLength = ftell(f); 112 DBG("fileLength=%d", fileLength); 116 buffer = new char[fileLength+1]; 117 size_t readLength = fread(buffer, 1, fileLength, f); 118 if (readLength != fileLength) { 125 buffer[fileLength] = 0; 132 *length = fileLength;
|
/external/quake/quake/src/QW/client/ |
sys_null.c | 9 filelength 12 int filelength (FILE *f) function
|
/external/quake/quake/src/WinQuake/ |
sys_null.cpp | 49 filelength
52 int filelength (FILE *f)
function 81 return filelength(f);
|
sys_wind.cpp | 53 filelength
56 int filelength (FILE *f)
function 85 return filelength(f);
|
sys_sun.cpp | 71 filelength 74 int filelength (FILE *f) function 101 sys_handles[i].nLen = filelength(f);
|
/external/icu4c/common/ |
umapfile.c | 235 int32_t fileLength; 246 fileLength=umap_fsize(file); 247 if(ferror(file) || fileLength<=20) { 253 p=uprv_malloc(fileLength); 260 if(fileLength!=fread(p, 1, fileLength, file)) {
|
/frameworks/base/media/mtp/ |
MtpServer.cpp | 720 int64_t fileLength; 722 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); 733 mfr.length = fileLength; 783 int64_t fileLength; 785 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); 788 if (offset + length > fileLength) 789 length = fileLength - offset; [all...] |
/dalvik/libdex/ |
ZipArchive.cpp | 145 ZipArchive* pArchive, off_t fileLength, size_t readAmount, u1* scanBuf) 147 off_t searchStart = fileLength - readAmount; 180 assert(eocdOffset < fileLength); 234 off_t fileLength = lseek(fd, 0, SEEK_END); 235 if (fileLength < kEOCDLen) { 236 LOGV("Zip: length %ld is too small to be zip", (long) fileLength); 253 if (fileLength < off_t(readAmount)) 254 readAmount = fileLength; 262 fileLength, readAmount, scanBuf);
|
/external/webkit/Source/WebCore/platform/network/ |
FormData.h | 41 FormDataElement(const String& filename, long long fileStart, long long fileLength, double expectedFileModificationTime, bool shouldGenerateFile) : m_type(encodedFile), m_filename(filename), m_fileStart(fileStart), m_fileLength(fileLength), m_expectedFileModificationTime(expectedFileModificationTime), m_shouldGenerateFile(shouldGenerateFile) { }
|
FormData.cpp | 396 int64_t fileLength; 397 if (!decoder.decodeInt64(fileLength)) 399 if (fileLength < fileStart) 406 element.m_fileLength = fileLength;
|
/frameworks/base/cmds/keystore/ |
keystore.cpp | 225 size_t fileLength = encryptedLength + headerLength + mBlob.info; 232 size_t writtenBytes = writeFully(out, (uint8_t*) &mBlob, fileLength); 236 if (writtenBytes != fileLength) { 248 // fileLength may be less than sizeof(mBlob) since the in 251 size_t fileLength = readFully(in, (uint8_t*) &mBlob, sizeof(mBlob)); 256 if (fileLength < headerLength) { 260 ssize_t encryptedLength = fileLength - (headerLength + mBlob.info);
|
/build/tools/zipalign/ |
ZipFile.cpp | 208 off_t fileLength, seekStart; 213 fileLength = ftell(mZipFp); 217 if (fileLength < EndOfCentralDir::kEOCDLen) { 218 LOGD("Length is %ld -- too small\n", (long)fileLength); 231 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { 232 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; 236 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 LOGD("Length is %ld -- too small\n", (long)fileLength); 231 if (fileLength > EndOfCentralDir::kMaxEOCDSearch) { 232 seekStart = fileLength - EndOfCentralDir::kMaxEOCDSearch; 236 readAmount = (long) fileLength; [all...] |
/external/elfutils/libdw/ |
dwarf_getsrclines.c | 401 Dwarf_Word filelength; local 402 get_uleb128 (filelength, linep); 427 new_file->info.length = filelength;
|