/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext.cpp | 86 if (!input_buffer_->IsEOF()) { in GetFrame() 129 size_t read_marker = input_buffer_->GetPosition(); in GetFrame() 135 if (!input_buffer_->Seek(input_buffer_->GetPosition() + in GetFrame() 137 input_buffer_->Seek(read_marker); in GetFrame() 144 read_marker = input_buffer_->GetPosition(); in GetFrame() 227 size_t read_marker = input_buffer_->GetPosition(); in LoadFrame() 236 input_buffer_->Seek(read_marker); in LoadFrame() 269 read_marker = input_buffer_->GetPosition(); in LoadFrame() 276 input_buffer_->Seek(read_marker); in LoadFrame() 337 input_buffer_ = std::move(codec_memory); in SetInputBuffer() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | text_line_reader_op.cc | 40 input_buffer_.reset(new io::InputBuffer(file_.get(), kBufferSize)); in OnWorkStartedLocked() 43 Status status = input_buffer_->ReadLine(&line_contents); in OnWorkStartedLocked() 55 input_buffer_.reset(nullptr); in OnWorkFinishedLocked() 61 Status status = input_buffer_->ReadLine(value); in ReadLocked() 78 input_buffer_.reset(nullptr); in ResetLocked() 92 std::unique_ptr<io::InputBuffer> input_buffer_; member in tensorflow::TextLineReader
|
D | lookup_util.cc | 93 input_buffer_.reset(new io::InputBuffer(file_.get(), kInputBufferSize)); in Init() 106 status_ = input_buffer_->ReadLine(&line); in Next() 129 input_buffer_->Tell(), "."); in Next() 198 std::unique_ptr<io::InputBuffer> input_buffer_; member in tensorflow::lookup::__anonf0a2c6e20111::TextFileLineIterator
|
/external/tensorflow/tensorflow/core/lib/io/snappy/ |
D | snappy_inputbuffer.cc | 28 input_buffer_(new char[input_buffer_capacity_]), in SnappyInputBuffer() 30 next_in_(input_buffer_.get()), in SnappyInputBuffer() 65 next_in_ = input_buffer_.get(); in Reset() 152 char* read_location = reinterpret_cast<char*>(input_buffer_.get()); in ReadFromFile() 158 size_t read_bytes = next_in_ - input_buffer_.get(); in ReadFromFile() 162 memmove(input_buffer_.get(), next_in_, avail_in_); in ReadFromFile() 177 next_in_ = input_buffer_.get(); in ReadFromFile()
|
D | snappy_outputbuffer.cc | 25 input_buffer_(new char[input_buffer_bytes]), in SnappyOutputBuffer() 27 next_in_(input_buffer_.get()), in SnappyOutputBuffer() 105 next_in_ = input_buffer_.get(); in Write() 142 const int32 read_bytes = next_in_ - input_buffer_.get(); in AddToInputBuffer() 148 memmove(input_buffer_.get(), next_in_, avail_in_); in AddToInputBuffer() 149 next_in_ = input_buffer_.get(); in AddToInputBuffer() 173 next_in_ = input_buffer_.get(); in DeflateBuffered()
|
D | snappy_inputbuffer.h | 105 std::unique_ptr<char[]> input_buffer_; variable
|
D | snappy_outputbuffer.h | 139 std::unique_ptr<char[]> input_buffer_; variable
|
/external/webrtc/common_audio/resampler/ |
D | sinc_resampler.cc | 162 input_buffer_(static_cast<float*>( in SincResampler() 167 r1_(input_buffer_.get()), in SincResampler() 168 r2_(input_buffer_.get() + kKernelSize / 2) { in SincResampler() 192 r0_ = input_buffer_.get() + (second_load ? kKernelSize : kKernelSize / 2); in UpdateRegions() 198 RTC_DCHECK_EQ(r1_, input_buffer_.get()); in UpdateRegions() 331 memcpy(r1_, r3_, sizeof(*input_buffer_.get()) * kKernelSize); in Resample() 351 memset(input_buffer_.get(), 0, in Flush() 352 sizeof(*input_buffer_.get()) * input_buffer_size_); in Flush()
|
D | sinc_resampler.h | 152 std::unique_ptr<float[], AlignedFreeDeleter> input_buffer_; variable
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_multi_channel_opus_impl.cc | 183 input_buffer_.clear(); in RecreateEncoderInstance() 184 input_buffer_.reserve(Num10msFramesPerPacket() * SamplesPer10msFrame()); in RecreateEncoderInstance() 323 if (input_buffer_.empty()) in EncodeImpl() 326 input_buffer_.insert(input_buffer_.end(), audio.cbegin(), audio.cend()); in EncodeImpl() 327 if (input_buffer_.size() < in EncodeImpl() 331 RTC_CHECK_EQ(input_buffer_.size(), in EncodeImpl() 339 inst_, &input_buffer_[0], in EncodeImpl() 340 rtc::CheckedDivExact(input_buffer_.size(), config_.num_channels), in EncodeImpl() 347 input_buffer_.clear(); in EncodeImpl()
|
D | audio_encoder_opus.cc | 580 if (input_buffer_.empty()) in EncodeImpl() 583 input_buffer_.insert(input_buffer_.end(), audio.cbegin(), audio.cend()); in EncodeImpl() 584 if (input_buffer_.size() < in EncodeImpl() 588 RTC_CHECK_EQ(input_buffer_.size(), in EncodeImpl() 597 inst_, &input_buffer_[0], in EncodeImpl() 598 rtc::CheckedDivExact(input_buffer_.size(), config_.num_channels), in EncodeImpl() 605 input_buffer_.clear(); in EncodeImpl() 666 input_buffer_.clear(); in RecreateEncoderInstance() 667 input_buffer_.reserve(Num10msFramesPerPacket() * SamplesPer10msFrame()); in RecreateEncoderInstance()
|
D | audio_encoder_multi_channel_opus_impl.h | 77 std::vector<int16_t> input_buffer_; variable
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | fft_thunk.cc | 112 input_buffer_(input_buffer), in FftThunk() 184 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 192 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 200 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 214 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 229 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 237 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 245 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream() 259 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream()
|
D | fft_thunk.h | 93 const BufferAllocation::Slice input_buffer_; variable
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | fixed_length_record_dataset_op.cc | 138 if (input_buffer_) { in GetNextInternal() 139 const int64 current_pos = input_buffer_->Tell(); in GetNextInternal() 144 input_buffer_->ReadNBytes(dataset()->record_bytes_, &record)); in GetNextInternal() 159 input_buffer_.reset(); in GetNextInternal() 191 input_buffer_ = absl::make_unique<io::InputBuffer>( in GetNextInternal() 193 TF_RETURN_IF_ERROR(input_buffer_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal() 207 int64 current_pos = input_buffer_ ? input_buffer_->Tell() : -1; in SaveInternal() 225 input_buffer_.reset(); in RestoreInternal() 234 input_buffer_ = absl::make_unique<io::InputBuffer>( in RestoreInternal() 236 TF_RETURN_IF_ERROR(input_buffer_->Seek(current_pos)); in RestoreInternal() [all …]
|
/external/webrtc/modules/audio_coding/codecs/opus/test/ |
D | blocker.cc | 112 input_buffer_(num_input_channels_, chunk_size_ + initial_delay_), in Blocker() 123 input_buffer_.MoveReadPositionBackward(initial_delay_); in Blocker() 176 input_buffer_.Write(input, num_input_channels, chunk_size_); in ProcessChunk() 181 input_buffer_.Read(input_block_.channels(), num_input_channels, in ProcessChunk() 183 input_buffer_.MoveReadPositionBackward(block_size_ - shift_amount_); in ProcessChunk()
|
D | blocker.h | 107 AudioRingBuffer input_buffer_; variable
|
/external/libbrillo/brillo/streams/ |
D | fake_stream.cc | 97 input_buffer_.clear(); in ClearReadQueue() 183 return input_ptr_ >= input_buffer_.size(); in IsReadBufferEmpty() 191 input_buffer_ = std::move(packet.data); in PopReadPacket() 219 std::string message{input_buffer_.begin(), input_buffer_.end()}; in ReadNonBlocking() 222 input_buffer_.clear(); in ReadNonBlocking() 228 size_to_read = std::min(size_to_read, input_buffer_.size() - input_ptr_); in ReadNonBlocking() 229 std::memcpy(buffer, input_buffer_.data() + input_ptr_, size_to_read); in ReadNonBlocking()
|
/external/pdfium/core/fxcodec/bmp/ |
D | cfx_bmpdecompressor.cpp | 105 size_t pos = input_buffer_->GetPosition(); in ReadBmpHeader() 110 if (!input_buffer_->Seek(pos)) in ReadBmpHeader() 172 FX_SAFE_SIZE_T new_pos = input_buffer_->GetPosition(); in ReadBmpHeaderIfh() 183 if (!input_buffer_->Seek(new_pos.ValueOrDie())) in ReadBmpHeaderIfh() 342 input_buffer_->Seek(0); in DecodeImage() 644 return input_buffer_ && input_buffer_->ReadBlock(destination, size) == size; in ReadData() 653 input_buffer_ = std::move(codec_memory); in SetInputBuffer() 657 if (!input_buffer_) in GetAvailInput() 660 return input_buffer_->GetSize() - input_buffer_->GetPosition(); in GetAvailInput()
|
/external/protobuf/src/google/protobuf/io/ |
D | gzip_stream.cc | 221 input_buffer_ = operator new(input_buffer_length_); in Init() 222 GOOGLE_CHECK(input_buffer_ != NULL); in Init() 247 operator delete(input_buffer_); in ~GzipOutputStream() 290 zcontext_.next_in = static_cast<Bytef*>(input_buffer_); in Next() 292 *data = input_buffer_; in Next()
|
D | gzip_stream.h | 181 void* input_buffer_; variable
|
/external/webrtc/modules/video_coding/utility/ |
D | simulcast_test_fixture_impl.cc | 291 input_buffer_ = I420Buffer::Create(kDefaultWidth, kDefaultHeight); in SetUpCodec() 292 input_buffer_->InitializeData(); in SetUpCodec() 295 .set_video_frame_buffer(input_buffer_) in SetUpCodec() 617 input_buffer_ = I420Buffer::Create(settings_.width, settings_.height); in SwitchingToOneStream() 618 input_buffer_->InitializeData(); in SwitchingToOneStream() 622 .set_video_frame_buffer(input_buffer_) in SwitchingToOneStream() 663 input_buffer_ = I420Buffer::Create(settings_.width, settings_.height); in SwitchingToOneStream() 664 input_buffer_->InitializeData(); in SwitchingToOneStream() 667 .set_video_frame_buffer(input_buffer_) in SwitchingToOneStream() 827 input_buffer_ = I420Buffer::Create(kDefaultWidth, kDefaultHeight, stride_y, in TestStrideEncodeDecode() [all …]
|
D | simulcast_test_fixture_impl.h | 83 rtc::scoped_refptr<I420Buffer> input_buffer_; variable
|
/external/webrtc/modules/audio_coding/codecs/ilbc/ |
D | audio_encoder_ilbc.cc | 89 input_buffer_ + kSampleRateHz / 100 * num_10ms_frames_buffered_); in EncodeImpl() 103 encoder_, input_buffer_, in EncodeImpl()
|
D | audio_encoder_ilbc.h | 51 int16_t input_buffer_[kMaxSamplesPerPacket]; variable
|