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.java204 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 …]
DZipOutputStream.java84 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()
DZipInputStream.java61 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()
/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.c1026 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()