/external/chromium_org/device/hid/ |
H A D | hid_connection_unittest.cc | 52 const HidConnection::ReadCallback& read_callback() { return read_callback_; } function in class:device::__anon8011::TestCompletionCallback 145 TestCompletionCallback read_callback; local 146 conn->Read(read_callback.read_callback()); 147 ASSERT_TRUE(read_callback.WaitForResult()); 148 ASSERT_EQ(9UL, read_callback.size()); 149 ASSERT_EQ(0, read_callback.buffer()->data()[0]); 151 ASSERT_EQ(i + j - 1, read_callback.buffer()->data()[j]);
|
/external/chromium_org/google_apis/gcm/engine/ |
H A D | fake_connection_factory.cc | 23 const ConnectionHandler::ProtoReceivedCallback& read_callback, 26 connection_handler_.reset(new FakeConnectionHandler(read_callback, 21 Initialize( const BuildLoginRequestCallback& request_builder, const ConnectionHandler::ProtoReceivedCallback& read_callback, const ConnectionHandler::ProtoSentCallback& write_callback) argument
|
H A D | fake_connection_handler.cc | 29 const ConnectionHandler::ProtoReceivedCallback& read_callback, 31 : read_callback_(read_callback), 28 FakeConnectionHandler( const ConnectionHandler::ProtoReceivedCallback& read_callback, const ConnectionHandler::ProtoSentCallback& write_callback) argument
|
H A D | fake_connection_factory.h | 25 const ConnectionHandler::ProtoReceivedCallback& read_callback,
|
H A D | fake_connection_handler.h | 20 const ConnectionHandler::ProtoReceivedCallback& read_callback,
|
H A D | connection_factory_impl.h | 50 const ConnectionHandler::ProtoReceivedCallback& read_callback, 93 const ConnectionHandler::ProtoReceivedCallback& read_callback,
|
H A D | connection_factory.h | 69 // |read_callback| will be invoked with the contents of any received protobuf 76 const ConnectionHandler::ProtoReceivedCallback& read_callback, 84 // the handshake, |read_callback| will be invoked with a valid
|
H A D | connection_handler_impl.h | 21 // |read_callback| will be invoked with the contents of any received protobuf 30 const ProtoReceivedCallback& read_callback,
|
H A D | connection_factory_impl.cc | 84 const ConnectionHandler::ProtoReceivedCallback& read_callback, 96 read_callback, 320 const ConnectionHandler::ProtoReceivedCallback& read_callback, 325 read_callback, 82 Initialize( const BuildLoginRequestCallback& request_builder, const ConnectionHandler::ProtoReceivedCallback& read_callback, const ConnectionHandler::ProtoSentCallback& write_callback) argument 318 CreateConnectionHandler( base::TimeDelta read_timeout, const ConnectionHandler::ProtoReceivedCallback& read_callback, const ConnectionHandler::ProtoSentCallback& write_callback, const ConnectionHandler::ConnectionChangedCallback& connection_callback) argument
|
/external/nanopb-c/examples/network_server/ |
H A D | common.c | 17 static bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) function 38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX};
|
/external/flac/libFLAC/include/private/ |
H A D | ogg_helper.h | 40 FLAC__bool simple_ogg_page__get_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *page, FLAC__StreamEncoderSeekCallback seek_callback, FLAC__StreamEncoderReadCallback read_callback, void *client_data);
|
H A D | ogg_decoder_aspect.h | 77 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data);
|
/external/flac/libFLAC/ |
H A D | ogg_helper.c | 44 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__StreamEncoderReadCallback read_callback, void *client_data) argument 48 switch(read_callback(encoder, buffer, &bytes_read, client_data)) { 94 FLAC__bool simple_ogg_page__get_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *page, FLAC__StreamEncoderSeekCallback seek_callback, FLAC__StreamEncoderReadCallback read_callback, void *client_data) argument 123 if(!full_read_(encoder, page->header, OGG_HEADER_FIXED_PORTION_LEN, read_callback, client_data)) 140 if(!full_read_(encoder, page->header + OGG_HEADER_FIXED_PORTION_LEN, page->header[26], read_callback, client_data)) 164 if(!full_read_(encoder, page->body, page->body_len, read_callback, client_data))
|
H A D | ogg_decoder_aspect.c | 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data) argument 222 switch(read_callback(decoder, (FLAC__byte*)oggbuf, &ogg_bytes_read, client_data)) {
|
/external/chromium_org/net/socket/ |
H A D | unix_domain_client_socket_posix_unittest.cc | 59 TestCompletionCallback read_callback; local 68 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); 78 rv = read_callback.WaitForResult(); 193 TestCompletionCallback read_callback; local 196 read_buffer.get(), kReadDataSize, read_callback.callback())); 271 TestCompletionCallback read_callback; local 274 read_buffer.get(), kReadDataSize, read_callback.callback())); 282 EXPECT_EQ(0 /* EOF */, read_callback.WaitForResult()); 304 TestCompletionCallback read_callback; local 307 read_buffer.get(), kReadDataSize, read_callback 409 TestCompletionCallback read_callback; local [all...] |
H A D | unix_domain_server_socket_posix_unittest.cc | 108 TestCompletionCallback read_callback; local 109 rv = read_callback.GetResult(client_socket.Read( 110 read_buffer.get(), read_buffer_size, read_callback.callback()));
|
H A D | ssl_server_socket_unittest.cc | 431 TestCompletionCallback read_callback; local 436 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); 441 client_ret = read_callback.GetResult(client_ret); 447 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); 449 client_ret = read_callback.GetResult(client_ret); 460 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); 466 server_ret = read_callback.GetResult(server_ret); 474 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); 476 server_ret = read_callback.GetResult(server_ret);
|
H A D | tcp_server_socket_unittest.cc | 235 TestCompletionCallback read_callback; local 237 read_buffer.get(), read_buffer->size(), read_callback.callback()); 238 read_result = read_callback.GetResult(read_result);
|
H A D | tcp_socket_unittest.cc | 271 TestCompletionCallback read_callback; local 273 read_buffer.get(), read_buffer->size(), read_callback.callback()); 274 read_result = read_callback.GetResult(read_result);
|
H A D | tcp_client_socket.cc | 251 CompletionCallback read_callback = base::Bind( local 253 int result = socket_->Read(buf, buf_len, read_callback);
|
/external/chromium_org/net/base/ |
H A D | upload_file_element_reader_unittest.cc | 85 TestCompletionCallback read_callback; local 88 wrapped_buffer.get(), buf.size(), read_callback.callback())); 89 EXPECT_EQ(static_cast<int>(buf.size()), read_callback.WaitForResult()); 95 wrapped_buffer.get(), buf.size(), read_callback.callback())); 102 TestCompletionCallback read_callback; local 105 wrapped_buffer.get(), buf.size(), read_callback.callback())); 106 EXPECT_EQ(static_cast<int>(bytes_.size()), read_callback.WaitForResult()); 196 TestCompletionCallback read_callback; local 199 reader_->Read(wrapped_buffer.get(), kLength, read_callback.callback())); 200 EXPECT_EQ(static_cast<int>(kLength), read_callback [all...] |
H A D | upload_data_stream_unittest.cc | 196 TestCompletionCallback read_callback; local 199 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); 200 ASSERT_LE(0, read_callback.WaitForResult()); // Not an error. 235 TestCompletionCallback read_callback; local 238 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); 239 int bytes_read = read_callback.WaitForResult(); 312 TestCompletionCallback read_callback; local 314 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); 315 EXPECT_EQ(static_cast<int>(kTestDataSize * 2), read_callback.WaitForResult()); 354 TestCompletionCallback read_callback; local [all...] |
/external/chromium_org/sync/api/attachments/ |
H A D | fake_attachment_store_unittest.cc | 29 AttachmentStore::ReadCallback read_callback; member in class:syncer::FakeAttachmentStoreTest 41 read_callback = base::Bind(&FakeAttachmentStoreTest::CopyResultAttachments, 112 store->Read(some_attachment_ids, read_callback); 137 store->Read(some_attachment_ids, read_callback); 168 store->Read(ids, read_callback); 198 store->Read(ids, read_callback); 216 store->Read(ids, read_callback); 242 store->Read(ids, read_callback);
|
/external/chromium_org/content/browser/fileapi/ |
H A D | upload_file_system_file_element_reader_unittest.cc | 129 net::TestCompletionCallback read_callback; local 131 reader_->Read(buf.get(), buf->size(), read_callback.callback())); 132 EXPECT_EQ(buf->size(), read_callback.WaitForResult()); 136 EXPECT_EQ(0, reader_->Read(buf.get(), buf->size(), read_callback.callback())); 167 net::TestCompletionCallback read_callback; local 169 reader_->Read(buf.get(), buf->size(), read_callback.callback())); 170 EXPECT_EQ(static_cast<int>(file_data_.size()), read_callback.WaitForResult()); 250 net::TestCompletionCallback read_callback; local 252 reader_->Read(buf.get(), buf->size(), read_callback.callback())); 253 EXPECT_EQ(kLength, read_callback [all...] |
/external/flac/include/FLAC/ |
H A D | stream_decoder.h | 1023 * \param read_callback See FLAC__StreamDecoderReadCallback. This 1074 FLAC__StreamDecoderReadCallback read_callback, 1104 * \param read_callback See FLAC__StreamDecoderReadCallback. This 1155 FLAC__StreamDecoderReadCallback read_callback,
|