Lines Matching refs:wanted_uids
103 ARRAY_TYPE(uint32_t) wanted_uids;
282 i_array_init(&importer->wanted_uids, 128);
1930 array_append(&importer->wanted_uids, &uid, 1);
1963 array_count(wanted_uids) is always higher than first_unsaved_idx. */
1965 importer->first_unsaved_idx == array_count(&importer->wanted_uids)) {
2032 ARRAY_TYPE(seq_range) *wanted_uids)
2046 seq_range_array_iter_init(&wanted_iter, wanted_uids);
2048 /* wanted_uids contains UIDs that need to exist at the end. those that
2051 t_array_init(&assigned_uids, array_count(wanted_uids));
2135 ARRAY_TYPE(seq_range) local_uids, wanted_uids;
2147 t_array_init(&wanted_uids, 8);
2158 seq_range_array_add(&wanted_uids, mail->final_uid);
2160 i_assert(array_count(&wanted_uids) > 0);
2163 &local_uids, &wanted_uids) &&
2687 const uint32_t *wanted_uids, *saved_uids;
2692 wanted_uids = array_get(&importer->wanted_uids, &wanted_count);
2697 /* wanted_uids contains the UIDs we tried to save mails with.
2704 remote uids = 5,7,9 = wanted_uids
2722 if (saved_uids[i] == wanted_uids[i])
2756 /* removed wanted_uids that weren't actually saved */
2757 array_delete(&importer->wanted_uids,
2759 array_count(&importer->wanted_uids) -
2940 array_free(&importer->wanted_uids);