Home
last modified time | relevance | path

Searched refs:fileLength (Results 1 – 12 of 12) sorted by relevance

/external/oprofile/libpopt/
Dpoptconfig.c102 off_t fileLength; in poptReadConfigFile() local
108 fileLength = lseek(fd, 0, SEEK_END); in poptReadConfigFile()
109 if (fileLength == -1 || lseek(fd, 0, 0) == -1) { in poptReadConfigFile()
116 file = alloca(fileLength + 1); in poptReadConfigFile()
117 if (read(fd, (char *)file, fileLength) != fileLength) { in poptReadConfigFile()
127 dst = buf = alloca(fileLength + 1); in poptReadConfigFile()
130 end = (file + fileLength); in poptReadConfigFile()
/external/webkit/Source/WebKit/chromium/src/
DWebHTTPBody.cpp79 result.fileLength = 0; in elementAt()
93 result.fileLength = element.m_fileLength; in elementAt()
125 …endFileRange(const WebString& filePath, long long fileStart, long long fileLength, double modifica… in appendFileRange() argument
129 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime); in appendFileRange()
/external/icu4c/common/
Dumapfile.c235 int32_t fileLength; in uprv_mapFile() local
246 fileLength=umap_fsize(file); in uprv_mapFile()
247 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
253 p=uprv_malloc(fileLength); in uprv_mapFile()
260 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/external/icu4c/tools/toolutil/
Dunewdata.c143 uint32_t fileLength=0; in udata_finish() local
152 fileLength=T_FileStream_size(pData->file); in udata_finish()
156 fileLength-=pData->headerSize; in udata_finish()
163 return fileLength; in udata_finish()
Dpackage.cpp311 int32_t fileLength, typeEnum; in readFile() local
323 fileLength=getFileLength(file); in readFile()
324 if(ferror(file) || fileLength<=0) { in readFile()
331 length=(fileLength+0xf)&~0xf; in readFile()
339 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) { in readFile()
347 if(fileLength<length) { in readFile()
348 memset(data+fileLength, 0xaa, length-fileLength); in readFile()
1078 int32_t fileLength; in extractItem() local
1121 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1123 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
Dxmlparser.cpp170 int32_t fileLength, bytesLength, length, capacity; in parseFile() local
186 fileLength=bytesLength; in parseFile()
189 fileLength=T_FileStream_size(f); in parseFile()
270 capacity=fileLength; // estimated capacity in parseFile()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DScannerParseLargeFileBenchmarkTest.java45 static long fileLength = (8 << 21) * 12; field in ScannerParseLargeFileBenchmarkTest.MyReader
59 if (count >= fileLength) { in read()
/external/webkit/Source/WebKit/chromium/public/
DWebHTTPBody.h55 long long fileLength; // -1 means to the end of the file. member
87 …WEBKIT_API void appendFileRange(const WebString&, long long fileStart, long long fileLength, doubl…
/external/webkit/Source/WebCore/platform/network/
DFormData.h41fileLength, double expectedFileModificationTime, bool shouldGenerateFile) : m_type(encodedFile), m… in FormDataElement() argument
DFormData.cpp396 int64_t fileLength; in decode() local
397 if (!decoder.decodeInt64(fileLength)) in decode()
399 if (fileLength < fileStart) in decode()
406 element.m_fileLength = fileLength; in decode()
/external/chromium/webkit/glue/
Dweburlloader_impl.cc465 if (element.fileLength == -1) { in Start()
472 static_cast<uint64>(element.fileLength), in Start()
Dglue_serialize.cc241 WriteInteger64(element.fileLength, obj); in WriteFormData()