Lines Matching refs:messages
40 uint32_t uidvalidity, uidnext, messages;
107 messages have been expunged in the mean time. */
240 numpack_encode(dest, status.messages);
347 if (state->messages == 0) {
383 expunged_uid < mail->uid && seq < state->messages) {
389 if (seq == state->messages)
392 if (++seq == state->messages)
396 seq < state->messages) {
406 } else if (seq != state->messages) {
409 seq, state->messages);
417 if (client->messages_count + expunge_count < state->messages) {
421 state->messages);
461 if (state->messages == 0)
535 numpack_decode32(&p, end, &state_r->messages) < 0 ||
635 client->messages_count = status.messages;
641 i_assert(expunge_count <= state->messages);
642 if (state->messages - expunge_count > client->messages_count) {
645 state->messages - expunge_count);
660 if (state->messages - expunge_count < client->messages_count) {
661 /* new messages arrived */
663 (state->messages - expunge_count);
689 i_debug("Unhibernation sync: %u expunges, %u new messages, %u flag changes, %"PRIu64" modseq changes",