Home
last modified time | relevance | path

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

/external/libvterm/src/
Dencoding.c11 int bytes_remaining; member
24 data->bytes_remaining = 0; in init_utf8()
42 printf(" pos=%zd c=%02x rem=%d\n", *pos, c, data->bytes_remaining); in decode_utf8()
49 if(data->bytes_remaining) in decode_utf8()
56 data->bytes_remaining = 0; in decode_utf8()
60 if(!data->bytes_remaining) { in decode_utf8()
67 data->bytes_remaining--; in decode_utf8()
69 if(!data->bytes_remaining) { in decode_utf8()
99 if(data->bytes_remaining) in decode_utf8()
104 data->bytes_remaining = 1; in decode_utf8()
[all …]
/external/libhevc/decoder/
Dihevcd_nal.c96 WORD32 ihevcd_nal_search_start_code(UWORD8 *pu1_buf, WORD32 bytes_remaining) in ihevcd_nal_search_start_code() argument
107 while(ofst < (bytes_remaining - 1)) in ihevcd_nal_search_start_code()
117 if((ofst < (bytes_remaining - 1)) && in ihevcd_nal_search_start_code()
127 if((0 == start_code_found) && (ofst < bytes_remaining)) in ihevcd_nal_search_start_code()
183 WORD32 bytes_remaining, in ihevcd_nal_remv_emuln_bytes() argument
198 while(src_cnt < (bytes_remaining - 1)) in ihevcd_nal_remv_emuln_bytes()
235 if((0 == start_code_found) && (src_cnt < bytes_remaining)) in ihevcd_nal_remv_emuln_bytes()
Dihevcd_nal.h60 WORD32 ihevcd_nal_search_start_code(UWORD8 *pu1_buf, WORD32 bytes_remaining);
64 WORD32 bytes_remaining,
Dihevcd_decode.c624 WORD32 bytes_remaining = ps_codec->i4_bytes_remaining - nal_ofst; in ihevcd_decode() local
626 bytes_remaining = MIN((UWORD32)bytes_remaining, ps_codec->u4_bitsbuf_size); in ihevcd_decode()
629 bytes_remaining, in ihevcd_decode()
/external/libchrome/base/test/
Dmultiprocess_test_android.cc164 uint32_t bytes_remaining = msg->size; in Send() local
166 while (bytes_remaining) { in Send()
168 (bytes_remaining > kFragmentSize) ? kFragmentSize : bytes_remaining; in Send()
171 (bytes_remaining == msg->size) ? fds : std::vector<int>()); in Send()
173 bytes_remaining -= send_size; in Send()
185 uint32_t bytes_remaining = header->size - size; in Recv() local
188 while (bytes_remaining) { in Recv()
196 static_cast<size_t>(size) == bytes_remaining); in Recv()
197 bytes_remaining -= size; in Recv()
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_nalu.cc120 size_t bytes_remaining = block_buffer_size; in H264CMSampleBufferToAnnexBBuffer() local
121 while (bytes_remaining > 0) { in H264CMSampleBufferToAnnexBBuffer()
125 RTC_DCHECK_GE(bytes_remaining, (size_t)nalu_header_size); in H264CMSampleBufferToAnnexBBuffer()
137 bytes_remaining -= bytes_written; in H264CMSampleBufferToAnnexBBuffer()
140 RTC_DCHECK_EQ(bytes_remaining, (size_t)0); in H264CMSampleBufferToAnnexBBuffer()
/external/webrtc/webrtc/common_audio/
Dwav_header_unittest.cc46 const size_t bytes_remaining = size_ - pos_; in Read() local
47 if (num_bytes > bytes_remaining) { in Read()
52 num_bytes = bytes_remaining; in Read()
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender.cc229 size_t bytes_remaining() const { in bytes_remaining() function in webrtc::paced_sender::IntervalBudget
384 if (media_budget_->bytes_remaining() == 0 && !prober_->IsProbing()) in Process()
412 padding_needed = padding_budget_->bytes_remaining(); in Process()
/external/netperf/src/
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.c380 int bytes_remaining; in send_sctp_stream() local
632 bytes_remaining = 0; in send_sctp_stream()
643 bytes_remaining = test_bytes; in send_sctp_stream()
684 while ((!times_up) || (bytes_remaining > 0)) { in send_sctp_stream()
764 if (bytes_remaining) { in send_sctp_stream()
765 bytes_remaining -= send_size; in send_sctp_stream()
1512 int bytes_remaining; in send_sctp_stream_1toMany() local
1770 bytes_remaining = 0; in send_sctp_stream_1toMany()
1781 bytes_remaining = test_bytes * num_associations; in send_sctp_stream_1toMany()
1822 while ((!times_up) || (bytes_remaining > 0)) { in send_sctp_stream_1toMany()
[all …]
Dnettest_bsd.c1756 int bytes_remaining; in send_tcp_stream() local
2014 bytes_remaining = 0; in send_tcp_stream()
2025 bytes_remaining = test_bytes; in send_tcp_stream()
2057 while ((!times_up) || (bytes_remaining > 0)) { in send_tcp_stream()
2114 if (bytes_remaining) { in send_tcp_stream()
2115 bytes_remaining -= send_size; in send_tcp_stream()
2475 int bytes_remaining; in send_tcp_maerts() local
2733 bytes_remaining = 0; in send_tcp_maerts()
2826 if (bytes_remaining) { in send_tcp_maerts()
2827 bytes_remaining -= len; in send_tcp_maerts()
[all …]
Dnettest_unix.c254 int bytes_remaining; in send_stream_stream() local
446 bytes_remaining = 0; in send_stream_stream()
451 bytes_remaining = test_bytes; in send_stream_stream()
473 while ((!times_up) || (bytes_remaining > 0)) { in send_stream_stream()
519 if (bytes_remaining) { in send_stream_stream()
520 bytes_remaining -= send_size; in send_stream_stream()
Dnettest_dlpi.c403 int bytes_remaining; in send_dlpi_co_stream() local
658 bytes_remaining = 0; in send_dlpi_co_stream()
663 bytes_remaining = test_bytes; in send_dlpi_co_stream()
685 while ((!times_up) || (bytes_remaining > 0)) { in send_dlpi_co_stream()
727 if (bytes_remaining) { in send_dlpi_co_stream()
728 bytes_remaining -= send_size; in send_dlpi_co_stream()
Dnettest_xti.c517 int bytes_remaining; in send_xti_tcp_stream() local
847 bytes_remaining = 0; in send_xti_tcp_stream()
858 bytes_remaining = test_bytes; in send_xti_tcp_stream()
893 while ((!times_up) || (bytes_remaining > 0)) { in send_xti_tcp_stream()
967 if (bytes_remaining) { in send_xti_tcp_stream()
968 bytes_remaining -= send_size; in send_xti_tcp_stream()
/external/openssh/
Dumac.c1046 UWORD bytes_hashed, bytes_remaining; in uhash_update() local
1065 bytes_remaining = (L1_KEY_LEN - bytes_hashed); in uhash_update()
1066 nh_update(&ctx->hash, (const UINT8 *)input, bytes_remaining); in uhash_update()
1068 ctx->msg_len += bytes_remaining; in uhash_update()
1070 len -= bytes_remaining; in uhash_update()
1071 input += bytes_remaining; in uhash_update()
/external/libmpeg2/decoder/
Dimpeg2d_api_main.c3179 WORD32 bytes_remaining; in impeg2d_api_entity() local
3191 bytes_remaining = ps_dec_ip->s_ivd_video_decode_ip_t.u4_num_Bytes; in impeg2d_api_entity()
3237 bytes_remaining -= ps_dec_op->s_ivd_video_decode_op_t.u4_num_bytes_consumed; in impeg2d_api_entity()
3241 … (((bytes_remaining > 0) && (1 == ps_dec_state->u2_header_done)) || ps_dec_state->u1_flushfrm)) in impeg2d_api_entity()
/external/webp/
DREADME718 while (bytes_remaining > 0) {
721 bytes_remaining -= bytes_read;