Home
last modified time | relevance | path

Searched refs:b_size (Results 1 – 3 of 3) sorted by relevance

/unit/src/java/
H A Dnxt_jni_InputStream.c166 size_t rest, b_size; in nxt_java_InputStream_skip() local
177 b_size = buf->end - buf->free; in nxt_java_InputStream_skip()
178 b_size = rest < b_size ? rest : b_size; in nxt_java_InputStream_skip()
180 buf->free += b_size; in nxt_java_InputStream_skip()
181 rest -= b_size; in nxt_java_InputStream_skip()
/unit/src/
H A Dnxt_router.c3833 size_t b_size, count; in nxt_router_response_ready_handler() local
3902 b_size = nxt_buf_is_mem(b) ? nxt_buf_mem_used_size(&b->mem) : 0; in nxt_router_response_ready_handler()
3904 if (nxt_slow_path(b_size < sizeof(nxt_unit_response_t))) { in nxt_router_response_ready_handler()
3905 nxt_alert(task, "response buffer too small: %z", b_size); in nxt_router_response_ready_handler()
3910 count = (b_size - sizeof(nxt_unit_response_t)) in nxt_router_response_ready_handler()
H A Dnxt_unit.c3090 size_t l_size, b_size; in nxt_unit_request_readline_size() local
3103 b_size = b->end - b->free; in nxt_unit_request_readline_size()
3104 p = memchr(b->free, '\n', b_size); in nxt_unit_request_readline_size()
3112 l_size += b_size; in nxt_unit_request_readline_size()