Home
last modified time | relevance | path

Searched refs:wleft (Results 1 – 8 of 8) sorted by relevance

/third_party/nghttp2/src/
Dbuffer_test.cc42 CU_ASSERT(16 == b.wleft()); in test_buffer_write()
47 CU_ASSERT(13 == b.wleft()); in test_buffer_write()
53 CU_ASSERT(13 == b.wleft()); in test_buffer_write()
61 CU_ASSERT(0 == b.wleft()); in test_buffer_write()
68 CU_ASSERT(16 == b.wleft()); in test_buffer_write()
74 CU_ASSERT(11 == b.wleft()); in test_buffer_write()
Dbuffer.h41 size_t wleft() const { return std::end(buf) - last; } in wleft() function
45 count = std::min(count, wleft()); in write()
51 count = std::min(count, wleft()); in write()
Dshrpx_log.h135 auto n = std::min(wleft(), static_cast<size_t>(d)); in write_seq()
146 if (wleft() < 4 /* for "0x00" */) { in write_hex()
164 if (wleft() < 2 /* for "0x" */ + nlen) { in write_hex()
197 size_t wleft() { return end_ - last_; } in wleft() function
Dmemchunk.h627 size_t wleft() const { return chunk->left(); } in wleft() function
629 count = std::min(count, wleft()); in write()
635 count = std::min(count, wleft()); in write()
Dshrpx_log.cc249 if (wleft() < 1 /* sign */ + nlen) { in operator <<()
282 if (wleft() < nlen) { in operator <<()
302 auto left = wleft(); in operator <<()
320 auto left = wleft(); in operator <<()
Dshrpx_client_handler.cc126 } else if (rb_.wleft() == 0) { in read_clear()
135 auto nread = conn_.read_clear(rb_.last(), rb_.wleft()); in read_clear()
189 auto nread = conn_.peek_clear(rb_.last(), rb_.wleft()); in proxy_protocol_peek_clear()
256 } else if (rb_.wleft() == 0) { in read_tls()
265 auto nread = conn_.read_tls(rb_.last(), rb_.wleft()); in read_tls()
Dshrpx_memcached_connection.cc346 auto nread = conn_.read_tls(recvbuf_.last, recvbuf_.wleft()); in read_tls()
402 auto nread = conn_.read_clear(recvbuf_.last, recvbuf_.wleft()); in read_clear()
DHttpServer.cc600 auto n = std::min(wb_.wleft(), data_pendinglen_); in fill_wb()
1650 if (wb->wleft() < 9 + length + padlen) { in send_data_callback()