Lines Matching refs:used
77 size_t len = 0, used, wanted, avail;
131 used = I_MIN(wanted, avail);
135 i_assert(stream->pos + channel->pending_pos + used <= stream->buffer_size);
137 data, used);
138 channel->pending_pos += used;
141 i_assert(stream->pos + used <= stream->buffer_size);
142 memcpy(stream->w_buffer + stream->pos, data, used);
143 stream->pos += used;
144 got += used;
147 used = wanted;
149 mstream->remain -= used;
150 i_stream_skip(mstream->parent, used);