Searched refs:server_ (Results 1 - 25 of 68) sorted by relevance

123

/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
H A Dpairingcontext.cc25 server_(server) {
37 return server_ ? peer_certificate_ : local_certificate_;
41 return server_ ? local_certificate_ : peer_certificate_;
45 return server_;
49 return !server_;
H A Dpairingcontext.h58 bool server_; member in class:polo::pairing::PairingContext
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtestturnserver.h71 : server_(thread) {
73 server_.SetExternalSocketFactory(new rtc::BasicPacketSocketFactory(),
75 server_.set_realm(kTestRealm);
76 server_.set_software(kTestSoftware);
77 server_.set_auth_hook(this);
81 server_.set_enable_otu_nonce(enable);
84 TurnServer* server() { return &server_; }
87 server_.set_redirect_hook(redirect_hook);
94 server_.AddInternalSocket(rtc::AsyncUDPSocket::Create(
103 server_
115 TurnServer server_; member in class:cricket::TestTurnServer
[all...]
H A Dtestrelayserver.h50 : server_(thread) {
51 server_.AddInternalSocket(rtc::AsyncUDPSocket::Create(
53 server_.AddExternalSocket(rtc::AsyncUDPSocket::Create(
62 return server_.GetConnectionCount();
65 return server_.GetConnection(connection);
68 return server_.HasConnection(address);
94 server_.AddInternalSocket(packet_socket);
98 server_.AddExternalSocket(packet_socket);
103 server_.RemoveInternalSocket(socket);
106 server_
109 cricket::RelayServer server_; member in class:cricket::TestRelayServer
[all...]
H A Dteststunserver.h45 server_(udp_socket_) {
50 cricket::StunServer server_; member in class:cricket::TestStunServer
/external/chromium_org/net/tools/quic/test_tools/
H A Dserver_thread.cc23 server_(server),
28 server_->SetStrikeRegisterNoStartupPeriod();
39 server_->Listen(address_);
42 port_ = server_->port();
58 server_->WaitForEvents();
62 server_->Shutdown();
H A Dserver_thread.h51 QuicServer* server() { return server_.get(); }
66 scoped_ptr<QuicServer> server_; member in class:net::tools::test::ServerThread
/external/chromium_org/third_party/webrtc/base/
H A Dfirewallsocketserver.h34 SocketServer* socketserver() const { return server_; }
36 if (server_ && should_delete_server_) {
37 delete server_;
38 server_ = NULL;
41 server_ = server;
68 server_->SetMessageQueue(queue);
71 return server_->Wait(cms, process_io);
74 return server_->WakeUp();
81 SocketServer * server_; member in class:rtc::FirewallSocketServer
H A Dfirewallsocketserver.cc25 : AsyncSocketAdapter(socket), server_(server), type_(type) {
30 if (!server_->Check(FP_TCP, GetLocalAddress(), addr)) {
46 if (!server_->Check(FP_UDP, GetLocalAddress(), addr)) {
65 if (server_->Check(FP_UDP, *paddr, GetLocalAddress()))
76 if (!server_->tcp_listen_enabled()) {
86 if (server_->Check(FP_TCP, addr, GetLocalAddress())) {
101 FirewallSocketServer* server_; member in class:rtc::FirewallSocket
108 : server_(server), manager_(manager),
120 if (server_ && should_delete_server_) {
121 delete server_;
[all...]
H A Dhttpserver.cc121 : connection_id_(connection_id), server_(server),
166 server_->Remove(connection_id_);
183 server_->SignalHttpRequestHeader(server_, current_, &custom_document);
195 server_->SignalHttpRequestComplete(server_, current_, err);
203 server_->Remove(connection_id_);
212 server_->SignalHttpRequest(server_, transaction);
226 server_
[all...]
H A Dvirtualsocketserver.cc99 : server_(server), family_(family), type_(type), async_(async),
135 int result = server_->Bind(this, &local_addr_);
153 server_->Unbind(local_addr_, this);
164 server_->Disconnect(server_->LookupBinding(addr));
174 server_->LookupConnection(local_addr_, remote_addr_);
180 socket = server_->LookupBinding(remote_addr_);
182 server_->Disconnect(socket);
185 server_->RemoveConnection(remote_addr_, local_addr_);
186 server_
495 VirtualSocketServer* server_; member in class:rtc::VirtualSocket
[all...]
H A Dnatsocketfactory.h113 NATSocketServer* server_; member in class:rtc::NATSocketServer::Translator
122 SocketServer* socketserver() { return server_; }
139 server_->SetMessageQueue(queue);
142 return server_->Wait(cms, process_io);
145 server_->WakeUp();
153 SocketServer* server_; member in class:rtc::NATSocketServer
H A Dwin32socketserver_unittest.cc40 Win32SocketTest() : server_(NULL), scope_(&server_) {}
41 Win32SocketServer server_; member in class:rtc::Win32SocketTest
/external/chromium_org/chrome/test/chromedriver/net/
H A Dtest_http_server.cc79 server_->SetSendBufferSize(connection_id, kBufferSize);
80 server_->SetReceiveBufferSize(connection_id, kBufferSize);
96 server_->AcceptWebSocket(connection_id, info);
99 server_->Send404(connection_id);
102 server_->Close(connection_id);
116 server_->SendOverWebSocket(connection_id, data);
119 server_->Close(connection_id);
135 server_.reset(new net::HttpServer(server_socket.Pass(), this));
138 int error = server_->GetLocalAddress(&address);
145 server_
[all...]
H A Dsync_websocket_impl_unittest.cc35 ASSERT_TRUE(server_.Start());
39 server_.Stop();
43 TestHttpServer server_; member in class:__anon5964::SyncWebSocketImplTest
56 ASSERT_TRUE(sock.Connect(server_.web_socket_url()));
66 ASSERT_TRUE(sock.Connect(server_.web_socket_url()));
77 ASSERT_TRUE(sock.Connect(server_.web_socket_url()));
88 ASSERT_TRUE(sock.Connect(server_.web_socket_url()));
101 ASSERT_TRUE(sock.Connect(server_.web_socket_url()));
121 server_.SetMessageAction(TestHttpServer::kCloseOnMessage);
123 ASSERT_TRUE(sock.Connect(server_
[all...]
H A Dnet_util_unittest.cc60 server_.reset(new net::HttpServer(server_socket.Pass(), this));
62 CHECK_EQ(net::OK, server_->GetLocalAddress(&address));
68 server_.reset(NULL);
79 server_->Send200(connection_id, "hello", "text/plain");
82 server_->Send404(connection_id);
85 server_->Close(connection_id);
108 scoped_ptr<net::HttpServer> server_; member in class:__anon5960::FetchUrlTest
H A Dwebsocket_unittest.cc91 ASSERT_TRUE(server_.Start());
95 server_.Stop();
115 return CreateWebSocket(server_.web_socket_url(), listener);
133 TestHttpServer server_; member in class:__anon5966::WebSocketTest
145 ASSERT_TRUE(CreateWebSocket(server_.web_socket_url(), &listener));
147 ASSERT_TRUE(server_.WaitForConnectionsToClose());
156 server_.SetRequestAction(TestHttpServer::kNotFound);
158 ASSERT_FALSE(CreateWebSocket(server_.web_socket_url(), NULL));
160 ASSERT_TRUE(server_.WaitForConnectionsToClose());
164 server_
[all...]
/external/chromium_org/net/test/embedded_test_server/
H A Dembedded_test_server_unittest.cc60 server_.reset(new EmbeddedTestServer);
61 ASSERT_TRUE(server_->InitializeAndWaitUntilReady());
65 ASSERT_TRUE(server_->ShutdownAndWaitUntilComplete());
92 GURL absolute_url = server_->GetURL(request.relative_url);
110 scoped_ptr<EmbeddedTestServer> server_; member in class:net::test_server::EmbeddedTestServerTest
114 EXPECT_EQ(base::StringPrintf("http://127.0.0.1:%d/", server_->port()),
115 server_->base_url().spec());
120 server_->port()),
121 server_->GetURL("/path?query=foo").spec());
125 server_
[all...]
/external/chromium_org/chrome/test/perf/
H A Dmach_ports_performancetest.cc28 : server_(net::SpawnedTestServer::TYPE_HTTP,
36 ASSERT_TRUE(server_.Start());
77 GURL url = server_.GetURL("files/" + domain + "/").Resolve("?skip");
82 net::SpawnedTestServer server_; member in class:__anon5990::MachPortsTest
/external/chromium_org/sandbox/mac/
H A Dxpc_message_server_unittest.cc42 server_(this, MACH_PORT_NULL),
55 if (!server_.Initialize())
59 if (mach_port_insert_right(mach_task_self(), server_.GetServerPort(),
60 server_.GetServerPort(), MACH_MSG_TYPE_MAKE_SEND) != KERN_SUCCESS) {
63 scoped_send_right_.reset(server_.GetServerPort());
66 pipe_ = xpc_pipe_create_from_port(server_.GetServerPort(), 0);
77 XPCMessageServer* server() { return &server_; }
82 XPCMessageServer server_; member in class:sandbox::BlockDemuxer
H A Dbootstrap_sandbox.h87 // The name in the system bootstrap server by which the |server_|'s port
109 scoped_ptr<LaunchdInterceptionServer> server_; member in class:sandbox::BootstrapSandbox
/external/chromium_org/chrome/browser/ui/
H A Dcrypto_module_password_dialog_nss.cc45 net::HostPortPair server_; member in class:__anon5075::SlotUnlocker
59 server_(server),
75 server_.host(),
/external/chromium_org/content/browser/devtools/
H A Ddevtools_http_handler_impl.cc83 server_(server),
111 base::Unretained(server_),
118 base::Unretained(server_),
128 base::Unretained(server_),
140 net::HttpServer* const server_; member in class:content::__anon7054::DevToolsAgentHostClientImpl::net
207 DCHECK(server_.get() == NULL);
266 if (server_ && server_->GetLocalAddress(&ip_address))
302 server_->SetSendBufferSize(connection_id, kSendBufferSizeForDevTools);
344 server_
[all...]
/external/chromium_org/net/server/
H A Dweb_socket.h49 HttpServer* const server_; member in class:net::WebSocket
/external/chromium_org/sync/test/accounts_client/
H A Dtest_accounts_client.h58 const string server_; member in class:TestAccountsClient

Completed in 510 milliseconds

123