Searched defs:hash_file (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib-fs/
H A Dfs-sis-common.c35 struct fs_file *hash_file; local
44 hash_file = fs_file_init_with_event(super_file->fs,
47 if (fs_stat(hash_file, &st2) == 0 &&
50 if (fs_delete(hash_file) < 0) {
51 e_error(hash_file->event, "%s",
52 fs_last_error(hash_file->fs));
55 fs_file_deinit(&hash_file);
H A Dfs-sis.c22 struct fs_file *hash_file; member in struct:sis_fs_file
109 file->hash_file = fs_file_init_parent(_file, file->hash_path,
112 file->hash_input = fs_read_stream(file->hash_file, IO_BLOCK_SIZE);
129 fs_file_deinit(&file->hash_file);
142 fs_file_close(file->hash_file);
155 if (fs_copy(file->hash_file, file->file.parent) < 0) {
158 fs_file_last_error(file->hash_file));
194 if (fs_copy(file->file.parent, file->hash_file) < 0) {
237 if (fs_rename(temp_file, file->hash_file) < 0) {
/dovecot/src/lib-mail/
H A Dtest-istream-binary-converter.c162 unsigned char hash_file[SHA1_RESULTLEN], hash_converter[SHA1_RESULTLEN]; local
176 sha1_result(&hash, hash_file);
192 if (memcmp(hash_file, hash_converter, SHA1_RESULTLEN) != 0) {
H A Dtest-istream-attachment.c253 unsigned char hash_file[SHA1_RESULTLEN], hash_attached[SHA1_RESULTLEN]; local
263 sha1_result(&hash, hash_file);
296 if (memcmp(hash_file, hash_attached, SHA1_RESULTLEN) != 0)

Completed in 15 milliseconds