/external/webkit/Source/WebKit2/UIProcess/Launcher/qt/ |
ProcessLauncherQt.cpp | 106 int sockets[2]; local 107 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, sockets) == -1) { 114 while (fcntl(sockets[1], F_SETFD, FD_CLOEXEC) == -1) { 117 while (close(sockets[0]) == -1 && errno == EINTR) { } 118 while (close(sockets[1]) == -1 && errno == EINTR) { } 123 QString program(applicationPath.arg(sockets[0])); 130 while (fcntl(sockets[0], F_SETFD, FD_CLOEXEC) == -1) { 147 RunLoop::main()->scheduleWork(WorkItem::create(this, &WebKit::ProcessLauncher::didFinishLaunchingProcess, webProcess, sockets[1]));
|
/external/webkit/Source/WebKit2/UIProcess/Launcher/gtk/ |
ProcessLauncherGtk.cpp | 63 int sockets[2]; local 64 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, sockets) < 0) { 71 GOwnPtr<gchar> socket(g_strdup_printf("%d", sockets[0])); 79 if (!g_spawn_async(0, argv, 0, static_cast<GSpawnFlags>(spawnFlags), childSetupFunction, GINT_TO_POINTER(sockets[1]), &pid, &error.outPtr())) { 84 close(sockets[0]); 87 RunLoop::main()->scheduleWork(WorkItem::create(this, &ProcessLauncher::didFinishLaunchingProcess, m_processIdentifier, sockets[1]));
|
/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
|
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 46 private Socket[] sockets; field in class:InterruptedStreamTest 49 if (sockets != null) { 50 sockets[0].close(); 51 sockets[1].close(); 90 sockets = newSocketChannelPair(); 91 testInterruptReadableChannel(sockets[0].getChannel()); 95 sockets = newSocketChannelPair(); 96 testInterruptReadableChannel(sockets[0].getChannel()); 100 * Returns a pair of connected sockets backed by NIO socket channels.
|
/system/core/init/ |
init.h | 98 struct socketinfo *sockets; member in struct:service
|
/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]));
|
/system/core/libcutils/ |
mq.c | 811 int sockets[2]; local 812 int result = socketpair(AF_LOCAL, SOCK_STREAM, 0, sockets); 835 packetA->socket = sockets[0]; 836 packetB->socket = sockets[1]; [all...] |