Lines Matching refs:error
44 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete()
49 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete()
57 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_delete()
77 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete_by_id()
82 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete_by_id()
90 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_delete_by_id()
114 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_get()
118 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_field_get()
144 zip_error_set(&za->error, ZIP_ER_NOENT, 0); in zip_file_extra_field_get()
156 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_get_by_id()
160 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_field_get_by_id()
167 return _zip_ef_get_by_id(de->extra_fields, lenp, ef_id, ef_idx, flags, &za->error); in zip_file_extra_field_get_by_id()
179 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_fields_count()
183 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_fields_count()
207 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_fields_count_by_id()
211 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_fields_count_by_id()
236 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
244 zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_set()
249 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
275 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
294 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
299 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_file_extra_field_set()
337 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_file_extra_field_prepare_for_change()
353 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in _zip_file_extra_field_prepare_for_change()
359 if ((e->changes->extra_fields=_zip_ef_clone(e->orig->extra_fields, &za->error)) == NULL) in _zip_file_extra_field_prepare_for_change()