Lines Matching refs:e
44 zip_entry_t *e; in _zip_set_name() local
84 e = za->entry+idx; in _zip_set_name()
86 if (e->orig) in _zip_set_name()
87 same_as_orig = _zip_string_equal(e->orig->filename, str); in _zip_set_name()
91 if (!same_as_orig && e->changes == NULL) { in _zip_set_name()
92 if ((e->changes=_zip_dirent_clone(e->orig)) == NULL) { in _zip_set_name()
99 …if ((new_name = _zip_string_get(same_as_orig ? e->orig->filename : str, NULL, 0, &za->error)) == N… in _zip_set_name()
104 if (e->changes) { in _zip_set_name()
105 old_str = e->changes->filename; in _zip_set_name()
107 else if (e->orig) { in _zip_set_name()
108 old_str = e->orig->filename; in _zip_set_name()
133 if (e->changes) { in _zip_set_name()
134 if (e->changes->changed & ZIP_DIRENT_FILENAME) { in _zip_set_name()
135 _zip_string_free(e->changes->filename); in _zip_set_name()
136 e->changes->changed &= ~ZIP_DIRENT_FILENAME; in _zip_set_name()
137 if (e->changes->changed == 0) { in _zip_set_name()
138 _zip_dirent_free(e->changes); in _zip_set_name()
139 e->changes = NULL; in _zip_set_name()
143 e->changes->filename = e->orig->filename; in _zip_set_name()
150 if (e->changes->changed & ZIP_DIRENT_FILENAME) { in _zip_set_name()
151 _zip_string_free(e->changes->filename); in _zip_set_name()
153 e->changes->changed |= ZIP_DIRENT_FILENAME; in _zip_set_name()
154 e->changes->filename = str; in _zip_set_name()