Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipConstants.java48 static final int CENHDR = 46; // CEN header size field
/libcore/ojluni/src/main/native/
Dzip_util.c69 #define CENSIZE(cen) (CENHDR + CENNAM(cen) + CENEXT(cen) + CENCOM(cen))
531 for (i = 0; i + CENHDR <= end - beg; i += CENSIZE(beg + i)) in countCENHeaders()
671 for (i = 0, cp = cenbuf; cp <= cenend - CENHDR; i++, cp += CENSIZE(cp)) { in readCEN()
696 if (cp + CENHDR + nlen > cenend) { in readCEN()
700 const char* entryName = (const char *)cp + CENHDR; in readCEN()
707 if (addMetaName(zip, (char *)cp+CENHDR, nlen) != 0) { in readCEN()
727 const char* chainName = cenStart + CENHDR; in readCEN()
995 && (cenpos + CENHDR <= cache->pos + CENCACHE_PAGESIZE)) in sequentialAccessReadCENHeader()
1058 memcpy(ze->name, cen + CENHDR, nlen); in newEntry()
1061 char *extra = cen + CENHDR + nlen; in newEntry()
[all …]
Dzip_util.h50 #define CENHDR 46 macro