Lines Matching refs:nentry
129 * cdir->nentry)) == NULL) { in _zip_open()
134 for (i=0; i<cdir->nentry; i++) in _zip_open()
174 int i, comlen, nentry; in _zip_readcdir() local
199 nentry = _zip_read2(&cdp); in _zip_readcdir()
201 if ((cd=_zip_cdir_new(nentry, error)) == NULL) in _zip_readcdir()
212 cd->nentry = 0; in _zip_readcdir()
217 if ((comlen < cd->comment_len) || (cd->nentry != i)) { in _zip_readcdir()
219 cd->nentry = 0; in _zip_readcdir()
225 cd->nentry = 0; in _zip_readcdir()
234 cd->nentry = 0; in _zip_readcdir()
258 cd->nentry = 0; in _zip_readcdir()
266 while (i<cd->nentry && left > 0) { in _zip_readcdir()
268 cd->nentry = i; in _zip_readcdir()
274 if (i == cd->nentry && left > 0) { in _zip_readcdir()
277 if (_zip_cdir_grow(cd, cd->nentry+ZIP_UINT16_MAX, error) < 0) { in _zip_readcdir()
278 cd->nentry = i; in _zip_readcdir()
285 cd->nentry = i; in _zip_readcdir()
305 if (cd->nentry) { in _zip_checkcons()
312 for (i=0; i<cd->nentry; i++) { in _zip_checkcons()