Searched refs:Read (Results 276 - 300 of 1395) sorted by relevance

<<11121314151617181920>>

/external/lzma/CPP/7zip/Common/
H A DCWrappers.cpp48 p->Res = (p->Stream->Read(data, curSize, &curSize));
72 p.Read = MyRead;
101 p->Res = p->Stream->Read(data, curSize, &curSize);
126 p.Read = InStreamWrap_Read;
157 Res = Stream->Read(Buf, Size, &avail);
177 p.Read = Wrap_ReadByte;
/external/ceres-solver/examples/
H A Dlibmv_bundle_adjuster.cc285 unsigned char file_endian_type_flag = Read<unsigned char>();
296 // Read value from the file, will switch endian if needed.
298 T Read(void) const { function in class:__anon1748::EndianAwareFileReader
333 // Read 3x3 column-major matrix from the file
337 (*matrix)(i % 3, i / 3) = file_reader.Read<float>();
341 // Read 3-vector from file
345 (*vector)(i) = file_reader.Read<float>();
377 // Read markers' space flag.
378 unsigned char is_image_space_flag = file_reader.Read<unsigned char>();
387 // Read camer
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dupload_file_system_file_element_reader_unittest.cc131 reader_->Read(buf.get(), buf->size(), read_callback.callback()));
136 EXPECT_EQ(0, reader_->Read(buf.get(), buf->size(), read_callback.callback()));
148 reader_->Read(buf.get(), buf->size(), read_callback1.callback()));
156 reader_->Read(buf.get(), buf->size(), read_callback2.callback()));
169 reader_->Read(buf.get(), buf->size(), read_callback.callback()));
179 // Read all.
182 reader_->Read(buf.get(), buf->size(), read_callback1.callback()));
194 // Read again.
197 reader_->Read(buf.get(), buf->size(), read_callback2.callback()));
210 reader_->Read(bu
[all...]
/external/chromium_org/media/filters/
H A Ddecrypting_demuxer_stream_unittest.cc162 demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady,
169 EXPECT_CALL(*input_audio_stream_, Read(_))
177 demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady,
187 EXPECT_CALL(*input_audio_stream_, Read(_))
198 EXPECT_CALL(*input_audio_stream_, Read(_))
200 demuxer_stream_->Read(base::Bind(&DecryptingDemuxerStreamTest::BufferReady,
203 // Make sure the Read() triggers a Read() on the input demuxer stream.
210 EXPECT_CALL(*input_audio_stream_, Read(_))
215 demuxer_stream_->Read(bas
[all...]
H A Dffmpeg_glue_unittest.cc27 MOCK_METHOD2(Read, int(int size, uint8* data));
117 TEST_F(FFmpegGlueTest, Read) {
121 // Reads are for the most part straight-through calls to Read().
123 EXPECT_CALL(*protocol_, Read(0, buffer))
125 EXPECT_CALL(*protocol_, Read(kBufferSize, buffer))
127 EXPECT_CALL(*protocol_, Read(kBufferSize, buffer))
/external/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp75 unsigned NumWords = Read(bitc::BlockSizeWidth);
102 Vals.push_back(Read((unsigned)Op.getEncodingData()));
108 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6)));
122 (void)Read((unsigned)Op.getEncodingData());
128 (void)Read(6);
135 /// skipRecord - Read the current record and discard it.
161 // Array case. Read the number of elements as a vbr6.
168 // Read all the elements.
175 // Blob case. Read the number of bytes as a vbr6.
207 // Read th
[all...]
/external/openfst/src/test/
H A Dfst_test.h216 G *ffst = G::Read(filename);
224 Fst<Arc> *gfst = Fst<Arc>::Read(filename);
231 Fst<Arc> *hfst = Fst<Arc>::Read(filename);
251 G *gfst = G::Read(istr, opts);
270 G *gfst = G::Read(istr, opts);
278 ExpandedFst<Arc> *efst = ExpandedFst<Arc>::Read(filename);
287 MutableFst<Arc> *mfst = MutableFst<Arc>::Read(filename);
/external/chromium_org/third_party/webrtc/base/
H A Dstream.h49 // SE_READ: Data is available, so Read is likely to not return SR_BLOCK
70 // Read attempts to fill buffer of size buffer_len. Write attempts to send
73 // Read and Write return a value indicating:
83 virtual StreamResult Read(void* buffer, size_t buffer_len,
131 // processed. Read and ConsumeReadData invalidate the buffer returned by
178 // Return the number of Read()-able bytes remaining before end-of-stream.
213 // Similar to ReadAll. Calls Read until buffer_len bytes have been read, or
218 // ReadLine is a helper function which repeatedly calls Read until it hits
251 virtual StreamResult Read(void* buffer, size_t buffer_len, function in class:rtc::StreamAdapterInterface
253 return stream_->Read(buffe
[all...]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dhttp_fs_test.cc101 EXPECT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
105 // Read is clamped when reading past the end of the file.
107 ASSERT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
112 // Read nothing when starting past the end of the file.
114 EXPECT_EQ(0, node->Read(attr, &buf[0], sizeof(buf), &result_bytes));
131 EXPECT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
135 // Read is clamped when reading past the end of the file.
137 ASSERT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
142 // Read nothing when starting past the end of the file.
144 EXPECT_EQ(0, node->Read(att
[all...]
/external/chromium_org/net/socket/
H A Dtransport_client_socket_unittest.cc147 rv = sock_->Read(buf, buf_len, callback->callback());
266 rv = sock_->Read(buf.get(), 4096, callback.callback());
273 TEST_P(TransportClientSocketTest, Read) {
289 // All data has been read now. Read once more to force an ERR_IO_PENDING, and
292 rv = sock_->Read(buf.get(), 4096, callback.callback());
312 rv = sock_->Read(buf.get(), 1, callback.callback());
322 // All data has been read now. Read once more to force an ERR_IO_PENDING, and
325 rv = sock_->Read(buf.get(), 1, callback.callback());
344 rv = sock_->Read(buf.get(), 16, callback.callback());
363 // Read firs
[all...]
/external/chromium_org/cloud_print/service/
H A Dservice_state.cc43 Read(request);
52 Read(request);
62 void Read(net::URLRequest* request) { function in class:__anon6252::ServiceStateURLRequestDelegate
63 // Read as many bytes as are available synchronously.
67 while (request->Read(buf.get(), kBufSize, &num_bytes)) {
102 scoped_ptr<base::Value> data(base::JSONReader::Read(json));
/external/chromium_org/content/common/
H A Dresource_messages.h38 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
46 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
54 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
62 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
70 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
/external/chromium_org/ppapi/cpp/
H A Dfile_io.cc90 int32_t FileIO::Read(int64_t offset, function in class:pp::FileIO
95 return get_interface<PPB_FileIO_1_1>()->Read(pp_resource(),
98 return get_interface<PPB_FileIO_1_0>()->Read(pp_resource(),
104 int32_t FileIO::Read( function in class:pp::FileIO
124 return get_interface<PPB_FileIO_1_0>()->Read(
/external/chromium_org/ppapi/proxy/
H A Dresource_message_params.cc67 return IPC::ParamTraits<PP_Resource>::Read(msg, iter, &pp_resource_) &&
68 IPC::ParamTraits<int32_t>::Read(msg, iter, &sequence_);
73 return IPC::ParamTraits<std::vector<SerializedHandle> >::Read(
165 return IPC::ParamTraits<bool>::Read(msg, iter, &has_callback_);
194 IPC::ParamTraits<int32_t>::Read(msg, iter, &result_) &&
/external/lldb/source/Plugins/Process/Utility/
H A DRegisterContextDarwin_arm.h185 Read = 0, enumerator in enum:RegisterContextDarwin_arm::__anon25320
194 int gpr_errs[2]; // Read/Write errors
195 int fpu_errs[2]; // Read/Write errors
196 int exc_errs[2]; // Read/Write errors
197 int dbg_errs[2]; // Read/Write errors
202 SetError (GPRRegSet, Read, -1);
203 SetError (FPURegSet, Read, -1);
204 SetError (EXCRegSet, Read, -1);
258 return GetError(set, Read) == 0;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dsymbol-table.h62 static SymbolTableImpl* Read(istream &strm, const string& source);
235 static SymbolTable* Read(istream &strm, const string& source) { function in class:fst::SymbolTable
236 SymbolTableImpl* impl = SymbolTableImpl::Read(strm, source);
244 static SymbolTable* Read(const string& filename) { function in class:fst::SymbolTable
247 LOG(ERROR) << "SymbolTable::Read: Can't open file " << filename;
250 return Read(strm, filename);
/external/chromium_org/third_party/webrtc/modules/media_file/source/
H A Dmedia_file_utility.cc445 len = wav.Read(&RIFFheaderObj, sizeof(WAVE_RIFF_header));
474 len = wav.Read(&CHUNKheaderObj, sizeof(WAVE_CHUNK_header));
493 len = wav.Read(&_wavFormatObj, sizeof(WAVE_FMTINFO_header));
528 len = wav.Read(&dummyRead, 1);
548 len = wav.Read(&dummyRead, 1);
558 len = wav.Read(&CHUNKheaderObj, sizeof(WAVE_CHUNK_header));
740 readLength = wav.Read(dummy, _readSizeBytes);
987 int32_t bytesRead = wav.Read(buffer, dataLengthInBytes);
1007 bytesRead = wav.Read(buffer, dataLengthInBytes);
1170 in.Read(
[all...]
/external/chromium_org/net/base/
H A Dupload_data_stream_unittest.cc48 stream->Read(buf.get(), kTestBufferSize, callback.callback());
73 MOCK_METHOD3(Read, int(IOBuffer* buf,
85 // Sets expectation to return the specified result from Read().
88 EXPECT_CALL(*this, Read(_, _, _))
119 // Result value returned from Read().
165 stream.Read(buf.get(), kTestBufferSize, CompletionCallback());
199 stream.Read(buf.get(), kTestBufferSize, read_callback.callback()));
238 stream.Read(buf.get(), kTestBufferSize, read_callback.callback()));
274 // Read() results in success even when the reader returns error.
276 stream.Read(bu
[all...]
/external/chromium_org/android_webview/native/
H A Dinput_stream_unittest.cc56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read));
73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
140 EXPECT_FALSE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dwebkit_file_stream_reader_impl.cc42 int WebkitFileStreamReaderImpl::Read(net::IOBuffer* buffer, function in class:drive::internal::WebkitFileStreamReaderImpl
51 return stream_reader_->Read(buffer, buffer_length, callback);
129 int result = stream_reader_->Read(buffer.get(), buffer_length, callback);
/external/chromium_org/chrome/browser/policy/
H A Dmanaged_bookmarks_policy_handler_unittest.cc37 base::JSONReader::Read(
135 base::JSONReader::Read(
166 base::JSONReader::Read(
/external/chromium_org/chrome/utility/image_writer/
H A Dimage_writer.cc120 int bytes_read = image_file_.Read(bytes_processed_, buffer.get(),
162 int bytes_read = image_file_.Read(bytes_processed_, image_buffer.get(),
166 if (device_file_.Read(bytes_processed_,
/external/chromium_org/chrome/utility/media_galleries/
H A Ditunes_library_parser.cc92 return dict_reader.Read();
109 if (!reader.Read())
127 if (!reader.Read())
/external/chromium_org/content/browser/renderer_host/p2p/
H A Dsocket_host_test_utils.h44 virtual int Read(net::IOBuffer* buf, int buf_len,
102 P2PMsg_OnDataReceived::Read(arg, &params);
110 P2PMsg_OnIncomingTcpConnection::Read(
/external/chromium_org/ppapi/c/private/
H A Dppb_tcp_socket_private.h137 int32_t (*Read)(PP_Resource tcp_socket, member in struct:PPB_TCPSocket_Private_0_5
193 int32_t (*Read)(PP_Resource tcp_socket, member in struct:PPB_TCPSocket_Private_0_3
226 int32_t (*Read)(PP_Resource tcp_socket, member in struct:PPB_TCPSocket_Private_0_4

Completed in 1913 milliseconds

<<11121314151617181920>>