Searched refs:zc (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 204 private ZipCoder zc; field in ZipFile 262 this.zc = ZipCoder.get(charset); in ZipFile() 340 return zc.toString(bcomm, bcomm.length); in getComment() 359 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry() 401 if (!zc.isUTF8() && (entry.flag & EFS) != 0) { in getInputStream() 408 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream() 412 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true); in getInputStream() 623 if (!zc.isUTF8() && (e.flag & EFS) != 0) { in getZipEntry() 624 e.name = zc.toStringUTF8(bname, bname.length); in getZipEntry() 626 e.name = zc.toString(bname, bname.length); in getZipEntry() [all …]
|
D | ZipInputStream.java | 61 private ZipCoder zc; field in ZipInputStream 107 this.zc = ZipCoder.get(charset); in ZipInputStream() 317 ? zc.toStringUTF8(b, len) in readLOC() 318 : zc.toString(b, len)); in readLOC()
|
D | ZipOutputStream.java | 84 private final ZipCoder zc; field in ZipOutputStream 138 this.zc = ZipCoder.get(charset); in ZipOutputStream() 150 this.comment = zc.getBytes(comment); in setComment() 236 if (zc.isUTF8()) in putNextEntry() 424 byte[] nameBytes = zc.getBytes(e.name); in writeLOC() 524 byte[] nameBytes = zc.getBytes(e.name); in writeCEN() 550 commentBytes = zc.getBytes(e.comment); in writeCEN()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipInputStream.java | 111 private java.util.zip.ZipCoder zc; field in ZipInputStream
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 1026 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) in newEntry() argument 1040 cen = (char*) zip->maddr + zc->cenpos - zip->offset; in newEntry() 1045 cen = readCENHeader(zip, zc->cenpos, AMPLE_CEN_HEADER_SIZE); in newEntry() 1047 cen = sequentialAccessReadCENHeader(zip, zc->cenpos); in newEntry() 1224 jzcell *zc = &zip->entries[idx]; in ZIP_GetEntry2() local 1226 if (zc->hash == hsh) { in ZIP_GetEntry2() 1236 ze = newEntry(zip, zc, ACCESS_RANDOM); in ZIP_GetEntry2() 1248 idx = zc->next; in ZIP_GetEntry2()
|