Home
last modified time | relevance | path

Searched refs:payload_bytes (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h297 : header_bytes(0), payload_bytes(0), padding_bytes(0), packets(0) {} in RtpPacketCounter()
303 payload_bytes += other.payload_bytes; in Add()
311 RTC_DCHECK_GE(payload_bytes, other.payload_bytes); in Subtract()
312 payload_bytes -= other.payload_bytes; in Subtract()
321 payload_bytes == other.payload_bytes &&
329 return header_bytes + payload_bytes + padding_bytes; in TotalBytes()
333 size_t payload_bytes; // Payload bytes, excluding RTP headers and padding. member
374 return transmitted.payload_bytes - retransmitted.payload_bytes - in MediaPayloadBytes()
375 fec.payload_bytes; in MediaPayloadBytes()
Drtp_rtcp_defines.cc49 payload_bytes(packet.payload_size()), in RtpPacketCounter()
57 payload_bytes += packet.payload_size(); in AddPacket()
/external/grpc-grpc/tools/codegen/core/
Dgen_header_frame.py79 payload_bytes = [] variable
81 payload_bytes.append([]) # reserve space for header
89 payload_bytes.append(payload_line)
96 payload_bytes[0].extend([
135 for line in payload_bytes:
139 for line in payload_bytes:
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/
Dgen_header_frame.py84 payload_bytes = [] variable
86 payload_bytes.append([]) # reserve space for header
94 payload_bytes.append(payload_line)
101 payload_bytes[0].extend([
140 for line in payload_bytes:
144 for line in payload_bytes:
/external/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc99 EXPECT_EQ(176u, counters.transmitted.payload_bytes); in TEST_F()
108 EXPECT_EQ(576u, counters.transmitted.payload_bytes); in TEST_F()
123 EXPECT_EQ(264u, counters.transmitted.payload_bytes); in TEST_F()
130 EXPECT_EQ(864u, counters.transmitted.payload_bytes); in TEST_F()
203 EXPECT_EQ(176u, counters.transmitted.payload_bytes); in TEST_F()
519 EXPECT_EQ(counters.transmitted.payload_bytes, kPacketSize1); in TEST_F()
523 EXPECT_EQ(counters.retransmitted.payload_bytes, 0u); in TEST_F()
537 EXPECT_EQ(counters.transmitted.payload_bytes, kPacketSize1 * 2); in TEST_F()
547 EXPECT_EQ(counters.transmitted.payload_bytes, kPacketSize1 * 3); in TEST_F()
551 EXPECT_EQ(counters.retransmitted.payload_bytes, kPacketSize1); in TEST_F()
Drtp_rtcp_impl_unittest.cc386 rtp.transmitted.payload_bytes = 1; in TEST_F()
389 EXPECT_EQ(rtp.transmitted.TotalBytes(), rtp.transmitted.payload_bytes + in TEST_F()
396 rtp2.transmitted.payload_bytes = 10; in TEST_F()
398 rtp2.retransmitted.payload_bytes = 5; in TEST_F()
407 EXPECT_EQ(11U, sum.transmitted.payload_bytes); in TEST_F()
411 EXPECT_EQ(5U, sum.retransmitted.payload_bytes); in TEST_F()
Drtp_rtcp_impl2_unittest.cc398 rtp.transmitted.payload_bytes = 1; in TEST_F()
401 EXPECT_EQ(rtp.transmitted.TotalBytes(), rtp.transmitted.payload_bytes + in TEST_F()
408 rtp2.transmitted.payload_bytes = 10; in TEST_F()
410 rtp2.retransmitted.payload_bytes = 5; in TEST_F()
419 EXPECT_EQ(11U, sum.transmitted.payload_bytes); in TEST_F()
423 EXPECT_EQ(5U, sum.retransmitted.payload_bytes); in TEST_F()
Drtp_rtcp_impl.cc308 state.media_bytes_sent = rtp_stats.transmitted.payload_bytes + in GetFeedbackState()
309 rtx_stats.transmitted.payload_bytes; in GetFeedbackState()
558 *bytes_sent = rtp_stats.transmitted.payload_bytes + in DataCountersRTP()
561 rtx_stats.transmitted.payload_bytes + in DataCountersRTP()
Drtp_sender_unittest.cc202 EXPECT_EQ(expected.payload_bytes, actual.payload_bytes); in MatchPacketCounter()
1928 expected.transmitted.payload_bytes = 6; in TEST_P()
1932 expected.retransmitted.payload_bytes = 0; in TEST_P()
1942 expected.transmitted.payload_bytes = 12; in TEST_P()
1945 expected.retransmitted.payload_bytes = 6; in TEST_P()
1953 expected.transmitted.payload_bytes = 12; in TEST_P()
2001 expected.transmitted.payload_bytes = 28; in TEST_P()
2025 EXPECT_EQ(rtp_stats.transmitted.payload_bytes, sizeof(kPayloadData)); in TEST_P()
2028 EXPECT_EQ(rtx_stats.transmitted.payload_bytes, 0u); in TEST_P()
2033 rtp_stats.transmitted.payload_bytes + in TEST_P()
[all …]
Drtp_rtcp_impl2.cc256 state.media_bytes_sent = rtp_stats.transmitted.payload_bytes + in GetFeedbackState()
257 rtx_stats.transmitted.payload_bytes; in GetFeedbackState()
/external/python/oauth2client/oauth2client/
Dcrypt.py235 payload_bytes = _helpers._urlsafe_b64decode(payload)
237 payload_dict = json.loads(_helpers._from_bytes(payload_bytes))
239 raise AppIdentityError('Can\'t parse token: {0}'.format(payload_bytes))
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc289 char* payload_bytes = in slice_buffer_to_string() local
293 memcpy(payload_bytes + offset, in slice_buffer_to_string()
298 *(payload_bytes + offset) = '\0'; in slice_buffer_to_string()
299 return payload_bytes; in slice_buffer_to_string()
326 char* payload_bytes = in update_path_for_get() local
328 grpc_base64_encode_core(write_ptr, payload_bytes, in update_path_for_get()
331 gpr_free(payload_bytes); in update_path_for_get()
/external/grpc-grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc239 char* payload_bytes = in slice_buffer_to_string() local
243 memcpy(payload_bytes + offset, in slice_buffer_to_string()
248 *(payload_bytes + offset) = '\0'; in slice_buffer_to_string()
249 return payload_bytes; in slice_buffer_to_string()
276 char* payload_bytes = in update_path_for_get() local
278 grpc_base64_encode_core(write_ptr, payload_bytes, in update_path_for_get()
281 gpr_free(payload_bytes); in update_path_for_get()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtarget_bitrate.cc77 const size_t payload_bytes = block_length * 4; in Parse() local
78 const size_t num_items = payload_bytes / kBitrateItemSizeBytes; in Parse()
/external/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
DProcessKDP.cpp924 std::vector<uint8_t> payload_bytes; in DoExecute() local
939 payload_bytes.resize(ascii_hex_bytes_cstr_len / 2); in DoExecute()
940 if (extractor.GetHexBytes(payload_bytes, '\xdd') != in DoExecute()
941 payload_bytes.size()) { in DoExecute()
954 payload_bytes.empty() ? NULL : payload_bytes.data(), in DoExecute()
955 payload_bytes.size(), reply, error); in DoExecute()
/external/libaom/libaom/common/
Dobudec.c356 size_t payload_bytes = 0; in file_is_obu() local
358 f, payload_length, &obu_ctx->buffer[bytes_read], &payload_bytes); in file_is_obu()
363 obu_ctx->bytes_buffered += payload_bytes; in file_is_obu()
/external/webrtc/video/
Dsend_statistics_proxy_unittest.cc151 EXPECT_EQ(a.rtp_stats.transmitted.payload_bytes, in ExpectEqual()
152 b.rtp_stats.transmitted.payload_bytes); in ExpectEqual()
257 counters.transmitted.payload_bytes = offset; in TEST_F()
270 counters.transmitted.payload_bytes = offset; in TEST_F()
2437 counters.transmitted.payload_bytes += 2000; in TEST_F()
2441 counters.retransmitted.payload_bytes += 250; in TEST_F()
2495 counters.transmitted.payload_bytes += 2000; in TEST_F()
2499 counters.retransmitted.payload_bytes += 250; in TEST_F()
2549 counters.transmitted.payload_bytes += 2000; in TEST_F()
2553 counters.retransmitted.payload_bytes += 250; in TEST_F()
[all …]
Dvideo_analyzer.cc477 fec_bytes += kv.second.rtp_stats.fec.payload_bytes + in PollStats()
/external/webrtc/audio/
Dchannel_send.cc782 rtp_stats.transmitted.payload_bytes + rtx_stats.transmitted.payload_bytes; in GetRTCPStatistics()
789 stats.retransmitted_bytes_sent = rtp_stats.retransmitted.payload_bytes; in GetRTCPStatistics()
Dchannel_receive.cc745 stats.payload_bytes_rcvd = rtp_stats.packet_counter.payload_bytes; in GetRTCPStatistics()
/external/webrtc/test/scenario/
Dstats_collection.cc166 fec_bytes += kv.second.rtp_stats.fec.payload_bytes + in AddStats()
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc5377 substream.rtp_stats.retransmitted.payload_bytes = 12; in TEST_F()
5407 static_cast<int64_t>(2u * substream.rtp_stats.transmitted.payload_bytes)); in TEST_F()
5413 2u * substream.rtp_stats.retransmitted.payload_bytes); in TEST_F()
5495 substream.rtp_stats.retransmitted.payload_bytes = 12; in TEST_F()
5525 static_cast<int64_t>(substream.rtp_stats.transmitted.payload_bytes)); in TEST_F()
5531 substream.rtp_stats.retransmitted.payload_bytes); in TEST_F()
5682 substreams[kFirstMediaStreamSsrc].rtp_stats.transmitted.payload_bytes = 3; in TEST()
5686 substreams[kFirstMediaStreamSsrc].rtp_stats.retransmitted.payload_bytes = 7; in TEST()
5696 substreams[kSecondMediaStreamSsrc].rtp_stats.transmitted.payload_bytes = 12; in TEST()
5700 substreams[kSecondMediaStreamSsrc].rtp_stats.retransmitted.payload_bytes = 16; in TEST()
[all …]
Dwebrtc_video_engine.cc2549 info.payload_bytes_sent = stream_stats.rtp_stats.transmitted.payload_bytes; in GetPerLayerVideoSenderInfos()
2562 stream_stats.rtp_stats.retransmitted.payload_bytes; in GetPerLayerVideoSenderInfos()
3026 info.payload_bytes_rcvd = stats.rtp_stats.packet_counter.payload_bytes; in GetVideoReceiverInfo()
/external/webrtc/video/end_to_end_tests/
Dstats_tests.cc126 stats.rtp_stats.packet_counter.payload_bytes != 0 || in TEST_F()