Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c271 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { in verifyEND() argument
278 jlong cenpos = endpos - ENDSIZ(endbuf); in verifyEND()
373 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64() argument
377 if (readFullyAt(zip->zfd, loc64, ZIP64_LOCHDR, endpos - ZIP64_LOCHDR) == -1) { in findEND64()
549 jlong endpos, end64pos, cenpos, cenlen, cenoff; in readCEN() local
567 if ((endpos = findEND(zip, endbuf)) == -1) in readCEN()
570 if (endpos == 0) return 0; /* only END header present */ in readCEN()
580 if ((end64pos = findEND64(zip, end64buf, endpos)) != -1) { in readCEN()
584 endpos = end64pos; in readCEN()
589 if (cenlen > endpos) { in readCEN()
[all …]