Lines Matching refs:index
41 zip_stat_index(struct zip *za, zip_uint64_t index, int flags, in zip_stat_index() argument
46 if (index >= za->nentry) { in zip_stat_index()
51 if ((name=zip_get_name(za, index, flags)) == NULL) in zip_stat_index()
56 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) { in zip_stat_index()
57 if (zip_source_stat(za->entry[index].source, st) < 0) { in zip_stat_index()
63 if (za->cdir == NULL || index >= za->cdir->nentry) { in zip_stat_index()
70 st->crc = za->cdir->entry[index].crc; in zip_stat_index()
71 st->size = za->cdir->entry[index].uncomp_size; in zip_stat_index()
72 st->mtime = za->cdir->entry[index].last_mod; in zip_stat_index()
73 st->comp_size = za->cdir->entry[index].comp_size; in zip_stat_index()
74 st->comp_method = za->cdir->entry[index].comp_method; in zip_stat_index()
75 if (za->cdir->entry[index].bitflags & ZIP_GPBF_ENCRYPTED) { in zip_stat_index()
76 if (za->cdir->entry[index].bitflags & ZIP_GPBF_STRONG_ENCRYPTION) { in zip_stat_index()
89 st->index = index; in zip_stat_index()