Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java164 private ZipCoder zc; field in ZipFile
217 this.zc = ZipCoder.get(charset); in ZipFile()
297 return zc.toString(bcomm, bcomm.length); in getComment()
316 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry()
358 if (!zc.isUTF8() && (entry.flag & EFS) != 0) { in getInputStream()
359 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream()
361 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true); in getInputStream()
538 if (!zc.isUTF8() && (e.flag & EFS) != 0) { in getZipEntry()
539 e.name = zc.toStringUTF8(bname, bname.length); in getZipEntry()
541 e.name = zc.toString(bname, bname.length); in getZipEntry()
[all …]
DZipOutputStream.java68 private final ZipCoder zc; field in ZipOutputStream
122 this.zc = ZipCoder.get(charset); in ZipOutputStream()
134 this.comment = zc.getBytes(comment); in setComment()
218 if (zc.isUTF8()) in putNextEntry()
412 byte[] nameBytes = zc.getBytes(e.name); in writeLOC()
486 byte[] nameBytes = zc.getBytes(e.name); in writeCEN()
496 commentBytes = zc.getBytes(e.comment); in writeCEN()
DZipInputStream.java60 private ZipCoder zc; field in ZipInputStream
104 this.zc = ZipCoder.get(charset); in ZipInputStream()
307 ? zc.toStringUTF8(b, len) in readLOC()
308 : zc.toString(b, len)); in readLOC()
/libcore/ojluni/src/main/native/
Dzip_util.c1028 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) in newEntry() argument
1042 cen = (char*) zip->maddr + zc->cenpos - zip->offset; in newEntry()
1047 cen = readCENHeader(zip, zc->cenpos, AMPLE_CEN_HEADER_SIZE); in newEntry()
1049 cen = sequentialAccessReadCENHeader(zip, zc->cenpos); in newEntry()
1198 jzcell *zc = &zip->entries[idx]; in ZIP_GetEntry() local
1200 if (zc->hash == hsh) { in ZIP_GetEntry()
1210 ze = newEntry(zip, zc, ACCESS_RANDOM); in ZIP_GetEntry()
1222 idx = zc->next; in ZIP_GetEntry()