Searched refs:csize (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipOutputStream.java | 210 if (e.size == -1 || e.csize == -1 || e.crc == -1) in putNextEntry() 218 e.size = e.csize; in putNextEntry() 219 } else if (e.csize == -1) { in putNextEntry() 220 e.csize = e.size; in putNextEntry() 221 } else if (e.size != e.csize) { in putNextEntry() 266 if (e.csize != def.getBytesWritten()) { in closeEntry() 269 e.csize + " but got " + def.getBytesWritten() + " bytes)"); in closeEntry() 279 e.csize = def.getBytesWritten(); in closeEntry() 284 written += e.csize; in closeEntry() 409 if (e.csize >= ZIP64_MAGICVAL || e.size >= ZIP64_MAGICVAL) { in writeLOC() [all …]
|
D | ZipEntry.java | 55 long csize = -1; // compressed size of entry data field in ZipEntry 85 this.csize = compressedSize; in ZipEntry() 150 csize = e.csize; in ZipEntry() 388 return csize; in getCompressedSize() 398 public void setCompressedSize(long csize) { in setCompressedSize() argument 399 this.csize = csize; in setCompressedSize() 511 csize = get64(extra, off + 8); in setExtra0()
|
D | ZipInputStream.java | 326 e.csize = get32(tmpbuf, LOCSIZ); in readLOC() 334 e.csize == ZIP64_MAGICVAL || e.size == ZIP64_MAGICVAL); in readLOC() 367 e.csize = get64(tmpbuf, ZIP64_EXTSIZ - ZIP64_EXTCRC); in readEnd() 373 e.csize = get64(tmpbuf, ZIP64_EXTSIZ); in readEnd() 381 e.csize = get32(tmpbuf, EXTSIZ - EXTCRC); in readEnd() 387 e.csize = get32(tmpbuf, EXTSIZ); in readEnd() 397 if (e.csize != inf.getBytesRead()) { in readEnd() 399 "invalid entry compressed size (expected " + e.csize + in readEnd()
|
D | ZipFile.java | 600 e.csize = getEntryCSize(jzentry); in getZipEntry()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 2061 int csize = 0; in writeBytes() local 2063 if (cpos >= csize) { in writeBytes() 2065 csize = Math.min(endoff - off, CHAR_BUF_SIZE); in writeBytes() 2066 s.getChars(off, off + csize, cbuf, 0); in writeBytes() 2071 int n = Math.min(csize - cpos, MAX_BLOCK_SIZE - pos); in writeBytes() 2083 int csize = Math.min(endoff - off, CHAR_BUF_SIZE); in writeChars() local 2084 s.getChars(off, off + csize, cbuf, 0); in writeChars() 2085 writeChars(cbuf, 0, csize); in writeChars() 2086 off += csize; in writeChars() 2223 int csize = Math.min(len - off, CHAR_BUF_SIZE); in getUTFLength() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipOutputStreamTest.java | 154 long csize = ze.getCompressedSize(); in test_setLevelI() local 159 assertTrue("setLevel failed", csize <= ze.getCompressedSize()); in test_setLevelI() 175 long csize = ze.getCompressedSize(); in test_setMethodI() local 180 assertTrue("setLevel failed", csize >= ze.getCompressedSize()); in test_setMethodI()
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 1053 ze->csize = (CENHOW(cen) == STORED) ? 0 : CENSIZ(cen); in newEntry() 1071 if (ze->csize == ZIP64_MAGICVAL || ze->size == ZIP64_MAGICVAL || in newEntry() 1086 if (ze->csize == ZIP64_MAGICVAL) { in newEntry() 1089 ze->csize = LL(extra, off); in newEntry() 1370 entry_size = (entry->csize != 0) ? entry->csize : entry->size; in ZIP_Read() 1422 jlong count = entry->csize; in InflateFully() 1509 if (entry->csize == 0) { in ZIP_ReadEntry()
|
D | java_util_zip_ZipFile.c | 214 return ze->csize != 0 ? DEFLATED : STORED; in ZipFile_getEntryMethod() 228 return ze->csize != 0 ? ze->csize : ze->size; in ZipFile_getEntryCSize()
|
D | zip_util.h | 164 jlong csize; /* size of compressed data (zero if uncompressed) */ member
|