Lines Matching refs:error

46 	_zip_error_set(&za->error, ZIP_ER_INVAL, 0);  in zip_file_extra_field_delete()
51 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete()
59 _zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_delete()
80 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete_by_id()
85 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_delete_by_id()
93 _zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_delete_by_id()
118 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_get()
122 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_field_get()
148 _zip_error_set(&za->error, ZIP_ER_NOENT, 0); in zip_file_extra_field_get()
161 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_get_by_id()
165 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_field_get_by_id()
172 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()
185 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_fields_count()
189 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_fields_count()
214 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_fields_count_by_id()
218 if ((de=_zip_get_dirent(za, idx, flags, &za->error)) == NULL) in zip_file_extra_fields_count_by_id()
244 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
252 _zip_error_set(&za->error, ZIP_ER_RDONLY, 0); in zip_file_extra_field_set()
257 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
283 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
302 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in zip_file_extra_field_set()
307 _zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_file_extra_field_set()
345 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_file_extra_field_prepare_for_change()
361 _zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in _zip_file_extra_field_prepare_for_change()
367 if ((e->changes->extra_fields=_zip_ef_clone(e->orig->extra_fields, &za->error)) == NULL) in _zip_file_extra_field_prepare_for_change()