Home
last modified time | relevance | path

Searched refs:fileLength (Results 1 – 11 of 11) 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/icu4c/common/
Dumapfile.c238 int32_t fileLength; in uprv_mapFile() local
249 fileLength=umap_fsize(file); in uprv_mapFile()
250 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
256 p=uprv_malloc(fileLength); in uprv_mapFile()
263 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/external/chromium/third_party/icu/source/common/
Dumapfile.c262 int32_t fileLength; in uprv_mapFile() local
273 fileLength=umap_fsize(file); in uprv_mapFile()
274 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
280 p=uprv_malloc(fileLength); in uprv_mapFile()
287 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/external/webkit/WebKit/chromium/src/
DWebHTTPBody.cpp83 result.fileLength = 0; in elementAt()
91 result.fileLength = -1; // FIXME: to be set from FormData. in elementAt()
116 void WebHTTPBody::appendFile(const WebString& filePath, long long fileStart, long long fileLength, … in appendFile() argument
/external/chromium/third_party/icu/source/tools/toolutil/
Dunewdata.c142 uint32_t fileLength=0; in udata_finish() local
151 fileLength=T_FileStream_size(pData->file); in udata_finish()
155 fileLength-=pData->headerSize; in udata_finish()
162 return fileLength; in udata_finish()
Dpackage.cpp307 int32_t fileLength, typeEnum; in readFile() local
319 fileLength=getFileLength(file); in readFile()
320 if(ferror(file) || fileLength<=0) { in readFile()
327 length=(fileLength+0xf)&~0xf; in readFile()
335 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) { in readFile()
343 if(fileLength<length) { in readFile()
344 memset(data+fileLength, 0xaa, length-fileLength); in readFile()
1066 int32_t fileLength; in extractItem() local
1108 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1110 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/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.cpp307 int32_t fileLength, typeEnum; in readFile() local
319 fileLength=getFileLength(file); in readFile()
320 if(ferror(file) || fileLength<=0) { in readFile()
327 length=(fileLength+0xf)&~0xf; in readFile()
335 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) { in readFile()
343 if(fileLength<length) { in readFile()
344 memset(data+fileLength, 0xaa, length-fileLength); in readFile()
1071 int32_t fileLength; in extractItem() local
1114 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1116 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/webkit/WebKit/chromium/public/
DWebHTTPBody.h55 long long fileLength; // -1 means to the end of the file. member
86 …WEBKIT_API void appendFile(const WebString&, long long fileStart, long long fileLength, const WebF…