HomeSort by relevance Sort by last modified time
    Searched refs:reader_ (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/chromium_org/net/base/
upload_bytes_element_reader_unittest.cc 21 reader_.reset(new UploadBytesElementReader(&bytes_[0], bytes_.size()));
22 ASSERT_EQ(OK, reader_->Init(CompletionCallback()));
23 EXPECT_EQ(bytes_.size(), reader_->GetContentLength());
24 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining());
25 EXPECT_TRUE(reader_->IsInMemory());
29 scoped_ptr<UploadElementReader> reader_; member in class:net::UploadBytesElementReaderTest
38 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback()));
39 EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining());
49 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback()));
50 EXPECT_EQ(0U, reader_->BytesRemaining())
    [all...]
upload_file_element_reader_unittest.cc 35 reader_.reset(
42 ASSERT_EQ(ERR_IO_PENDING, reader_->Init(callback.callback()));
44 EXPECT_EQ(bytes_.size(), reader_->GetContentLength());
45 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining());
46 EXPECT_FALSE(reader_->IsInMemory());
50 reader_.reset();
55 scoped_ptr<UploadElementReader> reader_; member in class:net::UploadFileElementReaderTest
67 reader_->Read(
70 EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining());
75 reader_->Read
262 scoped_ptr<UploadElementReader> reader_; member in class:net::UploadFileElementReaderSyncTest
    [all...]
  /external/webrtc/test/testsupport/
packet_reader_unittest.cc 24 reader_ = new PacketReader();
27 delete reader_;
38 PacketReader* reader_; member in class:webrtc::test::PacketReaderTest
44 EXPECT_EQ(-1, reader_->NextPacket(&data_pointer));
49 reader_->InitializeReading(packet_data_, 0, kPacketSizeInBytes);
50 ASSERT_EQ(0, reader_->NextPacket(&packet_data_pointer_));
60 reader_->InitializeReading(data, kDataLengthInBytes, kPacketSizeInBytes);
61 int length_to_read = reader_->NextPacket(&data_pointer);
66 length_to_read = reader_->NextPacket(&data_pointer);
77 reader_->InitializeReading(data, kPacketSizeInBytes, kPacketSizeInBytes)
    [all...]
  /external/chromium_org/media/filters/
audio_file_reader_unittest.cc 27 reader_.reset(new AudioFileReader(protocol_.get()));
33 reader_->channels(), reader_->number_of_frames());
34 int actual_frames = reader_->Read(decoded_audio_data.get());
46 ASSERT_TRUE(reader_->Open());
47 EXPECT_EQ(channels, reader_->channels());
48 EXPECT_EQ(sample_rate, reader_->sample_rate());
49 EXPECT_EQ(duration.InMicroseconds(), reader_->duration().InMicroseconds());
50 EXPECT_EQ(frames, reader_->number_of_frames());
56 EXPECT_FALSE(reader_->Open())
70 scoped_ptr<AudioFileReader> reader_; member in class:media::AudioFileReaderTest
    [all...]
  /external/chromium_org/third_party/libxml/chromium/
libxml_utils.cc 17 XmlReader::XmlReader() : reader_(NULL) {
21 if (reader_)
22 xmlFreeTextReader(reader_);
30 reader_ = xmlReaderForMemory(input.data(), static_cast<int>(input.size()),
32 return reader_ != NULL;
38 reader_ = xmlReaderForFile(file_path.c_str(), NULL, kParseOptions);
39 return reader_ != NULL;
43 xmlChar* value = xmlTextReaderGetAttribute(reader_, BAD_CAST name);
58 if (xmlTextReaderIsEmptyElement(reader_)) {
75 *content += XmlStringToStdString(xmlTextReaderConstValue(reader_));
    [all...]
libxml_utils.h 55 bool Read() { return xmlTextReaderRead(reader_) == 1; }
59 bool Next() { return xmlTextReaderNext(reader_) == 1; }
62 int Depth() { return xmlTextReaderDepth(reader_); }
67 return XmlStringToStdString(xmlTextReaderConstLocalName(reader_));
96 int NodeType() { return xmlTextReaderNodeType(reader_); }
99 xmlTextReaderPtr reader_; member in class:XmlReader
  /external/chromium/sdch/open-vcdiff/src/
decodetable_test.cc 37 reader_.Init(&instructions_and_sizes_ptr_,
99 unsigned char found_inst = reader_.GetNextInstruction(&found_size,
150 VCDiffCodeTableReader reader_; member in class:open_vcdiff::__anon5677::DecodeTableTest
173 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
183 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
193 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
203 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
208 found_inst = reader_.GetNextInstruction(&found_size_, &found_mode_);
217 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
223 found_inst = reader_.GetNextInstruction(&found_size_, &found_mode_)
    [all...]
  /external/chromium_org/sdch/open-vcdiff/src/
decodetable_test.cc 37 reader_.Init(&instructions_and_sizes_ptr_,
99 unsigned char found_inst = reader_.GetNextInstruction(&found_size,
150 VCDiffCodeTableReader reader_; member in class:open_vcdiff::__anon13065::DecodeTableTest
173 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
183 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
193 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
203 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
208 found_inst = reader_.GetNextInstruction(&found_size_, &found_mode_);
217 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
223 found_inst = reader_.GetNextInstruction(&found_size_, &found_mode_)
    [all...]
  /external/open-vcdiff/src/
decodetable_test.cc 37 reader_.Init(&instructions_and_sizes_ptr_,
99 unsigned char found_inst = reader_.GetNextInstruction(&found_size,
150 VCDiffCodeTableReader reader_; member in class:open_vcdiff::__anon26671::DecodeTableTest
173 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
183 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
193 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
203 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
208 found_inst = reader_.GetNextInstruction(&found_size_, &found_mode_);
217 unsigned char found_inst = reader_.GetNextInstruction(&found_size_,
223 found_inst = reader_.GetNextInstruction(&found_size_, &found_mode_)
    [all...]
  /external/chromium_org/content/renderer/device_orientation/
device_motion_event_pump.cc 43 if (reader_->GetLatestData(&data) && data.allAvailableSensorsAreActive)
48 if (!reader_)
49 reader_.reset(new DeviceMotionSharedMemoryReader());
50 return reader_->Initialize(handle);
device_orientation_event_pump.cc 47 if (reader_->GetLatestData(&data) && ShouldFireEvent(data)) {
75 if (!reader_)
76 reader_.reset(new DeviceOrientationSharedMemoryReader());
77 return reader_->Initialize(handle);
device_motion_event_pump.h 42 scoped_ptr<DeviceMotionSharedMemoryReader> reader_; member in class:content::DeviceMotionEventPump
device_orientation_event_pump.h 49 scoped_ptr<DeviceOrientationSharedMemoryReader> reader_; member in class:content::DeviceOrientationEventPump
  /external/chromium/chrome/common/
libxml_utils.cc 24 : reader_(NULL),
30 if (reader_)
31 xmlFreeTextReader(reader_);
49 reader_ = xmlReaderForMemory(input.data(), static_cast<int>(input.size()),
51 return reader_ != NULL;
57 reader_ = xmlReaderForFile(
67 return reader_ != NULL;
71 xmlChar* value = xmlTextReaderGetAttribute(reader_, BAD_CAST name);
83 if (xmlTextReaderIsEmptyElement(reader_)) {
100 *content += XmlStringToStdString(xmlTextReaderConstValue(reader_));
    [all...]
libxml_utils.h 57 bool Read() { return xmlTextReaderRead(reader_) == 1; }
61 bool Next() { return xmlTextReaderNext(reader_) == 1; }
64 int Depth() { return xmlTextReaderDepth(reader_); }
69 return XmlStringToStdString(xmlTextReaderConstLocalName(reader_));
102 int NodeType() { return xmlTextReaderNodeType(reader_); }
105 xmlTextReaderPtr reader_; member in class:XmlReader
  /external/chromium_org/content/browser/fileapi/
upload_file_system_file_element_reader_unittest.cc 58 reader_.reset(
65 ASSERT_EQ(net::ERR_IO_PENDING, reader_->Init(callback.callback()));
67 EXPECT_EQ(file_data_.size(), reader_->GetContentLength());
68 EXPECT_EQ(file_data_.size(), reader_->BytesRemaining());
69 EXPECT_FALSE(reader_->IsInMemory());
73 reader_.reset();
118 scoped_ptr<UploadFileSystemFileElementReader> reader_; member in class:fileapi::UploadFileSystemFileElementReaderTest
126 reader_->Read(buf.get(), buf->size(), read_callback.callback()));
128 EXPECT_EQ(0U, reader_->BytesRemaining());
131 EXPECT_EQ(0, reader_->Read(buf.get(), buf->size(), read_callback.callback()))
    [all...]
  /external/chromium_org/chrome/utility/media_galleries/
media_metadata_parser.cc 14 : reader_(reader),
media_metadata_parser.h 47 scoped_ptr<DataReader> reader_; member in class:metadata::MediaMetadataParser
  /external/chromium_org/content/renderer/media/
video_source_handler.cc 29 PpFrameReceiver() : reader_(NULL) {}
38 if (reader_) {
39 // Make a shallow copy of the frame as the |reader_| may need to queue it.
41 reader_->GotFrame(frame->Copy());
48 reader_ = reader;
52 FrameReaderInterface* reader_; member in class:content::PpFrameReceiver
  /external/chromium_org/remoting/host/native_messaging/
native_messaging_reader.cc 41 base::WeakPtr<NativeMessagingReader> reader_);
54 base::WeakPtr<NativeMessagingReader> reader_; member in class:remoting::NativeMessagingReader::Core
71 reader_(reader),
122 reader_, base::Passed(&message)));
130 base::Bind(&NativeMessagingReader::InvokeEofCallback, reader_));
  /external/openfst/src/include/fst/extensions/far/
far.h 315 void Reset() { reader_->Reset(); }
317 bool Find(const string &key) { return reader_->Find(key); }
319 bool Done() const { return reader_->Done(); }
321 void Next() { return reader_->Next(); }
323 const string &GetKey() const { return reader_->GetKey(); }
325 const Fst<A> &GetFst() const { return reader_->GetEntry(); }
329 bool Error() const { return reader_->Error(); }
331 ~STTableFarReader() { delete reader_; }
335 : reader_(reader) {}
338 STTableReader<Fst<A>, FstReader<A> > *reader_; member in class:fst::STTableFarReader
386 STListReader<Fst<A>, FstReader<A> > *reader_; member in class:fst::STListFarReader
    [all...]
  /external/chromium_org/webkit/browser/appcache/
appcache_response_unittest.cc 106 reader_.reset();
196 EXPECT_FALSE(reader_->IsReadPending());
199 reader_->ReadData(read_buffer_.get(),
225 EXPECT_FALSE(reader_->IsReadPending());
231 EXPECT_FALSE(reader_->IsReadPending());
236 reader_.reset();
298 reader_.reset(service_->storage()->CreateResponseReader(
310 EXPECT_FALSE(reader_->IsReadPending());
312 reader_->ReadInfo(read_info_buffer_.get(),
315 EXPECT_TRUE(reader_->IsReadPending())
662 scoped_ptr<AppCacheResponseReader> reader_; member in class:appcache::AppCacheResponseTest
    [all...]
  /external/chromium_org/remoting/protocol/
audio_reader.cc 34 reader_.Init(channel(), base::Bind(&AudioReader::OnNewData,
audio_reader.h 44 ProtobufMessageReader<AudioPacket> reader_; member in class:remoting::protocol::AudioReader
host_event_dispatcher.h 48 ProtobufMessageReader<EventMessage> reader_; member in class:remoting::protocol::HostEventDispatcher

Completed in 1421 milliseconds

1 2 3