Searched defs:kw_rec (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib-index/
H A Dmail-index-map-hdr.c65 const struct mail_index_keyword_header_rec *kw_rec; local
84 kw_rec = (const void *)(kw_hdr + 1);
85 name = (const char *)(kw_rec + kw_hdr->keywords_count);
114 if (kw_rec[i].name_offset > name_area_end_offset) {
136 const char *keyword = name + kw_rec[i].name_offset;
153 const char *keyword = name + kw_rec[i].name_offset;
H A Dmail-index-sync-keywords.c43 const struct mail_index_keyword_header_rec *kw_rec; local
49 kw_rec = (const void *)(kw_hdr + 1);
50 name = (const char *)(kw_rec + kw_hdr->keywords_count);
61 offset = kw_rec[kw_hdr->keywords_count-1].name_offset;
66 buffer_append(buf, kw_rec, sizeof(*kw_rec) * kw_hdr->keywords_count);
68 buffer_write(buf, buf->used + sizeof(*kw_rec) * new_count,
120 struct mail_index_keyword_header_rec kw_rec; local
153 initial_keywords_count * sizeof(kw_rec);
158 i_zero(&kw_rec);
[all...]
H A Dmail-index-fsck.c147 const struct mail_index_keyword_header_rec *kw_rec; local
161 kw_rec = (const void *)(kw_hdr + 1);
162 name_buffer = (const char *)(kw_rec + keywords_count);
171 kw_rec = NULL;
183 !keyword_name_is_valid(name_buffer, kw_rec[i].name_offset,
187 name = name_buffer + kw_rec[i].name_offset;
226 (void)buffer_append_space_unsafe(dest, keywords_count * sizeof(*kw_rec));
233 rec_pos += sizeof(*kw_rec);

Completed in 106 milliseconds