Searched refs:cenbuf (Results 1 – 1 of 1) sorted by relevance
562 unsigned char *cenbuf = NULL; in readCEN() local650 cenbuf = zip->maddr + cenpos - offset; in readCEN()654 if ((cenbuf = malloc((size_t) cenlen)) == NULL || in readCEN()655 (readFullyAt(zip->zfd, cenbuf, cenlen, cenpos) == -1)) in readCEN()659 cenend = cenbuf + cenlen; in readCEN()681 for (i = 0, cp = cenbuf; cp <= cenend - CENHDR; i++, cp += CENSIZE(cp)) { in readCEN()690 cenpos = readCEN(zip, countCENHeaders(cenbuf, cenend)); in readCEN()723 entries[i].cenpos = cenpos + (cp - cenbuf); in readCEN()735 const char* cenStart = (const char *) cenbuf + cell->cenpos - cenpos; in readCEN()766 free(cenbuf); in readCEN()