Lines Matching refs:za
43 zip_unchange(struct zip *za, zip_uint64_t idx) in zip_unchange() argument
45 return _zip_unchange(za, idx, 0); in zip_unchange()
51 _zip_unchange(struct zip *za, zip_uint64_t idx, int allow_duplicates) in _zip_unchange() argument
55 if (idx >= za->nentry) { in _zip_unchange()
56 _zip_error_set(&za->error, ZIP_ER_INVAL, 0); in _zip_unchange()
60 …if (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_F… in _zip_unchange()
61 i = _zip_name_locate(za, _zip_get_name(za, idx, ZIP_FL_UNCHANGED, NULL), 0, NULL); in _zip_unchange()
63 _zip_error_set(&za->error, ZIP_ER_EXISTS, 0); in _zip_unchange()
68 _zip_dirent_free(za->entry[idx].changes); in _zip_unchange()
69 za->entry[idx].changes = NULL; in _zip_unchange()
71 _zip_unchange_data(za->entry+idx); in _zip_unchange()