Searched refs:buf_avail (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/contrib/xz/src/liblzma/lzma/
H A Dlzma_encoder_optimum_fast.c36 const uint32_t buf_avail = my_min(mf_avail(mf) + 1, MATCH_LEN_MAX); local
38 if (buf_avail < 2) {
61 for (len = 2; len < buf_avail
122 if (len_main < 2 || buf_avail <= 2) {
H A Dlzma_encoder_optimum_normal.c290 const uint32_t buf_avail = my_min(mf_avail(mf) + 1, MATCH_LEN_MAX); local
291 if (buf_avail < 2) {
311 for (len_test = 2; len_test < buf_avail
568 const uint32_t buf_avail = my_min(buf_avail_full, nice_len); local
620 for (len_test = 2; len_test < buf_avail
706 if (new_len > buf_avail) {
707 new_len = buf_avail;
/freebsd-9.3-release/contrib/xz/src/liblzma/simple/
H A Dsimple_coder.c109 const size_t buf_avail = coder->size - coder->pos; local
110 if (out_avail > buf_avail || buf_avail == 0) {
119 memcpy(out + *out_pos, coder->buffer + coder->pos, buf_avail);
120 *out_pos += buf_avail;
157 memmove(coder->buffer, coder->buffer + coder->pos, buf_avail);
/freebsd-9.3-release/usr.bin/csup/
H A Dstream.c126 #define buf_avail(buf) ((buf)->size - (buf)->off - (buf)->in) macro
262 if (buf_count(buf) > 0 && buf_avail(buf) == 0) {
273 assert(n <= buf_avail(buf));
632 if (nbytes > buf_avail(buf)) {
653 ret = vsnprintf(buf->buf + buf->off + buf->in, buf_avail(buf), fmt, ap);
657 if ((unsigned)ret >= buf_avail(buf)) {
660 if ((unsigned)ret >= buf_avail(buf)) {
837 assert(buf_avail(buf) > 0);
839 buf_avail(buf));
1077 if ((buf_avail(zbu
[all...]
H A Dmux.c204 static size_t buf_avail(struct buf *);
495 avail = buf_avail(chan->sendbuf);
1048 (len > buf_avail(buf) ||
1147 buf_avail(struct buf *buf) function
1165 assert(buf_avail(buf) >= size);
/freebsd-9.3-release/contrib/pf/ftp-proxy/
H A Dftp-proxy.c243 size_t buf_avail, clientread; local
247 buf_avail = sizeof s->cbuf - s->cbuf_valid;
249 buf_avail);
267 } while (clientread == buf_avail);
1079 size_t buf_avail, srvread; local
1085 buf_avail = sizeof s->sbuf - s->sbuf_valid;
1087 buf_avail);
1105 } while (srvread == buf_avail);

Completed in 94 milliseconds