Home
last modified time | relevance | path

Searched refs:MakeArrayView (Results 1 – 25 of 66) sorted by relevance

123

/external/webrtc/rtc_base/memory/
Dfifo_buffer_unittest.cc32 EXPECT_EQ(SR_BLOCK, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST()
38 EXPECT_EQ(SR_SUCCESS, buf.Write(rtc::MakeArrayView(in, kSize), bytes, error)); in TEST()
42 EXPECT_EQ(SR_BLOCK, buf.Write(rtc::MakeArrayView(in, kSize), bytes, error)); in TEST()
45 EXPECT_EQ(SR_SUCCESS, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST()
50 EXPECT_EQ(SR_BLOCK, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST()
54 buf.Write(rtc::MakeArrayView(in, kSize * 2), bytes, error)); in TEST()
59 buf.Read(rtc::MakeArrayView(out, kSize * 2), bytes, error)); in TEST()
65 buf.Write(rtc::MakeArrayView(in, kSize / 2), bytes, error)); in TEST()
68 buf.Read(rtc::MakeArrayView(out, kSize / 2), bytes, error)); in TEST()
72 buf.Write(rtc::MakeArrayView(in, kSize / 2), bytes, error)); in TEST()
[all …]
/external/webrtc/p2p/base/
Dpseudo_tcp_unittest.cc238 send_stream_.Write(rtc::MakeArrayView(&ch, 1), written, error); in TestTransfer()
304 rtc::MakeArrayView(reinterpret_cast<uint8_t*>(block), rcvd), in ReadData()
319 rtc::MakeArrayView(reinterpret_cast<uint8_t*>(block), kBlockSize), in WriteData()
361 send_stream_.Write(rtc::MakeArrayView(&ch, 1), written, error); in TestPingPong()
427 rtc::MakeArrayView(reinterpret_cast<const uint8_t*>(block), rcvd), in ReadData()
443 rtc::MakeArrayView(reinterpret_cast<uint8_t*>(block), tosend), in WriteData()
481 send_stream_.Write(rtc::MakeArrayView(&ch, 1), written, error); in TestTransfer()
535 rtc::MakeArrayView(reinterpret_cast<uint8_t*>(block), rcvd), in ReadUntilIOPending()
562 rtc::MakeArrayView(reinterpret_cast<uint8_t*>(block), in WriteData()
/external/webrtc/media/base/
Drtp_utils_unittest.cc76 rtc::MakeArrayView(reinterpret_cast<const char*>(kPcmuFrame),
79 rtc::MakeArrayView(reinterpret_cast<const char*>(kRtcpReport),
82 rtc::MakeArrayView(reinterpret_cast<const char*>(kInvalidPacket),
/external/webrtc/test/
Drtp_rtcp_observer.h102 EXPECT_TRUE(IsRtpPacket(rtc::MakeArrayView(packet, length))); in SendRtp()
122 EXPECT_TRUE(IsRtcpPacket(rtc::MakeArrayView(packet, length))); in SendRtcp()
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_h264_unittest.cc213 EXPECT_THAT(rtc::MakeArrayView(parsed->video_payload.cdata(), in TEST()
258 EXPECT_THAT(rtc::MakeArrayView(parsed->video_payload.cdata(), in TEST()
319 EXPECT_THAT(rtc::MakeArrayView(parsed1->video_payload.cdata(), in TEST()
339 EXPECT_THAT(rtc::MakeArrayView(parsed2->video_payload.cdata(), in TEST()
354 EXPECT_THAT(rtc::MakeArrayView(parsed3->video_payload.cdata(), in TEST()
Drtp_generic_frame_descriptor.cc84 return rtc::MakeArrayView(frame_deps_id_diffs_, num_frame_deps_); in FrameDependenciesDiffs()
Drtp_sender.cc195 return rtc::MakeArrayView(kFecOrPaddingExtensionSizes, in FecExtensionSizes()
200 return rtc::MakeArrayView(kVideoExtensionSizes, in VideoExtensionSizes()
205 return rtc::MakeArrayView(kAudioExtensionSizes, in AudioExtensionSizes()
Drtp_packetizer_av1.cc118 obu.payload = rtc::MakeArrayView( in ParseObus()
131 obu.payload = rtc::MakeArrayView( in ParseObus()
/external/webrtc/api/audio_codecs/
Daudio_decoder.cc89 rtc::MsanCheckInitialized(rtc::MakeArrayView(encoded, encoded_len)); in Decode()
106 rtc::MsanCheckInitialized(rtc::MakeArrayView(encoded, encoded_len)); in DecodeRedundant()
/external/webrtc/test/fuzzers/
Dvp9_qp_parser_fuzzer.cc15 ParseUncompressedVp9Header(rtc::MakeArrayView(data, size)); in FuzzOneInput()
Dvp8_depacketizer_fuzzer.cc17 VideoRtpDepacketizerVp8::ParseRtpPayload(rtc::MakeArrayView(data, size), in FuzzOneInput()
Dvp9_depacketizer_fuzzer.cc17 VideoRtpDepacketizerVp9::ParseRtpPayload(rtc::MakeArrayView(data, size), in FuzzOneInput()
Drtp_depacketizer_av1_assemble_frame_fuzzer.cc25 test::FuzzDataHelper fuzz_input(rtc::MakeArrayView(data, size)); in FuzzOneInput()
Drtp_video_layers_allocation_fuzzer.cc31 auto raw = rtc::MakeArrayView(data, size); in FuzzOneInput()
Dulpfec_receiver_fuzzer.cc42 test::FuzzDataHelper fuzz_data(rtc::MakeArrayView(data, size)); in FuzzOneInput()
Dframe_buffer_fuzzer.cc38 test::FuzzDataHelper helper(rtc::MakeArrayView(data, size)); in FuzzOneInput()
Drtp_packetizer_av1_fuzzer.cc22 test::FuzzDataHelper fuzz_input(rtc::MakeArrayView(data, size)); in FuzzOneInput()
Drtp_dependency_descriptor_fuzzer.cc31 test::FuzzDataHelper fuzz_data(rtc::MakeArrayView(data, size)); in FuzzOneInput()
/external/webrtc/net/dcsctp/packet/error_cause/
Dprotocol_violation_cause.cc53 writer.CopyToVariableData(rtc::MakeArrayView( in SerializeTo()
Duser_initiated_abort_cause.cc56 writer.CopyToVariableData(rtc::MakeArrayView( in SerializeTo()
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_rtp_packet_outgoing.h49 return rtc::MakeArrayView(packet_.data(), header_length()); in RawHeader()
Drtc_event_rtp_packet_incoming.h48 return rtc::MakeArrayView(packet_.data(), header_length()); in RawHeader()
/external/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc117 rtp_payload_ = rtc::MakeArrayView(packet_.data() + rtp_packet.headers_size(), in ParseHeader()
/external/webrtc/rtc_base/
Dbitstream_reader_unittest.cc328 BitstreamReader reader1(rtc::MakeArrayView(bytes, 1)); in TEST()
333 BitstreamReader reader2(rtc::MakeArrayView(bytes, 2)); in TEST()
/external/webrtc/modules/audio_device/android/
Daaudio_player.cc194 rtc::MakeArrayView(static_cast<int16_t*>(audio_data), in OnDataCallback()

123