Lines Matching refs:uid
25 export_change_get(struct dsync_transaction_log_scan *ctx, uint32_t uid,
32 i_assert(uid > 0);
37 if (uid > ctx->highest_wanted_uid)
40 change = hash_table_lookup(ctx->changes, POINTER_CAST(uid));
44 change->uid = uid;
46 hash_table_insert(ctx->changes, POINTER_CAST(uid), change);
52 change->uid = uid;
70 uint32_t uid;
78 for (uid = rec->uid1; uid <= rec->uid2; uid++) {
79 export_change_get(ctx, uid,
88 const struct mail_transaction_header *hdr, uint32_t uid)
99 if (uid >= rec->uid1 && uid <= rec->uid2) {
100 export_change_get(ctx, uid,
123 if (!external && mail_index_lookup_seq(view, rec->uid, &seq)) {
129 if (export_change_get(ctx, rec->uid,
141 const struct mail_transaction_header *hdr, uint32_t uid)
149 if (rec->uid != uid)
152 if (!export_change_get(ctx, rec->uid,
171 uint32_t uid;
175 for (uid = rec->uid1; uid <= rec->uid2; uid++) {
176 if (export_change_get(ctx, uid,
194 uint32_t uid;
198 for (uid = rec->uid1; uid <= rec->uid2; uid++) {
199 if (!export_change_get(ctx, uid,
235 uint32_t uid;
259 for (uid = uids[0]; uid <= uids[1]; uid++) {
260 if (!export_change_get(ctx, uid,
286 if (rec->uid == 0) {
291 if (!export_change_get(ctx, rec->uid,
560 uint32_t uid)
568 i_assert(uid > 0);
570 if (scan->highest_wanted_uid < uid)
571 scan->highest_wanted_uid = uid;
583 if (log_add_expunge_uid(scan, data, hdr, uid))
587 if (log_add_expunge_guid_uid(scan, data, hdr, uid))
596 hash_table_lookup(scan->changes, POINTER_CAST(uid));