Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipConstants.java49 static final int ENDHDR = 22; // END header size field
DZipFile.java207 if (file.length() < ZipConstants.ENDHDR) { in ZipFile()
/libcore/ojluni/src/main/native/
Dzip_util.c267 static const jlong END_MAXLEN = 0xFFFF + ENDHDR;
303 const jlong minPos = minHDR - (sizeof(buf)-ENDHDR); in findEND()
306 for (pos = len - sizeof(buf); pos >= minPos; pos -= (sizeof(buf)-ENDHDR)) { in findEND()
322 for (i = sizeof(buf) - ENDHDR; i >= 0; i--) { in findEND()
327 ((pos + i + ENDHDR + ENDCOM(buf + i) == len) in findEND()
330 memcpy(endbuf, buf + i, ENDHDR); in findEND()
338 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) in findEND()
559 unsigned char endbuf[ENDHDR]; in readCEN()
560 jint endhdrlen = ENDHDR; in readCEN()
Dzip_util.h51 #define ENDHDR 22 macro