D | output_buffer.c | 26 size_t need = len - (out->max_buflen - out->buflen); in buf_output_add() local 29 need = max((size_t) BUF_INC, need); in buf_output_add() 30 out->max_buflen += need; in buf_output_add() 34 if (old_max + need > out->max_buflen) in buf_output_add() 35 need = out->max_buflen - old_max; in buf_output_add() 36 memset(&out->buf[old_max], 0, need); in buf_output_add()
|