Home
last modified time | relevance | path

Searched refs:bytes_remaining (Results 1 – 13 of 13) sorted by relevance

/external/chromium/net/tools/flip_server/
Dring_buffer.cc60 int bytes_remaining = size; in Write() local
63 while (wsize && bytes_remaining) { in Write()
64 if (wsize > bytes_remaining) { in Write()
65 wsize = bytes_remaining; in Write()
69 bytes_remaining -= wsize; in Write()
138 int bytes_remaining = size; in Read() local
141 while (rsize && bytes_remaining) { in Read()
142 if (rsize > bytes_remaining) { in Read()
143 rsize = bytes_remaining; in Read()
147 bytes_remaining -= rsize; in Read()
Dbalsa_frame.cc1436 size_t bytes_remaining = end - current; in ProcessInput() local
1437 size_t consumed_bytes = (chunk_length_remaining_ < bytes_remaining) ? in ProcessInput()
1438 chunk_length_remaining_ : bytes_remaining; in ProcessInput()
1538 const size_t bytes_remaining = end - current; in ProcessInput() local
1539 if (bytes_remaining > 0) { in ProcessInput()
1540 visitor_->ProcessBodyInput(current, bytes_remaining); in ProcessInput()
1541 visitor_->ProcessBodyData(current, bytes_remaining); in ProcessInput()
1542 current += bytes_remaining; in ProcessInput()
1554 const size_t bytes_remaining = end - current; in ProcessInput() local
1556 (content_length_remaining_ < bytes_remaining) ? in ProcessInput()
[all …]
/external/skia/legacy/src/images/
DSkImageDecoder_libwebp.cpp186 uint32_t bytes_remaining = contentSize; in webp_idecode() local
187 while (bytes_remaining > 0) { in webp_idecode()
189 (bytes_remaining < WEBP_IDECODE_BUFFER_SZ) ? in webp_idecode()
190 bytes_remaining : WEBP_IDECODE_BUFFER_SZ; in webp_idecode()
199 bytes_remaining -= bytes_read; in webp_idecode()
208 if (bytes_remaining > 0) { in webp_idecode()
/external/chromium/net/http/
Dhttp_stream_parser.cc234 int bytes_remaining = request_headers_->BytesRemaining(); in DoSendHeaders() local
235 if (bytes_remaining > 0) { in DoSendHeaders()
238 if (bytes_remaining == request_headers_->size()) { in DoSendHeaders()
257 uint64 header_packets = (bytes_remaining + kBytesPerPacket - 1) / in DoSendHeaders()
259 uint64 coalesced_packets = (request_body_->size() + bytes_remaining + in DoSendHeaders()
274 bytes_remaining, in DoSendHeaders()
/external/chromium/net/spdy/
Dspdy_http_stream.cc122 const int bytes_remaining = data->size() - bytes_to_copy; in ReadResponseBody() local
123 IOBufferWithSize* new_buffer = new IOBufferWithSize(bytes_remaining); in ReadResponseBody()
125 bytes_remaining); in ReadResponseBody()
/external/netperf/
Dnettest_sdp.c221 int bytes_remaining; in send_sdp_stream() local
467 bytes_remaining = 0; in send_sdp_stream()
478 bytes_remaining = test_bytes; in send_sdp_stream()
510 while ((!times_up) || (bytes_remaining > 0)) { in send_sdp_stream()
567 if (bytes_remaining) { in send_sdp_stream()
568 bytes_remaining -= send_size; in send_sdp_stream()
920 int bytes_remaining; in send_sdp_maerts() local
1164 bytes_remaining = 0; in send_sdp_maerts()
1257 if (bytes_remaining) { in send_sdp_maerts()
1258 bytes_remaining -= len; in send_sdp_maerts()
Dnettest_sctp.c389 int bytes_remaining; local
643 bytes_remaining = 0;
654 bytes_remaining = test_bytes;
695 while ((!times_up) || (bytes_remaining > 0)) {
776 if (bytes_remaining) {
777 bytes_remaining -= send_size;
1525 int bytes_remaining; local
1786 bytes_remaining = 0;
1797 bytes_remaining = test_bytes * num_associations;
1838 while ((!times_up) || (bytes_remaining > 0)) {
[all …]
Dnettest_bsd.c1301 int bytes_remaining; in send_tcp_stream() local
1544 bytes_remaining = 0; in send_tcp_stream()
1555 bytes_remaining = test_bytes; in send_tcp_stream()
1587 while ((!times_up) || (bytes_remaining > 0)) { in send_tcp_stream()
1644 if (bytes_remaining) { in send_tcp_stream()
1645 bytes_remaining -= send_size; in send_tcp_stream()
1997 int bytes_remaining; in send_tcp_maerts() local
2238 bytes_remaining = 0; in send_tcp_maerts()
2331 if (bytes_remaining) { in send_tcp_maerts()
2332 bytes_remaining -= len; in send_tcp_maerts()
[all …]
Dnettest_unix.c256 int bytes_remaining; in send_stream_stream() local
448 bytes_remaining = 0; in send_stream_stream()
453 bytes_remaining = test_bytes; in send_stream_stream()
475 while ((!times_up) || (bytes_remaining > 0)) { in send_stream_stream()
520 if (bytes_remaining) { in send_stream_stream()
521 bytes_remaining -= send_size; in send_stream_stream()
Dnettest_dlpi.c163 int bytes_remaining; in send_dlpi_co_stream() local
418 bytes_remaining = 0; in send_dlpi_co_stream()
423 bytes_remaining = test_bytes; in send_dlpi_co_stream()
445 while ((!times_up) || (bytes_remaining > 0)) { in send_dlpi_co_stream()
487 if (bytes_remaining) { in send_dlpi_co_stream()
488 bytes_remaining -= send_size; in send_dlpi_co_stream()
Dnettest_xti.c518 int bytes_remaining; in send_xti_tcp_stream() local
848 bytes_remaining = 0; in send_xti_tcp_stream()
859 bytes_remaining = test_bytes; in send_xti_tcp_stream()
894 while ((!times_up) || (bytes_remaining > 0)) { in send_xti_tcp_stream()
968 if (bytes_remaining) { in send_xti_tcp_stream()
969 bytes_remaining -= send_size; in send_xti_tcp_stream()
/external/openssh/
Dumac.c1047 UWORD bytes_hashed, bytes_remaining; in uhash_update() local
1066 bytes_remaining = (L1_KEY_LEN - bytes_hashed); in uhash_update()
1067 nh_update(&ctx->hash, (UINT8 *)input, bytes_remaining); in uhash_update()
1069 ctx->msg_len += bytes_remaining; in uhash_update()
1071 len -= bytes_remaining; in uhash_update()
1072 input += bytes_remaining; in uhash_update()
/external/webp/
DREADME474 while (bytes_remaining > 0) {
477 bytes_remaining -= bytes_read;