Searched refs:endpos (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 271 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { in verifyEND() argument 278 jlong cenpos = endpos - ENDSIZ(endbuf); in verifyEND() 374 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64() argument 378 if (readFullyAt(zip->zfd, loc64, ZIP64_LOCHDR, endpos - ZIP64_LOCHDR) == -1) { in findEND64() 551 jlong endpos, end64pos, cenpos, cenlen, cenoff; in readCEN() local 569 if ((endpos = findEND(zip, endbuf)) == -1) in readCEN() 572 if (endpos == 0) return 0; /* only END header present */ in readCEN() 582 if ((end64pos = findEND64(zip, end64buf, endpos)) != -1) { in readCEN() 586 endpos = end64pos; in readCEN() 591 if (cenlen > endpos) { in readCEN() [all …]
|