Searched refs:csize (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipOutputStream.java | 192 if (e.size == -1 || e.csize == -1 || e.crc == -1) in putNextEntry() 200 e.size = e.csize; in putNextEntry() 201 } else if (e.csize == -1) { in putNextEntry() 202 e.csize = e.size; in putNextEntry() 203 } else if (e.size != e.csize) { in putNextEntry() 248 if (e.csize != def.getBytesWritten()) { in closeEntry() 251 e.csize + " but got " + def.getBytesWritten() + " bytes)"); in closeEntry() 261 e.csize = def.getBytesWritten(); in closeEntry() 266 written += e.csize; in closeEntry() 393 if (e.csize >= ZIP64_MAGICVAL || e.size >= ZIP64_MAGICVAL) { in writeLOC() [all …]
|
D | ZipEntry.java | 43 long csize = -1; // compressed size of entry data field in ZipEntry 69 this.csize = compressedSize; in ZipEntry() 108 csize = e.csize; in ZipEntry() 186 return csize; in getCompressedSize() 194 public void setCompressedSize(long csize) { in setCompressedSize() argument 195 this.csize = csize; in setCompressedSize()
|
D | ZipInputStream.java | 323 e.csize = get32(tmpbuf, LOCSIZ); in readLOC() 332 if (e.csize == ZIP64_MAGICVAL || e.size == ZIP64_MAGICVAL) { in readLOC() 348 e.csize = get64(bb, off + 8); in readLOC() 386 e.csize = get64(tmpbuf, ZIP64_EXTSIZ - ZIP64_EXTCRC); in readEnd() 392 e.csize = get64(tmpbuf, ZIP64_EXTSIZ); in readEnd() 400 e.csize = get32(tmpbuf, EXTSIZ - EXTCRC); in readEnd() 406 e.csize = get32(tmpbuf, EXTSIZ); in readEnd() 416 if (e.csize != inf.getBytesRead()) { in readEnd() 418 "invalid entry compressed size (expected " + e.csize + in readEnd()
|
D | ZipFile.java | 547 e. csize = getEntryCSize(jzentry); in getZipEntry() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipOutputStreamTest.java | 139 long csize = ze.getCompressedSize(); in test_setLevelI() local 144 assertTrue("setLevel failed", csize <= ze.getCompressedSize()); in test_setLevelI() 160 long csize = ze.getCompressedSize(); in test_setMethodI() local 165 assertTrue("setLevel failed", csize >= ze.getCompressedSize()); in test_setMethodI()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 2048 int csize = 0; in writeBytes() local 2050 if (cpos >= csize) { in writeBytes() 2052 csize = Math.min(endoff - off, CHAR_BUF_SIZE); in writeBytes() 2053 s.getChars(off, off + csize, cbuf, 0); in writeBytes() 2058 int n = Math.min(csize - cpos, MAX_BLOCK_SIZE - pos); in writeBytes() 2070 int csize = Math.min(endoff - off, CHAR_BUF_SIZE); in writeChars() local 2071 s.getChars(off, off + csize, cbuf, 0); in writeChars() 2072 writeChars(cbuf, 0, csize); in writeChars() 2073 off += csize; in writeChars() 2210 int csize = Math.min(len - off, CHAR_BUF_SIZE); in getUTFLength() local [all …]
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 1051 ze->csize = (CENHOW(cen) == STORED) ? 0 : CENSIZ(cen); in newEntry() 1068 if (ze->csize == ZIP64_MAGICVAL || ze->size == ZIP64_MAGICVAL || in newEntry() 1083 if (ze->csize == ZIP64_MAGICVAL) { in newEntry() 1086 ze->csize = LL(extra, off); in newEntry() 1363 jlong entry_size = (entry->csize != 0) ? entry->csize : entry->size; in ZIP_Read() 1419 jlong count = entry->csize; in InflateFully() 1500 if (entry->csize == 0) { in ZIP_ReadEntry()
|
D | java_util_zip_ZipFile.c | 218 return ze->csize != 0 ? DEFLATED : STORED; in ZipFile_getEntryMethod() 232 return ze->csize != 0 ? ze->csize : ze->size; in ZipFile_getEntryCSize()
|
D | zip_util.h | 163 jlong csize; /* size of compressed data (zero if uncompressed) */ member
|