Searched refs:wleft (Results 1 – 8 of 8) sorted by relevance
/third_party/nghttp2/src/ |
D | buffer_test.cc | 42 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()
|
D | buffer.h | 41 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()
|
D | shrpx_log.h | 135 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
|
D | memchunk.h | 627 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()
|
D | shrpx_log.cc | 249 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 <<()
|
D | shrpx_client_handler.cc | 126 } 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()
|
D | shrpx_memcached_connection.cc | 346 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()
|
D | HttpServer.cc | 600 auto n = std::min(wb_.wleft(), data_pendinglen_); in fill_wb() 1650 if (wb->wleft() < 9 + length + padlen) { in send_data_callback()
|