Searched defs:fileLength (Results 1 - 11 of 11) sorted by relevance

/external/oprofile/libpopt/
H A Dpoptconfig.c102 off_t fileLength; local
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/webkit/WebKit/chromium/public/
H A DWebHTTPBody.h55 long long fileLength; // -1 means to the end of the file. member in struct:WebKit::WebHTTPBody::Element
85 // Passing -1 to fileLength means to the end of the file.
86 WEBKIT_API void appendFile(const WebString&, long long fileStart, long long fileLength, const WebFileInfo&);
/external/webkit/WebKit/chromium/src/
H A DWebHTTPBody.cpp83 result.fileLength = 0;
91 result.fileLength = -1; // FIXME: to be set from FormData.
116 void WebHTTPBody::appendFile(const WebString& filePath, long long fileStart, long long fileLength, const WebFileInfo& fileInfo) argument
/external/chromium/third_party/icu/source/tools/toolutil/
H A Dunewdata.c142 uint32_t fileLength=0; local
151 fileLength=T_FileStream_size(pData->file);
155 fileLength-=pData->headerSize;
162 return fileLength;
H A Dxmlparser.cpp170 int32_t fileLength, bytesLength, length, capacity; local
186 fileLength=bytesLength;
189 fileLength=T_FileStream_size(f);
270 capacity=fileLength; // estimated capacity
H A Dpackage.cpp307 int32_t fileLength, typeEnum; local
319 fileLength=getFileLength(file);
320 if(ferror(file) || fileLength<=0) {
327 length=(fileLength+0xf)&~0xf;
335 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) {
343 if(fileLength<length) {
344 memset(data+fileLength, 0xaa, length-fileLength);
1066 int32_t fileLength; local
[all...]
/external/icu4c/tools/toolutil/
H A Dunewdata.c143 uint32_t fileLength=0; local
152 fileLength=T_FileStream_size(pData->file);
156 fileLength-=pData->headerSize;
163 return fileLength;
H A Dxmlparser.cpp170 int32_t fileLength, bytesLength, length, capacity; local
186 fileLength=bytesLength;
189 fileLength=T_FileStream_size(f);
270 capacity=fileLength; // estimated capacity
H A Dpackage.cpp307 int32_t fileLength, typeEnum; local
319 fileLength=getFileLength(file);
320 if(ferror(file) || fileLength<=0) {
327 length=(fileLength+0xf)&~0xf;
335 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) {
343 if(fileLength<length) {
344 memset(data+fileLength, 0xaa, length-fileLength);
1071 int32_t fileLength; local
[all...]
/external/chromium/third_party/icu/source/common/
H A Dumapfile.c262 int32_t fileLength; local
273 fileLength=umap_fsize(file);
274 if(ferror(file) || fileLength<=20) {
280 p=uprv_malloc(fileLength);
287 if(fileLength!=fread(p, 1, fileLength, file)) {
/external/icu4c/common/
H A Dumapfile.c238 int32_t fileLength; local
249 fileLength=umap_fsize(file);
250 if(ferror(file) || fileLength<=20) {
256 p=uprv_malloc(fileLength);
263 if(fileLength!=fread(p, 1, fileLength, file)) {

Completed in 366 milliseconds