/external/chromium_org/chrome/common/extensions/api/sockets/ |
sockets_manifest_handler.cc | 5 #include "chrome/common/extensions/api/sockets/sockets_manifest_handler.h" 7 #include "chrome/common/extensions/api/sockets/sockets_manifest_data.h" 8 #include "chrome/common/extensions/api/sockets/sockets_manifest_permission.h" 20 const base::Value* sockets = NULL; local 21 CHECK(extension->manifest()->Get(manifest_keys::kSockets, &sockets)); 23 SocketsManifestData::FromValue(*sockets, error);
|
sockets_manifest_permission.cc | 5 #include "chrome/common/extensions/api/sockets/sockets_manifest_permission.h" 11 #include "chrome/common/extensions/api/sockets/sockets_manifest_data.h" 26 using api::manifest_types::Sockets; 96 scoped_ptr<Sockets> sockets = Sockets::FromValue(value, error); local 97 if (!sockets) 101 if (sockets->udp) { 104 sockets->udp->bind, 110 sockets->udp->send 191 Sockets sockets; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
macsocketserver.h | 43 const std::set<MacAsyncSocket*>& sockets() { function in class:talk_base::MacBaseSocketServer
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/ |
main.cc | 96 SocketArray sockets; local 104 for (SocketArray::iterator i = sockets.begin(); i != sockets.end(); ++i) 113 for (SocketArray::iterator i = sockets.begin(); i != sockets.end(); ++i) { 165 i = sockets.erase(i); 166 if (i == sockets.end()) 175 if (sockets.size() >= kMaxConnections) { 179 sockets.push_back(s); 185 for (SocketArray::iterator i = sockets.begin(); i != sockets.end(); ++i [all...] |
/frameworks/native/libs/gui/ |
BitTube.cpp | 71 int sockets[2]; local 72 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets) == 0) { 74 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(rcvbuf)); 75 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf)); 77 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)); 78 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); 79 fcntl(sockets[0], F_SETFL, O_NONBLOCK); 80 fcntl(sockets[1], F_SETFL, O_NONBLOCK); 81 mReceiveFd = sockets[0]; 82 mSendFd = sockets[1] [all...] |
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/ |
tcp_socket_event_dispatcher.h | 19 // Dispatch events related to "sockets.tcp" sockets from callback on native 59 scoped_refptr<SocketData> sockets; member in struct:extensions::api::TCPSocketEventDispatcher::ReadParams
|
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/ |
udp_socket_event_dispatcher.h | 19 // Dispatch events related to "sockets.udp" sockets from callback on native 59 scoped_refptr<SocketData> sockets; member in struct:extensions::api::UDPSocketEventDispatcher::ReceiveParams
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLSocketPair.java | 60 SSLSocket[] sockets = connect(c, null, null); local 61 return new TestSSLSocketPair(c, sockets[0], sockets[1]);
|
/external/chromium/third_party/libevent/ |
http-internal.h | 114 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
|
/external/chromium_org/chrome/browser/local_discovery/ |
service_discovery_host_client.cc | 28 SocketInfoList sockets; local 44 sockets.push_back(socket); 48 return sockets; 277 void ServiceDiscoveryHostClient::OnSocketsReady(const SocketInfoList& sockets) { 286 if (sockets.empty()) { 290 utility_host_->Send(new LocalDiscoveryMsg_SetSockets(sockets));
|
/external/chromium_org/net/udp/ |
udp_socket_unittest.cc | 170 // Delete sockets so they log their final events. 295 std::vector<UDPClientSocket*> sockets; local 299 // Create and connect sockets and save port numbers. 307 sockets.push_back(socket); 316 delete sockets.back(); 317 sockets.pop_back(); 336 STLDeleteElements(&sockets);
|
/external/chromium_org/third_party/libevent/ |
http-internal.h | 114 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
|
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 47 private Socket[] sockets; field in class:InterruptedStreamTest 57 if (sockets != null) { 58 sockets[0].close(); 59 sockets[1].close(); 98 sockets = newSocketChannelPair(); 99 testInterruptReadableChannel(sockets[0].getChannel()); 103 sockets = newSocketChannelPair(); 104 testInterruptWritableChannel(sockets[0].getChannel()); 108 * Returns a pair of connected sockets backed by NIO socket channels.
|
/system/core/init/ |
init.h | 101 struct socketinfo *sockets; member in struct:service
|
/external/chromium_org/base/process/ |
process_util_unittest.cc | 547 int sockets[2]; local 548 socketpair(AF_UNIX, SOCK_STREAM, 0, sockets); 555 ret = IGNORE_EINTR(close(sockets[0])); 557 ret = IGNORE_EINTR(close(sockets[1]));
|
/external/chromium_org/media/audio/win/ |
audio_output_win_unittest.cc | 681 base::SyncSocket sockets[2]; local 682 ASSERT_TRUE(base::SyncSocket::CreatePair(&sockets[0], &sockets[1])); 684 SyncSocketSource source(&sockets[0], params); 692 thread_context.socket = &sockets[1];
|
/external/chromium_org/net/dns/ |
mdns_client_impl.cc | 33 ScopedVector<DatagramServerSocket>* sockets) { 41 sockets->push_back(socket.release()); 112 ScopedVector<DatagramServerSocket> sockets; local 113 socket_factory->CreateSockets(&sockets); 115 for (size_t i = 0; i < sockets.size(); ++i) { 117 new MDnsConnection::SocketHandler(make_scoped_ptr(sockets[i]), this)); 119 sockets.weak_clear(); 121 // All unbound sockets need to be bound before processing untrusted input. 133 VLOG(1) << "Sockets ready:" << socket_handlers_.size();
|
/external/chromium/base/ |
process_util_unittest.cc | 456 int sockets[2]; local 457 socketpair(AF_UNIX, SOCK_STREAM, 0, sockets); 464 ret = HANDLE_EINTR(close(sockets[0])); 466 ret = HANDLE_EINTR(close(sockets[1]));
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 121 int sockets[2]; local 122 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets)) { 132 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); 133 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); 134 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); 135 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); 139 outServerChannel = new InputChannel(serverChannelName, sockets[0]); 143 outClientChannel = new InputChannel(clientChannelName, sockets[1]); [all...] |
/external/openssh/ |
ssh-agent.c | 102 SocketEntry *sockets = NULL; variable 909 if (sockets[i].type == AUTH_UNUSED) { 910 sockets[i].fd = fd; 911 buffer_init(&sockets[i].input); 912 buffer_init(&sockets[i].output); 913 buffer_init(&sockets[i].request); 914 sockets[i].type = type; 919 sockets = xrealloc(sockets, new_alloc, sizeof(sockets[0])) [all...] |
/external/smack/asmack-master/lib/ |
jstun.jar | |