Lines Matching defs:msgcnt
2555 * msgcnt - Where to store the message count.
2569 get_msgcnt(http_conn_t *c_id, ssize_t *msgcnt)
2574 *msgcnt = c_id->body_size - c_id->body_read;
2575 if (*msgcnt != 0) {
2618 *msgcnt = c_id->body_size - c_id->body_read;
2650 ssize_t msgcnt = 0;
2661 * But in either case, chunked or not, if msgcnt
2665 if (msgcnt == 0) {
2666 if (get_msgcnt(c_id, &msgcnt) == -1) {
2669 if (msgcnt == 0) {
2673 cnt = MIN(msgcnt, sizeof (c_id->inbuf.buf));
2692 INC_BREAD_CNT(bread, msgcnt);
2697 INC_BREAD_CNT(bread, msgcnt);
2703 INC_BREAD_CNT(bread, msgcnt);
2737 ssize_t msgcnt = 0;
2745 * But in either case, chunked or not, if msgcnt
2749 if (msgcnt == 0) {
2750 if (get_msgcnt(c_id, &msgcnt) == -1) {
2753 if (msgcnt == 0) {
2758 cnt = MIN(msgcnt, len - i);
2777 msgcnt -= nbytes;