Lines Matching refs:st
50 struct zip_stat st; in _zip_source_zip_new() local
66 if (zip_stat_index(srcza, srcidx, flags|ZIP_FL_UNCHANGED, &st) < 0) { in _zip_source_zip_new()
80 if ((start > 0 || len > 0) && (start+len < start || start+len > st.size)) { in _zip_source_zip_new()
86 if (((flags & ZIP_FL_ENCRYPTED) == 0) && (st.encryption_method != ZIP_EM_NONE)) { in _zip_source_zip_new()
91 if ((enc_impl=_zip_get_encryption_implementation(st.encryption_method)) == NULL) { in _zip_source_zip_new()
99 if (st.comp_method != ZIP_CM_STORE) { in _zip_source_zip_new()
100 if ((comp_impl=_zip_get_compression_implementation(st.comp_method)) == NULL) { in _zip_source_zip_new()
110 if (st.comp_size == 0) { in _zip_source_zip_new()
118 st2.size = len ? len : st.size-start; in _zip_source_zip_new()
121 st2.mtime = st.mtime; 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()
150 if (((flags & ZIP_FL_COMPRESSED) == 0 || st.comp_method == ZIP_CM_STORE) in _zip_source_zip_new()
151 && (len == 0 || len == st.comp_size)) { 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()