Searched refs:cenbuf (Results 1 – 1 of 1) sorted by relevance
552 unsigned char *cenbuf = NULL; in readCEN() local640 cenbuf = zip->maddr + cenpos - offset; in readCEN()644 if ((cenbuf = malloc((size_t) cenlen)) == NULL || in readCEN()645 (readFullyAt(zip->zfd, cenbuf, cenlen, cenpos) == -1)) in readCEN()649 cenend = cenbuf + cenlen; in readCEN()671 for (i = 0, cp = cenbuf; cp <= cenend - CENHDR; i++, cp += CENSIZE(cp)) { in readCEN()680 cenpos = readCEN(zip, countCENHeaders(cenbuf, cenend)); in readCEN()713 entries[i].cenpos = cenpos + (cp - cenbuf); in readCEN()725 const char* cenStart = (const char *) cenbuf + cell->cenpos - cenpos; in readCEN()756 free(cenbuf); in readCEN()