Searched defs:new_idx (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-index/
H A Dmail-cache-fields.c107 unsigned int new_idx; local
110 new_idx = cache->fields_count;
129 fields[i].idx = new_idx++;
132 if (new_idx == cache->fields_count)
138 cache->fields_count, new_idx);
141 cache->fields_count, new_idx);
164 i_assert(registered_count == new_idx);
165 cache->fields_count = new_idx;
H A Dmail-index-view-sync.c273 unsigned int *old_idx, *new_idx; local
277 new_idx = array_get_modifiable(&ctx->lost_new_kw, &new_count);
282 qsort(new_idx, new_count, sizeof(*new_idx), uint_cmp);
283 return memcmp(old_idx, new_idx, old_count * sizeof(*old_idx)) == 0;

Completed in 11 milliseconds