Lines Matching refs:error
68 int error; in zip_close() local
81 _zip_error_set_from_source(&za->error, za->src); in zip_close()
95 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in zip_close()
109 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in zip_close()
118 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in zip_close()
123 _zip_error_set_from_source(&za->error, za->src); in zip_close()
128 error = 0; in zip_close()
142 zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in zip_close()
143 error = 1; in zip_close()
150 error = 1; in zip_close()
155 error = 1; in zip_close()
166 error = 1; in zip_close()
173 error = 1; in zip_close()
187 error = 1; in zip_close()
190 if ((offset=_zip_file_get_offset(za, i, &za->error)) == 0) { in zip_close()
191 error = 1; in zip_close()
195 _zip_error_set_from_source(&za->error, za->src); in zip_close()
196 error = 1; in zip_close()
200 error = 1; in zip_close()
206 if (!error) { in zip_close()
208 error = 1; in zip_close()
213 if (!error) { in zip_close()
215 _zip_error_set_from_source(&za->error, za->src); in zip_close()
216 error = 1; in zip_close()
220 if (error) { in zip_close()
242 _zip_error_set_from_source(&za->error, src); in add_data()
295 zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); in add_data()
317 zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); in add_data()
355 _zip_error_set_from_source(&za->error, za->src); in add_data()
360 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in add_data()
380 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in add_data()
386 _zip_error_set_from_source(&za->error, za->src); in add_data()
402 if (_zip_read(za->src, buf, n, &za->error) < 0) { in copy_data()
425 _zip_error_set_from_source(&za->error, src); in copy_source()
438 _zip_error_set_from_source(&za->error, src); in copy_source()