Searched refs:fileLength (Results 1 – 6 of 6) sorted by relevance
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
D | RandomAccessFileInputStream.java | 60 private final long fileLength; field in RandomAccessFileInputStream 85 fileLength = file.length(); in RandomAccessFileInputStream() 113 if (rangeOffset + rangeLength > fileLength) { in setRange() 221 return fileLength; in length()
|
/external/icu/icu4c/source/common/ |
D | umapfile.c | 236 int32_t fileLength; in uprv_mapFile() local 247 fileLength=umap_fsize(file); in uprv_mapFile() 248 if(ferror(file) || fileLength<=20) { in uprv_mapFile() 254 p=uprv_malloc(fileLength); in uprv_mapFile() 261 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | unewdata.c | 145 uint32_t fileLength=0; in udata_finish() local 154 fileLength=T_FileStream_size(pData->file); in udata_finish() 158 fileLength-=pData->headerSize; in udata_finish() 165 return fileLength; in udata_finish()
|
D | package.cpp | 310 int32_t fileLength, typeEnum; in readFile() local 322 fileLength=getFileLength(file); in readFile() 323 if(ferror(file) || fileLength<=0) { in readFile() 330 length=(fileLength+0xf)&~0xf; in readFile() 339 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { in readFile() 346 if(fileLength<length) { in readFile() 347 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); in readFile() 1132 int32_t fileLength; in extractItem() local 1175 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem() 1177 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
|
D | xmlparser.cpp | 172 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 188 fileLength=bytesLength; in parseFile() 191 fileLength=T_FileStream_size(f); in parseFile() 272 capacity=fileLength; // estimated capacity in parseFile()
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | CommandLine.java | 247 long fileLength = f.length(); in readUtf8FileFully() local 249 if (fileLength == 0) { in readUtf8FileFully() 253 if (fileLength > sizeLimit) { in readUtf8FileFully() 254 Log.w(TAG, "File " + fileName + " length " + fileLength + " exceeds limit " in readUtf8FileFully() 260 char[] buffer = new char[(int) fileLength]; in readUtf8FileFully()
|