Home
last modified time | relevance | path

Searched refs:ArrayView (Results 1 – 25 of 46) sorted by relevance

12

/external/webrtc/webrtc/base/
Darray_view_unittest.cc24 void Call(ArrayView<T>) {} in Call()
35 ArrayView<int*> x; in TEST()
38 ArrayView<char> y = arr; in TEST()
41 ArrayView<const char> z(arr + 1, 3); in TEST()
44 ArrayView<const char> w(arr, 2); in TEST()
47 ArrayView<char> q(arr, 0); in TEST()
52 EXPECT_DEATH(ArrayView<int>(static_cast<int*>(nullptr), 5), ""); in TEST()
61 ArrayView<char> x = arr; in TEST()
64 ArrayView<char> y = x; // Copy non-const -> non-const. in TEST()
67 ArrayView<const char> z = x; // Copy non-const -> const. in TEST()
[all …]
Darray_view.h72 class ArrayView final {
75 ArrayView() : ArrayView(static_cast<T*>(nullptr), 0) {} in ArrayView() function
79 ArrayView(U* data, size_t size) in ArrayView() function
86 ArrayView(U (&array)[N]) : ArrayView(&array[0], N) {} in ArrayView() function
97 ArrayView(U& u) : ArrayView(u.data(), u.size()) {} in ArrayView() function
117 friend bool operator==(const ArrayView& a, const ArrayView& b) {
120 friend bool operator!=(const ArrayView& a, const ArrayView& b) {
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Daudio_loop.cc46 rtc::ArrayView<const int16_t> AudioLoop::GetNextBlock() { in GetNextBlock()
49 return rtc::ArrayView<const int16_t>(); in GetNextBlock()
53 return rtc::ArrayView<const int16_t>(output_ptr, block_length_samples_); in GetNextBlock()
Daudio_loop.h46 rtc::ArrayView<const int16_t> GetNextBlock();
Dneteq_external_decoder_test.h42 rtc::ArrayView<const uint8_t> payload,
Dneteq_external_decoder_test.cc40 rtc::ArrayView<const uint8_t> payload, in InsertPacket()
/external/webrtc/webrtc/modules/audio_coding/codecs/
Daudio_encoder.h95 rtc::ArrayView<const int16_t> audio,
100 rtc::ArrayView<const int16_t> audio,
Daudio_encoder.cc28 rtc::ArrayView<const int16_t> audio, in Encode()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_external_decoder_unittest.cc109 InsertPacket(rtp_header_, rtc::ArrayView<const uint8_t>( in RunTest()
130 rtc::ArrayView<const uint8_t> payload, in InsertPacket()
213 rtc::ArrayView<const uint8_t> payload, in InsertPacket()
Dneteq_stereo_unittest.cc198 rtc::ArrayView<const uint8_t>( in RunTest()
203 rtp_header_, rtc::ArrayView<const uint8_t>( in RunTest()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Drent_a_codec_unittest.cc125 EncodeInternal(0, rtc::ArrayView<const int16_t>(audio), in TEST()
132 EncodeInternal(2, rtc::ArrayView<const int16_t>(audio), in TEST()
Drent_a_codec.cc94 rtc::ArrayView<const CodecInst> RentACodec::Database() { in Database()
95 return rtc::ArrayView<const CodecInst>(ACMCodecDB::database_, in Database()
Dacm_receiver.h71 rtc::ArrayView<const uint8_t> incoming_payload);
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.h44 rtc::ArrayView<const int16_t> audio,
Daudio_encoder_ilbc.cc94 rtc::ArrayView<const int16_t> audio, in EncodeInternal()
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/
Dmock_audio_encoder.h35 rtc::ArrayView<const int16_t> audio,
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc100 rtc::ArrayView<const int16_t> audio, in EncodeInternal()
246 rtc::ArrayView<const int16_t>( in EncodeActive()
Daudio_encoder_cng.h60 rtc::ArrayView<const int16_t> audio,
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.h47 rtc::ArrayView<const int16_t> audio,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t.h64 rtc::ArrayView<const int16_t> audio,
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.h45 rtc::ArrayView<const int16_t> audio,
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Dneteq_pcmu_quality_test.cc70 rtc::ArrayView<const int16_t>( in EncodeBlock()
Dneteq_ilbc_quality_test.cc70 rtc::ArrayView<const int16_t>( in EncodeBlock()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.h65 rtc::ArrayView<const int16_t> audio,
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
Daudio_encoder_pcm.h45 rtc::ArrayView<const int16_t> audio,

12