Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c554 unsigned char *cenbuf = NULL; in readCEN() local
642 cenbuf = zip->maddr + cenpos - offset; in readCEN()
646 if ((cenbuf = malloc((size_t) cenlen)) == NULL || in readCEN()
647 (readFullyAt(zip->zfd, cenbuf, cenlen, cenpos) == -1)) in readCEN()
651 cenend = cenbuf + cenlen; in readCEN()
676 for (i = 0, cp = cenbuf; cp <= cenend - CENHDR; i++, cp += CENSIZE(cp)) { in readCEN()
685 cenpos = readCEN(zip, countCENHeaders(cenbuf, cenend)); in readCEN()
718 entries[i].cenpos = cenpos + (cp - cenbuf); in readCEN()
730 const char* cenStart = (const char *) cenbuf + cell->cenpos - cenpos; in readCEN()
761 free(cenbuf); in readCEN()