Home
last modified time | relevance | path

Searched refs:write_callback_ (Results 1 – 22 of 22) sorted by relevance

/external/chromium/net/spdy/
Dspdy_proxy_client_socket.cc37 write_callback_(NULL), in SpdyProxyClientSocket()
112 write_callback_ = NULL; in Disconnect()
201 DCHECK(!write_callback_); in Write()
212 write_callback_ = callback; in Write()
232 write_callback_ = callback; in Write()
469 DCHECK(write_callback_); in OnDataSent()
479 CompletionCallback* c = write_callback_; in OnDataSent()
480 write_callback_ = NULL; in OnDataSent()
497 CompletionCallback* write_callback = write_callback_; in OnClose()
498 write_callback_ = NULL; in OnClose()
Dspdy_proxy_client_socket_unittest.cc104 TestCompletionCallback write_callback_; member in net::SpdyProxyClientSocketTest
130 write_callback_(), in SpdyProxyClientSocketTest()
283 EXPECT_EQ(rv, sock_->Write(buf, buf->size(), &write_callback_)); in AssertWriteReturns()
287 EXPECT_EQ(len, write_callback_.WaitForResult()); in AssertWriteLength()
294 EXPECT_EQ(ERR_IO_PENDING, sock_->Write(buf, buf->size(), &write_callback_)); in AssertAsyncWriteWithReadsSucceeds()
301 write_callback_.WaitForResult(); in AssertAsyncWriteWithReadsSucceeds()
603 EXPECT_EQ(ERR_IO_PENDING, sock_->Write(buf, buf->size(), &write_callback_)); in TEST_F()
606 EXPECT_EQ(buf->size(), write_callback_.WaitForResult()); in TEST_F()
929 ASSERT_FALSE(write_callback_.have_result()); in TEST_F()
1106 EXPECT_EQ(ERR_IO_PENDING, sock_->Write(buf, buf->size(), &write_callback_)); in TEST_F()
[all …]
Dspdy_proxy_client_socket.h141 CompletionCallback* write_callback_; variable
Dspdy_session.h417 CompletionCallbackImpl<SpdySession> write_callback_; variable
Dspdy_session.cc249 write_callback_(this, &SpdySession::OnWriteComplete)), in SpdySession()
828 in_flight_write_.buffer()->BytesRemaining(), &write_callback_); in WriteSocket()
/external/chromium/net/udp/
Dudp_socket_libevent.cc41 write_callback_(NULL), in UDPSocketLibevent()
67 write_callback_ = NULL; in Close()
179 DCHECK(!write_callback_); in SendToOrWrite()
205 write_callback_ = callback; in SendToOrWrite()
263 DCHECK(write_callback_); in DoWriteCallback()
266 CompletionCallback* c = write_callback_; in DoWriteCallback()
267 write_callback_ = NULL; in DoWriteCallback()
Dudp_socket_win.cc41 write_callback_(NULL), in UDPSocketWin()
68 write_callback_ = NULL; in Close()
167 DCHECK(!write_callback_); in SendToOrWrite()
176 write_callback_ = callback; in SendToOrWrite()
242 DCHECK(write_callback_); in DoWriteCallback()
245 CompletionCallback* c = write_callback_; in DoWriteCallback()
246 write_callback_ = NULL; in DoWriteCallback()
Dudp_socket_libevent.h127 if (socket_->write_callback_) in OnFileCanWriteWithoutBlocking()
185 CompletionCallback* write_callback_; variable
Dudp_socket_win.h176 CompletionCallback* write_callback_; variable
/external/chromium/net/socket/
Ddeterministic_socket_data_unittest.cc45 TestCompletionCallback write_callback_; member in net::DeterministicSocketDataTest
66 write_callback_(), in DeterministicSocketDataTest()
145 ASSERT_EQ(len, sock_->Write(buf, len, &write_callback_)); in AssertSyncWriteEquals()
157 ASSERT_EQ(len, write_callback_.WaitForResult()); in AssertAsyncWriteEquals()
166 ASSERT_EQ(rv, sock_->Write(buf, len, &write_callback_)); in AssertWriteReturns()
483 ASSERT_EQ(kLen2, write_callback_.WaitForResult()); in TEST_F()
493 ASSERT_EQ(kLen3, write_callback_.WaitForResult()); in TEST_F()
523 ASSERT_EQ(kLen2, write_callback_.WaitForResult()); in TEST_F()
Dtcp_client_socket_libevent.cc115 write_callback_(NULL), in TCPClientSocketLibevent()
190 write_callback_ = callback; in Connect()
425 DCHECK(!write_callback_); in Write()
452 write_callback_ = callback; in Write()
588 DCHECK(write_callback_); in DoWriteCallback()
591 CompletionCallback* c = write_callback_; in DoWriteCallback()
592 write_callback_ = NULL; in DoWriteCallback()
Dtcp_client_socket_libevent.h108 } else if (socket_->write_callback_) { in OnFileCanWriteWithoutBlocking()
179 CompletionCallback* write_callback_; variable
Dtcp_client_socket_win.cc221 write_callback_(NULL), in TCPClientSocketWin()
570 DCHECK(!write_callback_); in Write()
611 write_callback_ = callback; in Write()
753 DCHECK(write_callback_); in DoWriteCallback()
756 CompletionCallback* c = write_callback_; in DoWriteCallback()
757 write_callback_ = NULL; in DoWriteCallback()
Dtcp_client_socket_win.h125 CompletionCallback* write_callback_; variable
Dssl_client_socket_win.h114 CompletionCallbackImpl<SSLClientSocketWin> write_callback_; variable
Dsocket_test_util.cc866 write_callback_(NULL), in DeterministicMockTCPClientSocket()
881 write_callback_->Run(write_result_); in CompleteWrite()
924 write_callback_ = callback; in Write()
926 DCHECK(write_callback_ != NULL); in Write()
Dssl_client_socket_win.cc394 write_callback_(this, &SSLClientSocketWin::OnWriteComplete)), in SSLClientSocketWin()
1440 &write_callback_); in DoPayloadWrite()
Dsocket_test_util.h686 net::CompletionCallback* write_callback_; variable
/external/chromium/net/tools/dump_cache/
Dupgrade.cc219 write_callback_(this, &MasterSM::DoReadDataComplete)) { in MasterSM()
270 net::CompletionCallbackImpl<MasterSM> write_callback_; member in __anona64442140111::MasterSM
514 &write_callback_); in DoReadData()
/external/chromium/net/socket_stream/
Dsocket_stream.h309 CompletionCallbackImpl<SocketStream> write_callback_; variable
Dsocket_stream.cc66 write_callback_(this, &SocketStream::OnWriteCompleted)), in SocketStream()
917 &write_callback_); in DoReadWrite()
/external/flac/libFLAC/
Dmetadata_iterators.c166 static FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLA…
194 …if(FLAC__stream_decoder_init_file(decoder, filename, write_callback_, metadata_callback_, error_ca… in get_one_metadata_block_()
254 FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLAC__Fram… in write_callback_() function