Lines Matching refs:src
55 _zip_stat_merge(zip_stat_t *dst, const zip_stat_t *src, zip_error_t *error) in _zip_stat_merge() argument
58 if (src->valid & ZIP_STAT_INDEX) { in _zip_stat_merge()
59 dst->index = src->index; in _zip_stat_merge()
61 if (src->valid & ZIP_STAT_SIZE) { in _zip_stat_merge()
62 dst->size = src->size; in _zip_stat_merge()
64 if (src->valid & ZIP_STAT_COMP_SIZE) { in _zip_stat_merge()
65 dst->comp_size = src->comp_size; in _zip_stat_merge()
67 if (src->valid & ZIP_STAT_MTIME) { in _zip_stat_merge()
68 dst->mtime = src->mtime; in _zip_stat_merge()
70 if (src->valid & ZIP_STAT_CRC) { in _zip_stat_merge()
71 dst->crc = src->crc; in _zip_stat_merge()
73 if (src->valid & ZIP_STAT_COMP_METHOD) { in _zip_stat_merge()
74 dst->comp_method = src->comp_method; in _zip_stat_merge()
76 if (src->valid & ZIP_STAT_ENCRYPTION_METHOD) { in _zip_stat_merge()
77 dst->encryption_method = src->encryption_method; in _zip_stat_merge()
79 if (src->valid & ZIP_STAT_FLAGS) { in _zip_stat_merge()
80 dst->flags = src->flags; in _zip_stat_merge()
82 dst->valid |= src->valid; in _zip_stat_merge()