Lines Matching refs:za

41 _zip_source_zip_new(zip_t *za, zip_t *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t s…  in _zip_source_zip_new()  argument
49 if (za == NULL) in _zip_source_zip_new()
53 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
59 zip_error_set(&za->error, ZIP_ER_CHANGED, 0); in _zip_source_zip_new()
64 zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in _zip_source_zip_new()
72 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
78 zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
85 zip_error_set(&za->error, ZIP_ER_NOPASSWD, 0); in _zip_source_zip_new()
89 zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); in _zip_source_zip_new()
98 zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); in _zip_source_zip_new()
104 if ((offset=_zip_file_get_offset(srcza, srcidx, &za->error)) == 0) in _zip_source_zip_new()
108 return zip_source_buffer(za, NULL, 0, 0); in _zip_source_zip_new()
120 if ((src = _zip_source_window_new(srcza->src, offset+start, st2.size, &st2, &za->error)) == NULL) { in _zip_source_zip_new()
125 if ((src = _zip_source_window_new(srcza->src, offset, st.comp_size, &st, &za->error)) == NULL) { in _zip_source_zip_new()
138 s2 = enc_impl(za, src, st.encryption_method, 0, password); in _zip_source_zip_new()
146 s2 = comp_impl(za, src, st.comp_method, 0); in _zip_source_zip_new()
155 s2 = zip_source_crc(za, src, 1); in _zip_source_zip_new()
164 s2 = zip_source_window(za, src, start, len ? len : st.size-start); in _zip_source_zip_new()