Home
last modified time | relevance | path

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

/external/v8/src/
Dbit-vector.h36 bool Done() const { return current_index_ >= target_->data_length_; } in Done()
73 BitVector() : length_(0), data_length_(kDataLengthForInline), data_(0) {} in BitVector()
76 : length_(length), data_length_(SizeFor(length)), data_(0) { in BitVector()
79 data_.ptr_ = zone->NewArray<uintptr_t>(data_length_); in BitVector()
87 data_length_(other.data_length_), in BitVector()
90 data_.ptr_ = zone->NewArray<uintptr_t>(data_length_); in BitVector()
91 for (int i = 0; i < other.data_length_; i++) { in BitVector()
109 CopyFrom(other.data_, other.data_length_); in CopyFrom()
115 if (new_data_length > data_length_) { in Resize()
117 int old_data_length = data_length_; in Resize()
[all …]
Dbit-vector.cc46 if (data_length_ == 0) { in Count()
50 for (int i = 0; i < data_length_; i++) { in Count()
/external/webrtc/webrtc/base/
Dstream.cc525 : buffer_(NULL), buffer_length_(0), data_length_(0), in MemoryStreamBase()
535 if (seek_position_ >= data_length_) { in Read()
538 size_t available = data_length_ - seek_position_; in Read()
573 if (data_length_ < seek_position_) { in Write()
574 data_length_ = seek_position_; in Write()
587 if (position > data_length_) in SetPosition()
601 *size = data_length_; in GetSize()
607 *size = data_length_ - seek_position_; in GetAvailable()
640 data_length_ = buffer_length_ = length; in SetData()
644 memcpy(buffer_, data, data_length_); in SetData()
[all …]
Dstream.h457 size_t data_length_; variable
555 size_t data_length_; // amount of readable data in the buffer variable
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppressor.cc48 : data_length_(0), in TransientSuppressor()
102 data_length_ = sample_rate_hz * ts::kChunkSizeMs / 1000; in Initialize()
103 if (data_length_ > analysis_length_) { in Initialize()
107 buffer_delay_ = analysis_length_ - data_length_; in Initialize()
174 if (!data || data_length != data_length_ || num_channels != num_channels_ || in Suppress()
221 memcpy(&data[i * data_length_], in Suppress()
224 data_length_ * sizeof(*data)); in Suppress()
341 &in_buffer_[data_length_], in UpdateBuffers()
347 &data[i * data_length_], in UpdateBuffers()
348 data_length_ * sizeof(*data)); in UpdateBuffers()
[all …]
Dwpd_tree.cc26 : data_length_(data_length), in WPDTree()
77 if (!data || data_length != data_length_) { in Update()
Dwpd_tree.h83 size_t data_length_;
Dtransient_suppressor.h76 size_t data_length_; variable
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc105 data_length_(0), in AudioDecoderTest()
117 ASSERT_GT(data_length_, 0u) << "The test must set data_length_ > 0"; in SetUp()
119 encoded_ = new uint8_t[data_length_ * 2]; in SetUp()
165 data_length_ * 2, output); in EncodeFrame()
186 while (processed_samples + frame_size_ <= data_length_) { in EncodeDecodeTest()
278 size_t data_length_; member in webrtc::AudioDecoderTest
291 data_length_ = 10 * frame_size_; in AudioDecoderPcmUTest()
304 data_length_ = 10 * frame_size_; in AudioDecoderPcmATest()
318 data_length_ = 10 * frame_size_; in AudioDecoderPcm16BTest()
335 data_length_ = 10 * frame_size_; in AudioDecoderIlbcTest()
[all …]
/external/webrtc/webrtc/test/testsupport/
Dpacket_reader.cc31 data_length_ = data_length_in_bytes; in InitializeReading()
44 currentIndex_ = std::min(currentIndex_ + packet_size_, data_length_); in NextPacket()
Dpacket_reader.h45 size_t data_length_; variable
/external/webrtc/webrtc/test/
Dfake_network_pipe.cc44 data_length_(length), in NetworkPacket()
55 size_t data_length() const { return data_length_; } in data_length()
66 size_t data_length_; member in webrtc::NetworkPacket