Lines Matching refs:error
40 _zip_read(zip_source_t *src, zip_uint8_t *b, zip_uint64_t length, zip_error_t *error) in _zip_read() argument
45 zip_error_set(error, ZIP_ER_INTERNAL, 0); in _zip_read()
50 _zip_error_set_from_source(error, src); in _zip_read()
55 zip_error_set(error, ZIP_ER_EOF, 0); in _zip_read()
64 …ip_read_data(zip_buffer_t *buffer, zip_source_t *src, size_t length, bool nulp, zip_error_t *error) in _zip_read_data() argument
74 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_read_data()
82 zip_error_set(error, ZIP_ER_MEMORY, 0); in _zip_read_data()
89 if (_zip_read(src, r, length, error) < 0) { in _zip_read_data()
109 …ad_string(zip_buffer_t *buffer, zip_source_t *src, zip_uint16_t len, bool nulp, zip_error_t *error) in _zip_read_string() argument
114 if ((raw=_zip_read_data(buffer, src, len, nulp, error)) == NULL) in _zip_read_string()
117 s = _zip_string_new(raw, len, ZIP_FL_ENC_GUESS, error); in _zip_read_string()
129 _zip_error_set_from_source(&za->error, za->src); in _zip_write()
133 zip_error_set(&za->error, ZIP_ER_WRITE, EINTR); in _zip_write()