Lines Matching refs:count
34 unsigned int i, j, count;
39 ext_rec_arrays = array_get_modifiable(updates, &count);
40 for (j = 0; j < count; j++) {
69 unsigned int i, count;
71 range = array_get_modifiable(array, &count);
72 for (i = 0; i < count; i++) {
76 if (i == count) {
81 i_array_init(&old_seqs, count - i);
89 array_append(&old_seqs, &range[i], count - i);
90 array_delete(array, i, count - i);
92 range = array_get_modifiable(&old_seqs, &count);
93 for (i = 0; i < count; i++) {
130 unsigned int i, count;
134 recs = array_get_modifiable(&t->appends, &count);
135 i_assert(count > 0);
140 for (i = 1; i < count; i++)
147 new_uid_map = i_new(struct uid_map, count);
148 for (i = 0; i < count; i++) {
155 qsort(new_uid_map, count, sizeof(*new_uid_map), uid_map_cmp);
158 sorted_recs = i_new(struct mail_index_record, count);
160 for (i = 1; i < count; i++) {
166 sizeof(*sorted_recs) * count);
169 old_to_newseq_map = i_new(uint32_t, count);
170 for (i = 0; i < count; i++)