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

/libcore/ojluni/src/main/java/java/util/zip/
H A DZipFile.java169 private ZipCoder zc; field in class:ZipFile
235 this.zc = ZipCoder.get(charset);
321 return zc.toString(bcomm, bcomm.length);
340 jzentry = getEntry(jzfile, zc.getBytes(name), true);
382 if (!zc.isUTF8() && (entry.flag & EFS) != 0) {
384 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true);
387 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true);
597 if (!zc.isUTF8() && (e.flag & EFS) != 0) {
598 e.name = zc.toStringUTF8(bname, bname.length);
600 e.name = zc
[all...]
H A DZipInputStream.java61 private ZipCoder zc; field in class:ZipInputStream
107 this.zc = ZipCoder.get(charset);
310 ? zc.toStringUTF8(b, len)
311 : zc.toString(b, len));
H A DZipOutputStream.java84 private final ZipCoder zc; field in class:ZipOutputStream
138 this.zc = ZipCoder.get(charset);
150 this.comment = zc.getBytes(comment);
236 if (zc.isUTF8())
428 byte[] nameBytes = zc.getBytes(e.name);
528 byte[] nameBytes = zc.getBytes(e.name);
554 commentBytes = zc.getBytes(e.comment);
/libcore/ojluni/src/main/native/
H A Dzip_util.c1024 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) argument
1038 cen = (char*) zip->maddr + zc->cenpos - zip->offset;
1043 cen = readCENHeader(zip, zc->cenpos, AMPLE_CEN_HEADER_SIZE);
1045 cen = sequentialAccessReadCENHeader(zip, zc->cenpos);
1222 jzcell *zc = &zip->entries[idx]; local
1224 if (zc->hash == hsh) {
1234 ze = newEntry(zip, zc, ACCESS_RANDOM);
1246 idx = zc->next;

Completed in 79 milliseconds