/external/chromium_org/content/browser/renderer_host/p2p/ |
D | socket_host_test_utils.cc | 21 FakeSocket::FakeSocket(std::string* written_data) in FakeSocket() function in FakeSocket 29 FakeSocket::~FakeSocket() { } in ~FakeSocket() 31 void FakeSocket::AppendInputData(const char* data, int data_size) { in AppendInputData() 48 void FakeSocket::SetPeerAddress(const net::IPEndPoint& peer_address) { in SetPeerAddress() 52 void FakeSocket::SetLocalAddress(const net::IPEndPoint& local_address) { in SetLocalAddress() 56 int FakeSocket::Read(net::IOBuffer* buf, int buf_len, in Read() 74 int FakeSocket::Write(net::IOBuffer* buf, int buf_len, in Write() 82 &FakeSocket::DoAsyncWrite, base::Unretained(this), in Write() 95 void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, in DoAsyncWrite() 106 int FakeSocket::SetReceiveBufferSize(int32 size) { in SetReceiveBufferSize() [all …]
|
D | socket_host_tcp_server_unittest.cc | 123 FakeSocket* incoming = new FakeSocket(NULL); in TEST_F() 143 FakeSocket* incoming1 = new FakeSocket(NULL); in TEST_F() 147 FakeSocket* incoming2 = new FakeSocket(NULL); in TEST_F()
|
D | socket_host_test_utils.h | 31 class FakeSocket : public net::StreamSocket { 33 FakeSocket(std::string* written_data); 34 virtual ~FakeSocket();
|
D | socket_host_tcp_unittest.cc | 41 socket_ = new FakeSocket(&sent_data_); in SetUp() 63 FakeSocket* socket_; // Owned by |socket_host_|.
|
/external/chromium_org/remoting/protocol/ |
D | fake_session.cc | 20 FakeSocket::FakeSocket() in FakeSocket() function in remoting::protocol::FakeSocket 33 FakeSocket::~FakeSocket() { in ~FakeSocket() 37 void FakeSocket::AppendInputData(const std::vector<char>& data) { in AppendInputData() 54 void FakeSocket::PairWith(FakeSocket* peer_socket) { in PairWith() 60 int FakeSocket::Read(net::IOBuffer* buf, int buf_len, in Read() 85 int FakeSocket::Write(net::IOBuffer* buf, int buf_len, in Write() 95 &FakeSocket::DoAsyncWrite, weak_factory_.GetWeakPtr(), in Write() 111 void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, in DoAsyncWrite() 126 void FakeSocket::DoWrite(net::IOBuffer* buf, int buf_len) { in DoWrite() 133 base::Bind(&FakeSocket::AppendInputData, in DoWrite() [all …]
|
D | fake_session.h | 39 class FakeSocket : public net::StreamSocket { 41 FakeSocket(); 42 virtual ~FakeSocket(); 51 void PairWith(FakeSocket* peer_socket); 95 base::WeakPtr<FakeSocket> peer_socket_; 104 base::WeakPtrFactory<FakeSocket> weak_factory_; 106 DISALLOW_COPY_AND_ASSIGN(FakeSocket); 166 FakeSocket* GetStreamChannel(const std::string& name); 204 std::map<std::string, FakeSocket*> stream_channels_;
|
D | authenticator_test_base.h | 28 class FakeSocket; variable 64 scoped_ptr<FakeSocket> client_fake_socket_; 65 scoped_ptr<FakeSocket> host_fake_socket_;
|
D | ssl_hmac_channel_authenticator_unittest.cc | 73 client_fake_socket_.reset(new FakeSocket()); in RunChannelAuth() 74 host_fake_socket_.reset(new FakeSocket()); in RunChannelAuth() 128 scoped_ptr<FakeSocket> client_fake_socket_; 129 scoped_ptr<FakeSocket> host_fake_socket_;
|
D | authenticator_test_base.cc | 113 client_fake_socket_.reset(new FakeSocket()); in RunChannelAuth() 114 host_fake_socket_.reset(new FakeSocket()); in RunChannelAuth()
|
D | buffered_socket_writer_unittest.cc | 51 socket_.reset(new FakeSocket()); in SetUp() 101 scoped_ptr<FakeSocket> socket_;
|
D | channel_multiplexer_unittest.cc | 83 FakeSocket* host_socket = in ConnectSockets() 85 FakeSocket* client_socket = in ConnectSockets()
|
D | message_reader_unittest.cc | 104 FakeSocket socket_;
|
/external/chromium_org/jingle/glue/ |
D | pseudotcp_adapter_unittest.cc | 23 class FakeSocket; 75 class FakeSocket : public net::Socket { class 77 FakeSocket() in FakeSocket() function in jingle_glue::__anond862723d0211::FakeSocket 81 virtual ~FakeSocket() { } in ~FakeSocket() 99 void Connect(FakeSocket* peer_socket) { in Connect() 136 base::Bind(&FakeSocket::AppendInputPacket, in Write() 161 FakeSocket* peer_socket_; 304 host_socket_ = new FakeSocket(); in SetUp() 305 client_socket_ = new FakeSocket(); in SetUp() 314 FakeSocket* host_socket_; [all …]
|
/external/chromium_org/net/socket/ |
D | ssl_server_socket_unittest.cc | 156 class FakeSocket : public StreamSocket { class 158 FakeSocket(FakeDataChannel* incoming_channel, in FakeSocket() function in net::__anonf609d9600111::FakeSocket 164 virtual ~FakeSocket() { in ~FakeSocket() 251 DISALLOW_COPY_AND_ASSIGN(FakeSocket); 261 FakeSocket client(&channel_1, &channel_2); in TEST() 262 FakeSocket server(&channel_2, &channel_1); in TEST() 309 scoped_ptr<StreamSocket>(new FakeSocket(&channel_1_, &channel_2_))); in Initialize() 311 new FakeSocket(&channel_2_, &channel_1_)); in Initialize()
|
/external/chromium_org/sync/tools/testserver/ |
D | xmppserver_test.py | 209 class FakeSocket(object): class 241 self.fake_socket = FakeSocket() 345 fake_socket = FakeSocket()
|
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/ |
D | __init__.py | 163 self.sock = httplib.FakeSocket(self.sock, ssl)
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
D | __init__.py | 68 return httplib.FakeSocket(sock, ssl_sock)
|