Lines Matching refs:idx
39 zip_file_extra_field_delete(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_flags_t flags) in zip_file_extra_field_delete() argument
53 if (_zip_get_dirent(za, idx, 0, NULL) == NULL) in zip_file_extra_field_delete()
61 if (_zip_file_extra_field_prepare_for_change(za, idx) < 0) in zip_file_extra_field_delete()
64 de = za->entry[idx].changes; in zip_file_extra_field_delete()
72 zip_file_extra_field_delete_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_… in zip_file_extra_field_delete_by_id() argument
86 if (_zip_get_dirent(za, idx, 0, NULL) == NULL) in zip_file_extra_field_delete_by_id()
94 if (_zip_file_extra_field_prepare_for_change(za, idx) < 0) in zip_file_extra_field_delete_by_id()
97 de = za->entry[idx].changes; in zip_file_extra_field_delete_by_id()
105 zip_file_extra_field_get(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_uint16_t *idp, zip_u… in zip_file_extra_field_get() argument
118 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_field_get()
122 if (_zip_read_local_ef(za, idx) < 0) in zip_file_extra_field_get()
151 zip_file_extra_field_get_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx… in zip_file_extra_field_get_by_id() argument
160 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_field_get_by_id()
164 if (_zip_read_local_ef(za, idx) < 0) in zip_file_extra_field_get_by_id()
172 zip_file_extra_fields_count(zip_t *za, zip_uint64_t idx, zip_flags_t flags) in zip_file_extra_fields_count() argument
183 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_fields_count()
187 if (_zip_read_local_ef(za, idx) < 0) in zip_file_extra_fields_count()
200 zip_file_extra_fields_count_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_flags_t flag… in zip_file_extra_fields_count_by_id() argument
211 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_fields_count_by_id()
215 if (_zip_read_local_ef(za, idx) < 0) in zip_file_extra_fields_count_by_id()
228 zip_file_extra_field_set(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, cons… in zip_file_extra_field_set() argument
240 if (_zip_get_dirent(za, idx, 0, NULL) == NULL) in zip_file_extra_field_set()
253 if (_zip_file_extra_field_prepare_for_change(za, idx) < 0) in zip_file_extra_field_set()
256 de = za->entry[idx].changes; in zip_file_extra_field_set()
332 _zip_file_extra_field_prepare_for_change(zip_t *za, zip_uint64_t idx) in _zip_file_extra_field_prepare_for_change() argument
336 if (idx >= za->nentry) { in _zip_file_extra_field_prepare_for_change()
341 e = za->entry+idx; in _zip_file_extra_field_prepare_for_change()
347 if (_zip_read_local_ef(za, idx) < 0) in _zip_file_extra_field_prepare_for_change()