Lines Matching refs:j
74 int i, j, error; in zip_close() local
148 for (i=j=0; i<za->nentry; i++) { in zip_close()
152 filelist[j].idx = i; in zip_close()
153 filelist[j].name = zip_get_name(za, i, 0); in zip_close()
154 j++; in zip_close()
164 for (j=0; j<survivors; j++) { in zip_close()
165 i = filelist[j].idx; in zip_close()
176 memcpy(cd->entry+j, &de, sizeof(cd->entry[j])); in zip_close()
183 cd->entry[j].filename = "-"; in zip_close()
184 cd->entry[j].filename_len = 1; in zip_close()
189 cd->entry[j].filename = za->cdir->entry[i].filename; in zip_close()
190 cd->entry[j].filename_len = de.filename_len; in zip_close()
206 memcpy(cd->entry+j, za->cdir->entry+i, sizeof(cd->entry[j])); in zip_close()
212 cd->entry[j].bitflags &= ~ZIP_GPBF_DATA_DESCRIPTOR; in zip_close()
223 cd->entry[j].filename = za->entry[i].ch_filename; in zip_close()
224 cd->entry[j].filename_len = de.filename_len; in zip_close()
246 cd->entry[j].comment = za->entry[i].ch_comment; in zip_close()
247 cd->entry[j].comment_len = za->entry[i].ch_comment_len; in zip_close()
250 cd->entry[j].offset = ftello(out); in zip_close()
273 cd->entry[j].last_mod = de.last_mod; in zip_close()
274 cd->entry[j].comp_method = de.comp_method; in zip_close()
275 cd->entry[j].comp_size = de.comp_size; in zip_close()
276 cd->entry[j].uncomp_size = de.uncomp_size; in zip_close()
277 cd->entry[j].crc = de.crc; in zip_close()
285 if (copy_data(za->zp, cd->entry[j].comp_size, out, in zip_close()