Home
last modified time | relevance | path

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

/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DRandomAccessFileInputStream.java60 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/
Dumapfile.c234 int32_t fileLength; in uprv_mapFile() local
245 fileLength=umap_fsize(file); in uprv_mapFile()
246 if(ferror(file) || fileLength<=20) { in uprv_mapFile()
252 p=uprv_malloc(fileLength); in uprv_mapFile()
259 if(fileLength!=fread(p, 1, fileLength, file)) { in uprv_mapFile()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DZipResourceFile.java277 long fileLength = f.length(); in addPatchFile() local
279 if (fileLength < kEOCDLen) { in addPatchFile()
285 if (readAmount > fileLength) in addPatchFile()
286 readAmount = fileLength; in addPatchFile()
311 long searchStart = fileLength - readAmount; in addPatchFile()
353 if (dirOffset + dirSize > fileLength) { in addPatchFile()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DDexFileFactory.java96 long fileLength = zipEntry.getSize(); in loadDexFile() local
97 if (fileLength < 40) { in loadDexFile()
100 } else if (fileLength > Integer.MAX_VALUE) { in loadDexFile()
104 byte[] dexBytes = new byte[(int)fileLength]; in loadDexFile()
/external/icu/icu4c/source/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.cpp308 int32_t fileLength, typeEnum; in readFile() local
320 fileLength=getFileLength(file); in readFile()
321 if(ferror(file) || fileLength<=0) { in readFile()
328 length=(fileLength+0xf)&~0xf; in readFile()
337 if(fileLength!=(int32_t)fread(data.getAlias(), 1, fileLength, file)) { in readFile()
344 if(fileLength<length) { in readFile()
345 memset(data.getAlias()+fileLength, 0xaa, length-fileLength); in readFile()
1130 int32_t fileLength; in extractItem() local
1173 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1175 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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/
DFileWrapper.java173 int fileLength = (int)length(); in readString() local
174 if (fileLength == 0) fileLength = 512; in readString()
175 StringBuilder output = new StringBuilder(fileLength); in readString()