Home
last modified time | relevance | path

Searched refs:max_payload_len (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_unittest.cc51 limits.max_payload_len = 5; in TEST()
61 limits.max_payload_len = 5; in TEST()
66 EXPECT_THAT(payload_sizes, Each(Le(limits.max_payload_len))); in TEST()
72 limits.max_payload_len = 5; in TEST()
79 limits.max_payload_len); in TEST()
85 limits.max_payload_len = 5; in TEST()
92 limits.max_payload_len); in TEST()
97 limits.max_payload_len = 5; in TEST()
108 limits.max_payload_len = 5; in TEST()
119 limits.max_payload_len = 7; in TEST()
[all …]
Drtp_format_video_generic_unittest.cc50 limits.max_payload_len = 6; in TEST()
55 EXPECT_THAT(payload_sizes, Each(Le(limits.max_payload_len))); in TEST()
63 limits.max_payload_len = 6; in TEST()
70 EXPECT_THAT(payload_sizes, Contains(limits.max_payload_len)); in TEST()
99 limits.max_payload_len = 6; in TEST()
107 EXPECT_THAT(payload_sizes, Each(Le(limits.max_payload_len))); in TEST()
115 limits.max_payload_len = 6; in TEST()
124 EXPECT_THAT(payload_sizes, Contains(limits.max_payload_len)); in TEST()
Drtp_format_h264_unittest.cc147 limits.max_payload_len = kMaxPayloadSize; in TEST_P()
163 limits.max_payload_len = 200; in TEST_P()
182 limits.max_payload_len = 200; in TEST_P()
201 limits.max_payload_len = 200; in TEST_P()
271 limits.max_payload_len = 1000; in TEST()
274 limits.max_payload_len - limits.first_packet_reduction_len; in TEST()
296 limits.max_payload_len = 1000; in TEST()
299 limits.max_payload_len - limits.last_packet_reduction_len; in TEST()
321 limits.max_payload_len = 1000; in TEST()
323 limits.max_payload_len - 3 * kLengthFieldLength - 4; in TEST()
[all …]
Drtp_format.cc75 if (limits.max_payload_len >= in SplitAboutEqually()
80 if (limits.max_payload_len - limits.first_packet_reduction_len < 1 || in SplitAboutEqually()
81 limits.max_payload_len - limits.last_packet_reduction_len < 1) { in SplitAboutEqually()
93 (total_bytes + limits.max_payload_len - 1) / limits.max_payload_len; in SplitAboutEqually()
Drtp_packetizer_av1.cc173 if (limits.max_payload_len - limits.last_packet_reduction_len < 3 || in Packetize()
174 limits.max_payload_len - limits.first_packet_reduction_len < 3) { in Packetize()
180 limits.max_payload_len -= kAggregationHeaderSize; in Packetize()
187 limits.max_payload_len - limits.first_packet_reduction_len; in Packetize()
203 packet_remaining_bytes = limits.max_payload_len; in Packetize()
266 obu_offset + limits.max_payload_len < obu.size; in Packetize()
267 obu_offset += limits.max_payload_len) { in Packetize()
272 int middle_fragment_size = limits.max_payload_len; in Packetize()
283 limits.max_payload_len - limits.last_packet_reduction_len) { in Packetize()
312 packet_remaining_bytes = limits.max_payload_len - last_fragment_size; in Packetize()
Drtp_packetizer_av1_unittest.cc261 limits.max_payload_len = 6; in TEST()
272 limits.max_payload_len = 6; in TEST()
284 limits.max_payload_len = 6; in TEST()
296 limits.max_payload_len = 6; in TEST()
313 limits.max_payload_len = 8; in TEST()
326 limits.max_payload_len = 100; in TEST()
343 limits.max_payload_len = 8; in TEST()
356 limits.max_payload_len = 10; in TEST()
Drtp_format_vp8_unittest.cc31 limits.max_payload_len = 12; // Small enough to produce 4 packets. in TEST()
45 limits.max_payload_len = 15; // Small enough to produce 5 packets. in TEST()
66 limits.max_payload_len = 25; // Small enough to produce two packets. in TEST()
Drtp_format_h264.cc90 int single_packet_capacity = limits_.max_payload_len; in GeneratePackets()
117 limits.max_payload_len -= kFuAHeaderSize; in PacketizeFuA()
161 size_t payload_size_left = limits_.max_payload_len; in PacketizeStapA()
214 size_t payload_size_left = limits_.max_payload_len; in PacketizeSingleNalu()
227 << limits_.max_payload_len; in PacketizeSingleNalu()
Drtp_format.h30 int max_payload_len = 1200; member
Drtp_sender_video.cc473 limits.max_payload_len = packet_capacity - middle_packet->headers_size(); in SendVideo()
556 limits.max_payload_len - limits.single_packet_reduction_len; in SendVideo()
560 limits.max_payload_len - limits.first_packet_reduction_len; in SendVideo()
564 limits.max_payload_len - limits.last_packet_reduction_len; in SendVideo()
567 expected_payload_capacity = limits.max_payload_len; in SendVideo()
Drtp_format_vp9_unittest.cc137 limits.max_payload_len = packet_size; in Init()
474 limits.max_payload_len = 8; in TEST_F()
502 limits.max_payload_len = 8; in TEST_F()
525 limits.max_payload_len = 8; in TEST_F()
Drtp_format_video_generic.cc33 limits.max_payload_len -= header_size_; in RtpPacketizerGeneric()
Drtp_format_vp8.cc65 limits.max_payload_len -= hdr_.size(); in RtpPacketizerVp8()
Drtp_format_vp9.cc319 limits.max_payload_len -= header_size_; in RtpPacketizerVp9()
/external/webrtc/test/fuzzers/
Drtp_packetizer_av1_fuzzer.cc25 limits.max_payload_len = 1200; in FuzzOneInput()
51 limits.max_payload_len - limits.single_packet_reduction_len); in FuzzOneInput()
57 limits.max_payload_len - limits.first_packet_reduction_len); in FuzzOneInput()
62 RTC_CHECK_LE(rtp_packet.payload_size(), limits.max_payload_len) in FuzzOneInput()
68 limits.max_payload_len - limits.last_packet_reduction_len); in FuzzOneInput()
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c702 const int max_payload_len = sizeof(payload) - in parse_opts() local
710 cfg_payload_len = max_payload_len; in parse_opts()
777 if (cfg_payload_len > max_payload_len) in parse_opts()
778 error(1, 0, "-s: payload exceeds max (%d)", max_payload_len); in parse_opts()
/external/python/cpython3/Lib/
D_pydecimal.py1655 max_payload_len = context.prec - context.clamp
1656 if len(payload) > max_payload_len:
1657 payload = payload[len(payload)-max_payload_len:].lstrip('0')
/external/python/cpython2/Lib/
Ddecimal.py1632 max_payload_len = context.prec - context._clamp
1633 if len(payload) > max_payload_len:
1634 payload = payload[len(payload)-max_payload_len:].lstrip('0')
/external/webrtc/video/
Drtp_video_stream_receiver2_unittest.cc275 pay_load_size_limits.max_payload_len = 8; in TEST_F()
Drtp_video_stream_receiver_unittest.cc270 pay_load_size_limits.max_payload_len = 8; in TEST_F()
/external/rust/crates/quiche/src/
Dlib.rs3145 let max_payload_len = match self.dgram_max_writable_len() { in dgram_send() localVariable
3152 if buf.len() > max_payload_len { in dgram_send()