Home
last modified time | relevance | path

Searched refs:read_callback (Results 1 – 25 of 47) sorted by relevance

12

/external/flac/libFLAC/
Dogg_helper.c44 …er, FLAC__byte *buffer, size_t bytes, FLAC__StreamEncoderReadCallback read_callback, void *client_… in full_read_() argument
48 switch(read_callback(encoder, buffer, &bytes_read, client_data)) { in full_read_()
94 …eamEncoderSeekCallback seek_callback, FLAC__StreamEncoderReadCallback read_callback, void *client_… in simple_ogg_page__get_at() argument
123 if(!full_read_(encoder, page->header, OGG_HEADER_FIXED_PORTION_LEN, read_callback, client_data)) in simple_ogg_page__get_at()
140 …ncoder, page->header + OGG_HEADER_FIXED_PORTION_LEN, page->header[26], read_callback, client_data)) in simple_ogg_page__get_at()
164 if(!full_read_(encoder, page->body, page->body_len, read_callback, client_data)) in simple_ogg_page__get_at()
Dogg_decoder_aspect.c105 …byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__S… in FLAC__ogg_decoder_aspect_read_callback_wrapper() argument
222 switch(read_callback(decoder, (FLAC__byte*)oggbuf, &ogg_bytes_read, client_data)) { in FLAC__ogg_decoder_aspect_read_callback_wrapper()
/external/chromium_org/content/browser/fileapi/
Dupload_file_system_file_element_reader_unittest.cc124 net::TestCompletionCallback read_callback; in TEST_F() local
126 reader_->Read(buf.get(), buf->size(), read_callback.callback())); in TEST_F()
127 EXPECT_EQ(buf->size(), read_callback.WaitForResult()); in TEST_F()
131 EXPECT_EQ(0, reader_->Read(buf.get(), buf->size(), read_callback.callback())); in TEST_F()
162 net::TestCompletionCallback read_callback; in TEST_F() local
164 reader_->Read(buf.get(), buf->size(), read_callback.callback())); in TEST_F()
165 EXPECT_EQ(static_cast<int>(file_data_.size()), read_callback.WaitForResult()); in TEST_F()
245 net::TestCompletionCallback read_callback; in TEST_F() local
247 reader_->Read(buf.get(), buf->size(), read_callback.callback())); in TEST_F()
248 EXPECT_EQ(kLength, read_callback.WaitForResult()); in TEST_F()
/external/chromium_org/net/base/
Dupload_file_element_reader_unittest.cc85 TestCompletionCallback read_callback; in TEST_F() local
88 wrapped_buffer.get(), buf.size(), read_callback.callback())); in TEST_F()
89 EXPECT_EQ(static_cast<int>(buf.size()), read_callback.WaitForResult()); in TEST_F()
95 wrapped_buffer.get(), buf.size(), read_callback.callback())); in TEST_F()
102 TestCompletionCallback read_callback; in TEST_F() local
105 wrapped_buffer.get(), buf.size(), read_callback.callback())); in TEST_F()
106 EXPECT_EQ(static_cast<int>(bytes_.size()), read_callback.WaitForResult()); in TEST_F()
196 TestCompletionCallback read_callback; in TEST_F() local
199 reader_->Read(wrapped_buffer.get(), kLength, read_callback.callback())); in TEST_F()
200 EXPECT_EQ(static_cast<int>(kLength), read_callback.WaitForResult()); in TEST_F()
Dupload_data_stream_unittest.cc196 TestCompletionCallback read_callback; in TEST_F() local
199 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); in TEST_F()
200 ASSERT_LE(0, read_callback.WaitForResult()); // Not an error. in TEST_F()
235 TestCompletionCallback read_callback; in TEST_F() local
238 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); in TEST_F()
239 int bytes_read = read_callback.WaitForResult(); in TEST_F()
312 TestCompletionCallback read_callback; in TEST_F() local
314 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); in TEST_F()
315 EXPECT_EQ(static_cast<int>(kTestDataSize * 2), read_callback.WaitForResult()); in TEST_F()
354 TestCompletionCallback read_callback; in TEST_F() local
[all …]
/external/chromium_org/google_apis/gcm/engine/
Dfake_connection_factory.cc21 const ConnectionHandler::ProtoReceivedCallback& read_callback, in Initialize() argument
24 connection_handler_.reset(new FakeConnectionHandler(read_callback, in Initialize()
Dfake_connection_handler.cc29 const ConnectionHandler::ProtoReceivedCallback& read_callback, in FakeConnectionHandler() argument
31 : read_callback_(read_callback), in FakeConnectionHandler()
Dconnection_factory_impl.cc69 const ConnectionHandler::ProtoReceivedCallback& read_callback, in Initialize() argument
81 read_callback, in Initialize()
Dconnection_factory.h39 const ConnectionHandler::ProtoReceivedCallback& read_callback,
Dfake_connection_factory.h25 const ConnectionHandler::ProtoReceivedCallback& read_callback,
Dfake_connection_handler.h20 const ConnectionHandler::ProtoReceivedCallback& read_callback,
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc430 TestCompletionCallback read_callback; in TEST_F() local
435 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F()
440 client_ret = read_callback.GetResult(client_ret); in TEST_F()
446 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F()
448 client_ret = read_callback.GetResult(client_ret); in TEST_F()
459 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F()
465 server_ret = read_callback.GetResult(server_ret); in TEST_F()
473 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F()
475 server_ret = read_callback.GetResult(server_ret); in TEST_F()
Dtcp_server_socket_unittest.cc235 TestCompletionCallback read_callback; in TEST_F() local
237 read_buffer.get(), read_buffer->size(), read_callback.callback()); in TEST_F()
238 read_result = read_callback.GetResult(read_result); in TEST_F()
Dtcp_socket_unittest.cc248 TestCompletionCallback read_callback; in TEST_F() local
250 read_buffer.get(), read_buffer->size(), read_callback.callback()); in TEST_F()
251 read_result = read_callback.GetResult(read_result); in TEST_F()
/external/chromium/webkit/glue/media/
Dsimple_data_source.cc120 ReadCallback* read_callback) { in Read() argument
123 read_callback->RunWithParams(Tuple1<size_t>(0)); in Read()
124 delete read_callback; in Read()
128 read_callback->RunWithParams(Tuple1<size_t>(copied)); in Read()
129 delete read_callback; in Read()
Dbuffered_data_source.cc168 media::DataSource::ReadCallback* read_callback) { in Read() argument
169 DCHECK(read_callback); in Read()
176 read_callback->RunWithParams( in Read()
178 delete read_callback; in Read()
182 read_callback_.reset(read_callback); in Read()
Dbuffered_resource_loader.cc152 net::CompletionCallback* read_callback) { in Read() argument
155 DCHECK(read_callback); in Read()
159 read_callback_.reset(read_callback); in Read()
/external/chromium_org/chrome/browser/extensions/api/cast_channel/
Dcast_socket_unittest.cc659 net::CompletionCallback read_callback; in TEST_F() local
672 .WillRepeatedly(DoAll(SaveArg<2>(&read_callback), in TEST_F()
689 read_callback.Run(4); in TEST_F()
692 read_callback.Run(35); in TEST_F()
704 net::CompletionCallback read_callback; in TEST_F() local
728 .WillRepeatedly(DoAll(SaveArg<2>(&read_callback), in TEST_F()
747 read_callback.Run(4); in TEST_F()
750 read_callback.Run(sizes[i]); in TEST_F()
763 net::CompletionCallback read_callback; in TEST_F() local
772 .WillOnce(DoAll(SaveArg<2>(&read_callback), in TEST_F()
[all …]
/external/chromium/net/socket/
Dssl_server_socket_unittest.cc336 TestCompletionCallback read_callback; in TEST_F() local
340 client_ret = client_socket_->Read(read_buf, kReadBufSize, &read_callback); in TEST_F()
347 EXPECT_GT(read_callback.WaitForResult(), 0); in TEST_F()
353 server_ret = server_socket_->Read(read_buf, kReadBufSize, &read_callback); in TEST_F()
360 EXPECT_GT(read_callback.WaitForResult(), 0); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/serial/
Dserial_io_handler.cc23 const ReadCompleteCallback& read_callback, in Initialize() argument
29 read_complete_ = read_callback; in Initialize()
/external/opencv/cvaux/src/
Dcveigenobjects.cpp239 CvCallback read_callback = ((CvInput *) & input)->callback; in icvCalcCovarMatrixEx_8u32fR() local
267 r = (CvStatus)read_callback( io, (void *) bu1, userData ); in icvCalcCovarMatrixEx_8u32fR()
303 r = (CvStatus)read_callback( jo, (void *) bu2, userData ); in icvCalcCovarMatrixEx_8u32fR()
579 CvCallback read_callback = ((CvInput *) & input)->callback; in icvCalcEigenObjects_8u32fR() local
581 r = (CvStatus)read_callback( i, (void *) buf, userData ); in icvCalcEigenObjects_8u32fR()
712 CvCallback read_callback = ((CvInput *) & input)->callback; in icvCalcEigenObjects_8u32fR() local
714 r = (CvStatus)read_callback( io, (void *) buf, userData ); in icvCalcEigenObjects_8u32fR()
801 CvCallback read_callback = ((CvInput *) & input)->callback; in icvCalcEigenObjects_8u32fR() local
803 r = (CvStatus)read_callback( k, (void *) buf, userData ); in icvCalcEigenObjects_8u32fR()
986 CvCallback read_callback = ((CvInput *) & eigInput)->callback; in icvEigenDecomposite_8u32fR() local
[all …]
/external/flac/libFLAC/include/private/
Dogg_helper.h40 …eamEncoderSeekCallback seek_callback, FLAC__StreamEncoderReadCallback read_callback, void *client_…
Dogg_decoder_aspect.h77 …byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__S…
/external/chromium_org/ppapi/tests/extensions/socket/
Dtest_socket.cc520 read_callback(pp_instance()); in TestClientSocket() local
522 read_callback.GetCallback()); in TestClientSocket()
535 read_callback.WaitForResult(read_result); in TestClientSocket()
536 if (read_callback.result() != PP_OK) in TestClientSocket()
538 socket::ReadInfo_Dev read_info = read_callback.output(); in TestClientSocket()
/external/flac/include/FLAC/
Dstream_decoder.h1074 FLAC__StreamDecoderReadCallback read_callback,
1155 FLAC__StreamDecoderReadCallback read_callback,

12