Lines Matching defs:match_idx
42 unsigned int i, j, count, match_idx, match_count;
55 for (i = match_idx = 0; i < count; i = j) {
58 while (match_idx < lines[i].field_idx &&
59 match_idx < match_count) {
60 if (HEADER_MATCH_USABLE(mail, match[match_idx]) &&
62 _mail->seq, match_idx)) {
64 i_assert((match[match_idx] &
66 index_mail_cache_add_idx(mail, match_idx,
69 match_idx++;
72 if (match_idx < match_count) {
74 i_assert(match_idx == lines[i].field_idx);
76 array_idx_set(&mail->header_match_lines, match_idx, &j);
77 match_idx++;
125 for (; match_idx < match_count; match_idx++) {
126 if (HEADER_MATCH_USABLE(mail, match[match_idx]) &&
128 _mail->seq, match_idx)) {
130 i_assert((match[match_idx] &
132 index_mail_cache_add_idx(mail, match_idx, "", 0);