Searched defs:left (Results 1 - 10 of 10) sorted by relevance
/dovecot/src/lib/ |
H A D | istream-limit.c | 29 uoff_t left; local 58 left = lstream->v_size - stream->istream.v_offset; 59 if (pos >= left) { 60 pos = left;
|
H A D | ostream-buffer.c | 37 size_t left, n, offset; local 44 left = bstream->ostream.max_buffer_size - 46 n = I_MIN(left, iov[i].iov_len);
|
H A D | istream-sized.c | 69 uoff_t left; local 87 left = sstream->size - stream->istream.v_offset; 88 if (pos == left && ret != -1) { 89 /* we have exactly the wanted amount of data left, but we 100 if (pos == left) { 103 } else if (pos > left) { 111 pos = left;
|
H A D | test-data-stack.c | 12 size_t left = t_get_bytes_available(); local 13 while (left < 10000) { 14 t_malloc_no0(left); /* force a new block */ 15 left = t_get_bytes_available(); 17 left -= 64; /* make room for the sentry if DEBUG */ 20 for (i = 2; i <= left; i++) { 49 size_t left; local 51 left = t_get_bytes_available(); 52 /* The most useful idx for the assert is 'left' */ 53 test_assert_idx(left < 71 size_t left = t_get_bytes_available(); local 180 size_t left = t_get_bytes_available(); local [all...] |
H A D | mempool-alloconly.c | 32 size_t left; member in struct:pool_block 92 used_size = block->size - block->left; 152 new_apool->base_size = new_apool->block->size - new_apool->block->left; 263 block->left = block->size; 281 if (apool->block->left < alloc_size) { 287 (apool->block->size - apool->block->left); 289 apool->block->left -= alloc_size; 307 (apool->block->size - apool->block->left - 310 apool->block->left += apool->block->last_alloc_size; 319 (apool->block->size - apool->block->left [all...] |
H A D | data-stack.c | 32 size_t size, left, lowwater; member in struct:stack_block 100 return STACK_BLOCK_DATA(block) + (block->size - block->left); 168 current_frame_block->block_space_used[frame_pos] = current_block->left; 248 used_size = block->size - block->left; 299 current_block->left = current_frame_block->block_space_used[frame_pos]; 300 current_block->lowwater = current_block->left; 353 if (min_size > outofmem_area.block.left) 362 block->left = 0; 405 if (current_block->left < alloc_size) { 419 block->left [all...] |
H A D | ostream-file.c | 647 size_t used, pos, skip, left; local 662 left = o_stream_file_update_buffer(fstream, 664 if (left > 0) { 672 size_t update_count = size - left;
|
/dovecot/src/lib-charset/ |
H A D | test-charset.c | 80 size_t pos, left, limit, len; local 94 for (pos = 0, limit = 1; limit <= len; pos += left, limit++) { 95 left = limit - pos; 97 &left, str);
|
/dovecot/src/lib-test/ |
H A D | test-ostream.c | 34 size_t left = tstream->max_output_size - tstream->output_buf->used; 35 size_t n = I_MIN(left, tstream->internal_buf->used); 47 size_t left, n; local 58 left = tstream->max_output_size < tstream->output_buf->used ? 0 : 60 n = I_MIN(left, iov[i].iov_len); 75 left = tstream->ostream.max_buffer_size - 77 n = I_MIN(left, cur_iov.iov_len);
|
/dovecot/src/director/ |
H A D | director.h | 48 /* Like above, but our left side already announced it was finished 51 /* We're done killing, but we have to wait for the left side to 72 /* When a user gets freed, the kill_ctx may still be left alive. It's also 111 /* left and right connections are set only after they have finished 115 struct director_connection *left, *right; member in struct:director 250 /* Send data to all directors using both left and right connections
|
Completed in 2209 milliseconds