Searched refs:I_MIN (Results 1 - 25 of 83) sorted by relevance

1234

/dovecot/src/lib-index/
H A Dmail-index-dummy-view.c45 I_MIN(5, mail_index_module_register.id));
H A Dmail-index-write.c80 base_size = I_MIN(map->hdr.base_header_size, sizeof(map->hdr));
/dovecot/src/lib/
H A Dfile-set-size.c69 memset(block, 0, I_MIN((ssize_t)sizeof(block), size - offset));
73 I_MIN((ssize_t)sizeof(block), size - offset),
H A Dtest-istream-sized.c49 test_assert(size == I_MIN(sized_input_len, sized_size));
72 for (j = 1; j <= I_MIN(i, sizeof(test_data)); j++) {
H A Dostream-multiplex.c78 size_t amt = I_MIN(UINT_MAX, I_MIN(tmp, channel->buf->used));
117 I_MIN(tmp, iov[i].iov_len));
118 total += I_MIN(tmp, iov[i].iov_len);
H A Dostream-buffer.c46 n = I_MIN(left, iov[i].iov_len);
H A Dstr-sanitize.c94 str = t_str_new(I_MIN(max_bytes, 256));
H A Dostream-escaped.c46 max_buffer_size = I_MIN(o_stream_get_max_buffer_size(estream->ostream.parent),
H A Dtest-istream-jsonstr.c119 test_assert(memcmp(i_stream_get_data(input, &len), output, I_MIN(len, strlen(output))) == 0 &&
H A Dtest-ostream-multiplex.c37 test_assert(memcmp(result->data, expected, I_MIN(sizeof(expected),
H A Dbuffer.c57 size_t max = I_MIN(I_MIN(buf->alloc, buf->dirty), new_size);
382 buffer_set_used_size(buf, I_MIN(bytes, buf->used));
H A Daqueue.c39 count = I_MIN(aqueue->area_size - orig_area_size, aqueue->head);
H A Diostream-pump.c36 I_MIN(IO_BLOCK_SIZE,
H A Distream-base64-decoder.c64 binary_to_hex(data+pos, I_MIN(size-pos, 8)));
H A Distream-multiplex.c115 wanted = I_MIN(len, mstream->remain);
131 used = I_MIN(wanted, avail);
H A Dostream-file.c440 new_size = I_MIN(fstream->optimal_block_size,
566 optimal_size = I_MIN(fstream->optimal_block_size,
628 copy_size = I_MIN(size, avail);
635 copy_size = I_MIN(size, fstream->tail);
993 I_MIN(st.st_blksize, MAX_OPTIMAL_BLOCK_SIZE);
/dovecot/src/anvil/
H A Dtest-penalty.c25 for (j = I_MIN(1, i-1); j <= i; j++) {
/dovecot/src/lib-mail/
H A Distream-qp-decoder.c63 new_pos = I_MIN(bstream->buf->used, max_buffer_size);
93 binary_to_hex(data+error_pos, I_MIN(size-error_pos, 8)), error);
/dovecot/src/lib-dns/
H A Ddns-util.c56 I_MIN(ptr_a - label_a,
/dovecot/src/lib-fs/
H A Dostream-cmp.c36 max = I_MIN(insize, size);
/dovecot/src/lib-test/
H A Dtest-ostream.c35 size_t n = I_MIN(left, tstream->internal_buf->used);
60 n = I_MIN(left, iov[i].iov_len);
77 n = I_MIN(left, cur_iov.iov_len);
/dovecot/src/lib-ssl-iostream/
H A Dostream-openssl.c58 size = I_MIN(iov[i].iov_len - skip_left, avail);
71 size = I_MIN(iov[i].iov_len, avail);
/dovecot/src/lib-storage/index/
H A Dindex-sync-changes.c189 I_MIN(10, count - i));
/dovecot/src/plugins/fts-lucene/
H A DSnowball.cc117 unsigned int len = I_MIN(LUCENE_MAX_WORD_LEN, token->termLength());
/dovecot/src/lib-dcrypt/
H A Ddcrypt-gnutls.c88 ctx->key.size = I_MIN(key_len,(size_t)gnutls_cipher_get_key_size(ctx->cipher));
97 ctx->iv.size = I_MIN(iv_len,(size_t)gnutls_cipher_get_iv_size(ctx->cipher));
202 ctx->key.size = I_MIN(key_len,(size_t)gnutls_hmac_get_len(ctx->md));

Completed in 206 milliseconds

1234