Lines Matching refs:flags
52 if ((def=_zip_ef_new(ef->id, ef->size, ef->data, ef->flags)) == NULL) { in _zip_ef_clone()
72 …f_delete_by_id(struct zip_extra_field *ef, zip_uint16_t id, zip_uint16_t id_idx, zip_flags_t flags) in _zip_ef_delete_by_id() argument
81 if ((ef->flags & flags & ZIP_EF_BOTH) && ((ef->id == id) || (id == ZIP_EXTRA_FIELD_ALL))) { in _zip_ef_delete_by_id()
83 ef->flags &= ~(flags & ZIP_EF_BOTH); in _zip_ef_delete_by_id()
84 if ((ef->flags & ZIP_EF_BOTH) == 0) { in _zip_ef_delete_by_id()
126 …ef, zip_uint16_t *lenp, zip_uint16_t id, zip_uint16_t id_idx, zip_flags_t flags, struct zip_error … in _zip_ef_get_by_id() argument
134 if (ef->id == id && (ef->flags & flags & ZIP_EF_BOTH)) { in _zip_ef_get_by_id()
173 tt->flags |= (from->flags & ZIP_EF_BOTH); in _zip_ef_merge()
192 _zip_ef_new(zip_uint16_t id, zip_uint16_t size, const zip_uint8_t *data, zip_flags_t flags) in _zip_ef_new() argument
200 ef->flags = flags; in _zip_ef_new()
218 _zip_ef_parse(const zip_uint8_t *data, zip_uint16_t len, zip_flags_t flags, struct zip_error *error) in _zip_ef_parse() argument
241 if ((ef2=_zip_ef_new(fid, flen, p, flags)) == NULL) { in _zip_ef_parse()
291 _zip_ef_size(const struct zip_extra_field *ef, zip_flags_t flags) in _zip_ef_size() argument
297 if (ef->flags & flags & ZIP_EF_BOTH) in _zip_ef_size()
307 _zip_ef_write(const struct zip_extra_field *ef, zip_flags_t flags, FILE *f) in _zip_ef_write() argument
310 if (ef->flags & flags & ZIP_EF_BOTH) { in _zip_ef_write()