Home
last modified time | relevance | path

Searched refs:zc (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java355 return res.zsrc.zc.toString(res.zsrc.comment); in getComment()
639 ZipCoder zc = res.zsrc.zipCoderForPos(pos); in getEntryName() local
640 return zc.toString(cen, pos + CENHDR, nlen); in getEntryName()
689 ZipCoder zc = res.zsrc.zipCoderForPos(pos); in getZipEntry() local
694 zc.hasTrailingSlash(cen, pos + CENHDR + nlen) && in getZipEntry()
701 name = zc.toString(cen, pos + CENHDR, nlen); in getZipEntry()
728 e.comment = zc.toString(cen, start, clen); in getZipEntry()
759 CleanableResource(ZipFile zf, ZipCoder zc, File file, int mode) throws IOException { in CleanableResource() argument
760 this(zf, zc, file, mode, false); in CleanableResource()
764 CleanableResource(ZipFile zf, ZipCoder zc, File file, in CleanableResource() argument
[all …]
DZipOutputStream.java83 private final ZipCoder zc; field in ZipOutputStream
138 this.zc = ZipCoder.get(charset); in ZipOutputStream()
151 bytes = zc.getBytes(comment); in setComment()
248 if (zc.isUTF8()) in putNextEntry()
438 byte[] nameBytes = zc.getBytes(e.name); in writeLOC()
577 byte[] nameBytes = zc.getBytes(e.name); in writeCEN()
617 commentBytes = zc.getBytes(e.comment); in writeCEN()
DZipInputStream.java64 private ZipCoder zc; field in ZipInputStream
112 this.zc = ZipCoder.get(charset); in ZipInputStream()
331 : zc.toString(b, len)); in readLOC()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipOutputStream.java158 private final java.util.zip.ZipCoder zc; field in ZipOutputStream
161 zc = null;
DZipInputStream.java111 private java.util.zip.ZipCoder zc; field in ZipInputStream
DZipFile.java228 private java.util.zip.ZipCoder zc; field in ZipFile
/libcore/ojluni/src/main/native/
Dzip_util.c1109 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) in newEntry() argument
1123 cen = (char*) zip->maddr + zc->cenpos - zip->offset; in newEntry()
1128 cen = readCENHeader(zip, zc->cenpos, AMPLE_CEN_HEADER_SIZE); in newEntry()
1130 cen = sequentialAccessReadCENHeader(zip, zc->cenpos); in newEntry()
1307 jzcell *zc = &zip->entries[idx]; in ZIP_GetEntry2() local
1309 if (zc->hash == hsh) { in ZIP_GetEntry2()
1319 ze = newEntry(zip, zc, ACCESS_RANDOM); in ZIP_GetEntry2()
1331 idx = zc->next; in ZIP_GetEntry2()