Lines Matching refs:nentry
61 for (i=0; i<cd->nentry; i++) in _zip_cdir_free()
71 _zip_cdir_grow(struct zip_cdir *cd, int nentry, struct zip_error *error) in _zip_cdir_grow() argument
75 if (nentry < cd->nentry) { in _zip_cdir_grow()
81 realloc(cd->entry, sizeof(*(cd->entry))*nentry))) == NULL) { in _zip_cdir_grow()
86 cd->nentry = nentry; in _zip_cdir_grow()
95 _zip_cdir_new(int nentry, struct zip_error *error) in _zip_cdir_new() argument
104 if ((cd->entry=(struct zip_dirent *)malloc(sizeof(*(cd->entry))*nentry)) in _zip_cdir_new()
113 cd->nentry = nentry; in _zip_cdir_new()
130 for (i=0; i<cd->nentry; i++) { in _zip_cdir_write()
140 _zip_write2((unsigned short)cd->nentry, fp); in _zip_cdir_write()
141 _zip_write2((unsigned short)cd->nentry, fp); in _zip_cdir_write()