Lines Matching refs:za
43 _zip_source_zip_new(struct zip *za, struct zip *srcza, zip_uint64_t srcidx, zip_flags_t flags, in _zip_source_zip_new() argument
52 if (za == NULL) in _zip_source_zip_new()
56 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
62 _zip_error_set(&za->error, ZIP_ER_CHANGED, 0); in _zip_source_zip_new()
67 _zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); in _zip_source_zip_new()
75 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
81 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_source_zip_new()
88 _zip_error_set(&za->error, ZIP_ER_NOPASSWD, 0); in _zip_source_zip_new()
92 _zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); in _zip_source_zip_new()
101 _zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); in _zip_source_zip_new()
107 if ((offset=_zip_file_get_offset(srcza, srcidx, &za->error)) == 0) in _zip_source_zip_new()
111 if ((src=zip_source_buffer(za, NULL, 0, 0)) == NULL) in _zip_source_zip_new()
125 …if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset+start, (zip_int64_t)st2.size, 0, &st2))… in _zip_source_zip_new()
130 …if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset, (zip_int64_t)st.comp_size, 0, &st)) ==… in _zip_source_zip_new()
135 if ((s2=enc_impl(za, src, st.encryption_method, 0, password)) == NULL) { in _zip_source_zip_new()
143 if ((s2=comp_impl(za, src, st.comp_method, 0)) == NULL) { in _zip_source_zip_new()
153 if ((s2=zip_source_crc(za, src, 1)) == NULL) { in _zip_source_zip_new()
162 if ((s2=zip_source_window(za, src, start, len ? len : st.size-start)) == NULL) { in _zip_source_zip_new()