Searched refs:zc (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 164 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 …]
|
D | ZipOutputStream.java | 68 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()
|
D | ZipInputStream.java | 60 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/ |
D | zip_util.c | 1021 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) in newEntry() argument 1035 cen = (char*) zip->maddr + zc->cenpos - zip->offset; in newEntry() 1040 cen = readCENHeader(zip, zc->cenpos, AMPLE_CEN_HEADER_SIZE); in newEntry() 1042 cen = sequentialAccessReadCENHeader(zip, zc->cenpos); in newEntry() 1191 jzcell *zc = &zip->entries[idx]; in ZIP_GetEntry() local 1193 if (zc->hash == hsh) { in ZIP_GetEntry() 1203 ze = newEntry(zip, zc, ACCESS_RANDOM); in ZIP_GetEntry() 1215 idx = zc->next; in ZIP_GetEntry()
|