Home
last modified time | relevance | path

Searched refs:data_length_ (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/rtc_base/memory/
Dfifo_buffer.cc23 data_length_(0), in FifoBuffer()
33 data_length_(0), in FifoBuffer()
43 *size = data_length_; in GetBuffered()
49 if (data_length_ > size) { in SetCapacity()
55 const size_t copy = data_length_; in SetCapacity()
92 const bool was_writable = data_length_ < buffer_length_; in Read()
100 data_length_ -= copy; in Read()
119 const bool was_readable = (data_length_ > 0); in Write()
125 data_length_ += copy; in Write()
145 *size = (read_position_ + data_length_ <= buffer_length_) in GetReadData()
[all …]
Dfifo_buffer.h124 size_t data_length_ RTC_GUARDED_BY(mutex_);
/external/webrtc/rtc_base/
Dmemory_stream.cc30 if (seek_position_ >= data_length_) { in Read()
33 size_t available = data_length_ - seek_position_; in Read()
70 if (data_length_ < seek_position_) { in Write()
71 data_length_ = seek_position_; in Write()
84 if (position > data_length_) in SetPosition()
102 *size = data_length_; in GetSize()
119 data_length_ = buffer_length_ = length; in SetData()
122 memcpy(buffer_, data, data_length_); in SetData()
131 memcpy(new_buffer, buffer_, data_length_); in DoReserve()
Dmemory_stream.h55 size_t data_length_ = 0; variable
/external/webrtc/modules/audio_processing/transient/
Dtransient_suppressor_impl.cc50 : data_length_(0), in TransientSuppressorImpl()
103 data_length_ = sample_rate_hz * ts::kChunkSizeMs / 1000; in Initialize()
104 if (data_length_ > analysis_length_) { in Initialize()
108 buffer_delay_ = analysis_length_ - data_length_; in Initialize()
170 if (!data || data_length != data_length_ || num_channels != num_channels_ || in Suppress()
217 memcpy(&data[i * data_length_], in Suppress()
220 data_length_ * sizeof(*data)); in Suppress()
331 memmove(in_buffer_.get(), &in_buffer_[data_length_], in UpdateBuffers()
337 &data[i * data_length_], data_length_ * sizeof(*data)); in UpdateBuffers()
341 memmove(out_buffer_.get(), &out_buffer_[data_length_], in UpdateBuffers()
[all …]
Dwpd_tree.cc25 : data_length_(data_length), in WPDTree()
76 if (!data || data_length != data_length_) { in Update()
Dwpd_tree.h84 size_t data_length_;
Dtransient_suppressor_impl.h79 size_t data_length_; variable
/external/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc99 data_length_(0), in AudioDecoderTest()
110 ASSERT_GT(data_length_, 0u) << "The test must set data_length_ > 0"; in SetUp()
170 while (processed_samples + frame_size_ <= data_length_) { in EncodeDecodeTest()
263 size_t data_length_; member in webrtc::AudioDecoderTest
274 data_length_ = 10 * frame_size_; in AudioDecoderPcmUTest()
287 data_length_ = 10 * frame_size_; in AudioDecoderPcmATest()
301 data_length_ = 10 * frame_size_; in AudioDecoderPcm16BTest()
318 data_length_ = 10 * frame_size_; in AudioDecoderIlbcTest()
352 data_length_ = 10 * frame_size_; in AudioDecoderIsacFloatTest()
371 data_length_ = 10 * frame_size_; in AudioDecoderIsacSwbTest()
[all …]
/external/icu/libandroidicuinit/
DIcuRegistration.cpp146 data_length_ = sb.st_size; in TryMap()
150 mmap(NULL, data_length_, PROT_READ, MAP_SHARED, fd.get(), 0 /* offset */); in TryMap()
158 if (madvise(data_, data_length_, MADV_RANDOM) == -1) { in TryMap()
185 if (munmap(data_, data_length_) == -1) { in TryUnmap()
DIcuRegistration.h92 : path_(path), data_(nullptr), data_length_(0) {} in IcuDataMap()
98 size_t data_length_; // Save for munmap. variable
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dtest_utils.h52 data_length_(is_.tellg() / sizeof(T)),
61 size_t data_length() const { return data_length_; } in data_length()
91 const size_t data_length_; variable