Lines Matching refs:ext_id
97 uint32_t ext_id, uint32_t reset_id,
108 i_assert(ext_id != (uint32_t)-1);
111 !mail_index_map_get_ext_idx(t->view->index->map, ext_id, &idx)) {
116 rext = array_idx(&t->view->index->extensions, ext_id);
125 if (ext_id < count && resizes[ext_id].name_size != 0) {
127 intro = &resizes[ext_id];
130 intro->ext_id = idx;
133 intro->ext_id = (uint32_t)-1;
140 intro->ext_id = idx;
155 ext_id < array_count(&t->ext_hdr_updates)) {
159 hu = array_idx(&t->ext_hdr_updates, ext_id);
247 uint32_t ext_id, reset_id;
290 for (ext_id = 0; ext_id < ext_count; ext_id++) {
291 if (ext_id < reset_count)
292 ext_reset = reset[ext_id];
295 if ((ext_id < resize_count && resize[ext_id].name_size > 0) ||
297 (ext_id < hdrs_count && hdrs[ext_id].alloc_size > 0)) {
303 reset_id = ext_id < reset_id_count ?
304 reset_ids[ext_id] : 0;
306 log_append_ext_intro(ctx, ext_id, reset_id, &hdr_size);
311 i_assert(ext_id < reset_id_count &&
312 ext_reset.new_reset_id == reset_ids[ext_id]);
316 if (ext_id < hdrs_count && hdrs[ext_id].alloc_size > 0) {
318 log_append_ext_hdr_update(ctx, &hdrs[ext_id],
332 unsigned int ext_id, count, reset_id_count, hdr_size;
344 for (ext_id = 0; ext_id < count; ext_id++) {
345 if (!array_is_created(&updates[ext_id]))
348 reset_id = ext_id < reset_id_count ? reset_ids[ext_id] : 0;
349 log_append_ext_intro(ctx, ext_id, reset_id, &hdr_size);
351 log_append_buffer(ctx, updates[ext_id].arr.buffer, type);