Searched refs:endpos (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 281 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { in verifyEND() argument 288 jlong cenpos = endpos - ENDSIZ(endbuf); in verifyEND() 383 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64() argument 387 if (readFullyAt(zip->zfd, loc64, ZIP64_LOCHDR, endpos - ZIP64_LOCHDR) == -1) { in findEND64() 559 jlong endpos, end64pos, cenpos, cenlen, cenoff; in readCEN() local 577 if ((endpos = findEND(zip, endbuf)) == -1) in readCEN() 580 if (endpos == 0) return 0; /* only END header present */ in readCEN() 590 if ((end64pos = findEND64(zip, end64buf, endpos)) != -1) { in readCEN() 594 endpos = end64pos; in readCEN() 599 if (cenlen > endpos) { in readCEN() [all …]
|