Lines Matching refs:e
39 struct zip_entry *e; in zip_file_set_external_attributes() local
52 e = za->entry+idx; in zip_file_set_external_attributes()
54 unchanged_opsys = e->orig ? e->orig->version_madeby>>8 : ZIP_OPSYS_DEFAULT; in zip_file_set_external_attributes()
55 unchanged_attributes = e->orig ? e->orig->ext_attrib : ZIP_EXT_ATTRIB_DEFAULT; in zip_file_set_external_attributes()
60 if (e->changes == NULL) { in zip_file_set_external_attributes()
61 if ((e->changes=_zip_dirent_clone(e->orig)) == NULL) { in zip_file_set_external_attributes()
66 e->changes->version_madeby = (opsys << 8) | (e->changes->version_madeby & 0xff); in zip_file_set_external_attributes()
67 e->changes->ext_attrib = attributes; in zip_file_set_external_attributes()
68 e->changes->changed |= ZIP_DIRENT_ATTRIBUTES; in zip_file_set_external_attributes()
70 else if (e->changes) { in zip_file_set_external_attributes()
71 e->changes->changed &= ~ZIP_DIRENT_ATTRIBUTES; in zip_file_set_external_attributes()
72 if (e->changes->changed == 0) { in zip_file_set_external_attributes()
73 _zip_dirent_free(e->changes); in zip_file_set_external_attributes()
74 e->changes = NULL; in zip_file_set_external_attributes()
77 e->changes->version_madeby = (unchanged_opsys << 8) | (e->changes->version_madeby & 0xff); in zip_file_set_external_attributes()
78 e->changes->ext_attrib = unchanged_attributes; in zip_file_set_external_attributes()