Lines Matching refs:ext_id
325 uint32_t seq, const void *data, uint32_t ext_id)
338 if (!mail_index_map_get_ext_idx(tview->lookup_map, ext_id, &ext_idx)) {
340 rext = array_idx(&tview->view.index->extensions, ext_id);
351 ext_id < array_count(&tview->t->ext_resizes)) {
352 intro = array_idx(&tview->t->ext_resizes, ext_id);
353 if (intro[ext_id].name_size != 0) {
382 tview_is_ext_reset(struct mail_index_view_transaction *tview, uint32_t ext_id)
391 return ext_id < count && resets[ext_id].new_reset_id != 0;
396 uint32_t ext_id, struct mail_index_map **map_r,
404 ext_buf = array_idx(&tview->t->ext_rec_updates, ext_id);
413 if (!mail_index_map_get_ext_idx(tview->lookup_map, ext_id, &map_ext_idx)) {
418 array_idx(&tview->view.index->extensions, ext_id);
432 *data_r = tview_return_updated_ext(tview, seq, data, ext_id);
438 uint32_t ext_id, struct mail_index_map **map_r,
444 i_assert(ext_id < array_count(&view->index->extensions));
450 ext_id < array_count(&tview->t->ext_rec_updates)) {
453 if (tview_lookup_ext_update(tview, seq, ext_id, map_r, data_r))
460 !tview_is_ext_reset(tview, ext_id)) {
461 tview->super->lookup_ext_full(view, seq, ext_id,
470 struct mail_index_map *map, uint32_t ext_id,
477 tview->super->get_header_ext(view, map, ext_id, data_r, data_size_r);
482 uint32_t ext_id, uint32_t *reset_id_r)
489 ext_id < array_count(&tview->t->ext_reset_ids) &&
491 reset_id_p = array_idx(&tview->t->ext_reset_ids, ext_id);
496 return tview->super->ext_get_reset_id(view, map, ext_id, reset_id_r);