Lines Matching refs:seq
17 uint32_t seq;
28 unsigned int seq, line_seq;
47 p_array_init(&uidls, mbox->uidl_pool, 64); seq = 0;
49 seq++;
57 if (str_to_uint(line, &line_seq) < 0 || line_seq != seq) {
59 "Unexpected UIDL seq: %s != %u", line, seq);
71 if (seq == 0) {
76 mbox->msg_count = seq;
85 unsigned int seq, line_seq;
104 mbox->msg_sizes = i_new(uoff_t, mbox->msg_count); seq = 0;
106 if (++seq > mbox->msg_count) {
118 if (str_to_uint(line, &line_seq) < 0 || line_seq != seq) {
120 "Unexpected LIST seq: %s != %u", line, seq);
123 if (str_to_uoff(p, &mbox->msg_sizes[seq-1]) < 0) {
145 uint32_t seq;
148 for (seq = 1; seq <= messages_count; seq++) {
150 if (mail_cache_lookup_field(cache_view, str, seq,
153 msg.seq = seq;
154 array_idx_set(local_msgs, seq-1, &msg);
163 uint32_t seq;
165 for (seq = 1; seq <= mbox->msg_count; seq++) {
167 msg->seq = seq;
168 msg->uidl = mbox->msg_uidls[seq-1];
229 uint32_t lseq = lidx < lcount ? lmsg[lidx].seq : 0;
230 uint32_t rseq = ridx < rcount ? rmsg[ridx].seq : 0;