Home
last modified time | relevance | path

Searched refs:write_callback (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/sync/api/attachments/
Dfake_attachment_store_unittest.cc30 AttachmentStore::WriteCallback write_callback; member in syncer::FakeAttachmentStoreTest
46 write_callback = base::Bind( in SetUp()
48 drop_callback = write_callback; in SetUp()
98 store->Write(some_attachments, write_callback); in TEST_F()
105 store->Write(some_attachments, write_callback); in TEST_F()
130 store->Write(some_attachments, write_callback); in TEST_F()
160 store->Write(some_attachments, write_callback); in TEST_F()
186 store->Write(some_attachments, write_callback); in TEST_F()
230 store->Write(some_attachments, write_callback); in TEST_F()
/external/flac/libFLAC/
Dogg_encoder_aspect.c111 …, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder… in FLAC__ogg_encoder_aspect_write_callback_wrapper() argument
197 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
199 …if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
205 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
207 …if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
Dogg_helper.c178 …mEncoderSeekCallback seek_callback, FLAC__StreamEncoderWriteCallback write_callback, void *client_… in simple_ogg_page__set_at() argument
199 …if(write_callback((FLAC__StreamEncoder*)encoder, page->header, page->header_len, 0, 0, client_data… in simple_ogg_page__set_at()
203 …if(write_callback((FLAC__StreamEncoder*)encoder, page->body, page->body_len, 0, 0, client_data) !=… in simple_ogg_page__set_at()
Dstream_decoder.c136 FLAC__StreamDecoderWriteCallback write_callback; member
353 FLAC__StreamDecoderWriteCallback write_callback, in init_stream_internal_() argument
372 0 == write_callback || in init_stream_internal_()
439 decoder->private_->write_callback = write_callback; in init_stream_internal_()
467 FLAC__StreamDecoderWriteCallback write_callback, in FLAC__stream_decoder_init_stream() argument
480 write_callback, in FLAC__stream_decoder_init_stream()
495 FLAC__StreamDecoderWriteCallback write_callback, in FLAC__stream_decoder_init_ogg_stream() argument
508 write_callback, in FLAC__stream_decoder_init_ogg_stream()
519 FLAC__StreamDecoderWriteCallback write_callback, in init_FILE_internal_() argument
532 if(0 == write_callback || 0 == error_callback) in init_FILE_internal_()
[all …]
/external/flac/include/FLAC/
Dstream_decoder.h1080 FLAC__StreamDecoderWriteCallback write_callback,
1161 FLAC__StreamDecoderWriteCallback write_callback,
1207 FLAC__StreamDecoderWriteCallback write_callback,
1257 FLAC__StreamDecoderWriteCallback write_callback,
1299 FLAC__StreamDecoderWriteCallback write_callback,
1345 FLAC__StreamDecoderWriteCallback write_callback,
/external/chromium_org/device/hid/
Dhid_connection_unittest.cc53 const HidConnection::WriteCallback write_callback() { in write_callback() function in device::__anon6cc747dc0111::TestCompletionCallback
141 TestCompletionCallback write_callback; in TEST_F() local
142 conn->Write(buffer, buffer->size(), write_callback.write_callback()); in TEST_F()
143 ASSERT_TRUE(write_callback.WaitForResult()); in TEST_F()
/external/compiler-rt/test/dfsan/
Dwrite_callback.c27 static void write_callback(int fd, const void *buf, size_t count) { in write_callback() function
59 dfsan_set_write_callback(write_callback); in test_can_write_with_callback()
87 dfsan_set_write_callback(write_callback); in test_failing_write_runs_callback()
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc430 TestCompletionCallback write_callback; in TEST_F() local
433 write_buf.get(), write_buf->size(), write_callback.callback()); in TEST_F()
439 server_ret = write_callback.GetResult(server_ret); in TEST_F()
463 write_buf.get(), write_buf->size(), write_callback.callback()); in TEST_F()
468 client_ret = write_callback.GetResult(client_ret); in TEST_F()
513 TestCompletionCallback write_callback; in TEST_F() local
516 write_buf.get(), write_buf->size(), write_callback.callback()); in TEST_F()
519 server_ret = write_callback.GetResult(server_ret); in TEST_F()
526 write_buf.get(), write_buf->size(), write_callback.callback()); in TEST_F()
529 client_ret = write_callback.GetResult(client_ret); in TEST_F()
Dtransport_client_socket_unittest.cc374 TestCompletionCallback write_callback; in TEST_P() local
378 request_buffer.get(), kWriteBufLen, write_callback.callback()); in TEST_P()
383 rv = write_callback.WaitForResult(); in TEST_P()
411 TestCompletionCallback write_callback; in TEST_P() local
415 request_buffer.get(), kWriteBufLen, write_callback.callback()); in TEST_P()
439 rv = write_callback.WaitForResult(); in TEST_P()
Dtcp_server_socket_unittest.cc222 TestCompletionCallback write_callback; in TEST_F() local
224 write_buffer.get(), write_buffer->size(), write_callback.callback()); in TEST_F()
225 write_result = write_callback.GetResult(write_result); in TEST_F()
Dtcp_socket_unittest.cc258 TestCompletionCallback write_callback; in TEST_F() local
260 write_buffer.get(), write_buffer->size(), write_callback.callback()); in TEST_F()
261 write_result = write_callback.GetResult(write_result); in TEST_F()
/external/chromium_org/content/browser/loader/
Dtemporary_file_stream_unittest.cc89 net::TestCompletionCallback write_callback; in TEST() local
92 write_callback.callback()); in TEST()
94 rv = write_callback.WaitForResult(); in TEST()
/external/nanopb-c/examples/network_server/
Dcommon.c11 static bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback() function
32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0}; in pb_ostream_from_socket()
/external/chromium_org/google_apis/gcm/engine/
Dfake_connection_factory.cc24 const ConnectionHandler::ProtoSentCallback& write_callback) { in Initialize() argument
27 write_callback)); in Initialize()
Dfake_connection_handler.cc30 const ConnectionHandler::ProtoSentCallback& write_callback) in FakeConnectionHandler() argument
32 write_callback_(write_callback), in FakeConnectionHandler()
Dconnection_factory_impl.h51 const ConnectionHandler::ProtoSentCallback& write_callback) OVERRIDE;
94 const ConnectionHandler::ProtoSentCallback& write_callback,
Dconnection_factory_impl.cc85 const ConnectionHandler::ProtoSentCallback& write_callback) { in Initialize() argument
97 write_callback, in Initialize()
321 const ConnectionHandler::ProtoSentCallback& write_callback, in CreateConnectionHandler() argument
326 write_callback, in CreateConnectionHandler()
Dfake_connection_factory.h26 const ConnectionHandler::ProtoSentCallback& write_callback) OVERRIDE;
Dfake_connection_handler.h21 const ConnectionHandler::ProtoSentCallback& write_callback);
Dconnection_factory.h77 const ConnectionHandler::ProtoSentCallback& write_callback) = 0;
/external/flac/libFLAC/include/private/
Dogg_helper.h42 …mEncoderSeekCallback seek_callback, FLAC__StreamEncoderWriteCallback write_callback, void *client_…
Dogg_encoder_aspect.h62 …, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder…
/external/chromium_org/content/child/fileapi/
Dwebfilewriter_impl.cc51 const WriteCallback& write_callback, in Write() argument
53 write_callback_ = write_callback; in Write()
/external/chromium_org/media/audio/pulse/
Dpulse_util.cc208 pa_stream_request_cb_t write_callback, in CreateOutputStream() argument
269 pa_stream_set_write_callback(*stream, write_callback, user_data); in CreateOutputStream()
/external/chromium_org/storage/browser/fileapi/
Dfile_writer_delegate.cc40 const DelegateWriteCallback& write_callback) { in Start() argument
41 write_callback_ = write_callback; in Start()

12