/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 53 int socket_fd; local 70 socket_fd = socket(AF_UNIX, sktype, 0); 71 if (socket_fd < 0) { 72 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); 73 return socket_fd; 79 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, 81 close(socket_fd); 82 socket_fd = -1; 83 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)) [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 53 int socket_fd; local 70 socket_fd = socket(AF_UNIX, sktype, 0); 71 if (socket_fd < 0) { 72 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); 73 return socket_fd; 79 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, 81 close(socket_fd); 82 socket_fd = -1; 83 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)) [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 52 int socket_fd; local 69 socket_fd = socket(AF_UNIX, sktype, 0); 70 if (socket_fd < 0) { 71 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); 72 return socket_fd; 78 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, 80 close(socket_fd); 81 socket_fd = -1; 82 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)) [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_sock.c | 52 int socket_fd; local 69 socket_fd = socket(AF_UNIX, sktype, 0); 70 if (socket_fd < 0) { 71 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); 72 return socket_fd; 78 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, 80 close(socket_fd); 81 socket_fd = -1; 82 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)) [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 52 int socket_fd;
local 69 socket_fd = socket(AF_UNIX, sktype, 0);
70 if (socket_fd < 0) {
71 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd);
72 return socket_fd;
78 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr,
80 close(socket_fd);
81 socket_fd = -1;
82 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)); [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 53 int socket_fd; local 70 socket_fd = socket(AF_UNIX, sktype, 0); 71 if (socket_fd < 0) { 72 CDBG_ERROR("%s: error create socket fd =%d", __func__, socket_fd); 73 return socket_fd; 79 if((rc = connect(socket_fd, (struct sockaddr *) &sock_addr, 81 close(socket_fd); 82 socket_fd = -1; 83 CDBG_ERROR("%s: socket_fd=%d %s ", __func__, socket_fd, strerror(errno)) [all...] |
/external/chromium_org/chrome/common/ |
multi_process_lock_linux.cc | 66 int socket_fd = socket(AF_LOCAL, SOCK_STREAM, 0); variable 67 if (socket_fd < 0) { 72 if (bind(socket_fd, 75 fd_ = socket_fd; 81 if (IGNORE_EINTR(close(socket_fd)) < 0) {
|
/external/chromium_org/net/socket/ |
socket_libevent.h | 80 SocketDescriptor socket_fd() const { return socket_fd_; } function in class:net::SocketLibevent
|
unix_domain_listen_socket_posix.cc | 34 SocketDescriptor* socket_fd) { 35 DCHECK(socket_fd); 56 *socket_fd = fd; 70 SocketDescriptor socket_fd = kInvalidSocket; local 71 int rv = CreateAndBind(path, use_abstract_namespace, &socket_fd); 73 rv = CreateAndBind(fallback_path, use_abstract_namespace, &socket_fd); 77 new UnixDomainListenSocket(socket_fd, del, auth_callback));
|
unix_domain_client_socket_posix.cc | 166 SocketDescriptor socket_fd = socket_->ReleaseConnectedSocket(); local 168 return socket_fd;
|
socket_libevent.cc | 111 SocketDescriptor socket_fd = socket_fd_; local 113 return socket_fd;
|
/external/chromium_org/device/bluetooth/ |
bluetooth_socket_win.cc | 198 SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); local 206 int status = connect(socket_fd, reinterpret_cast<SOCKADDR*>(&sa), sizeof(sa)); 214 closesocket(socket_fd); 221 scoped_socket->AdoptConnectedSocket(socket_fd, net::IPEndPoint()); 225 closesocket(socket_fd); 251 SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); local 252 if (socket_fd == INVALID_SOCKET) { 259 // Note that |socket_fd| belongs to a non-TCP address family (i.e. AF_BTH), 261 // is called on |socket_fd| directly. 264 scoped_socket->AdoptListenSocket(socket_fd); [all...] |
/external/chromium_org/ipc/ |
ipc_channel_posix_unittest.cc | 150 int socket_fd = socket(PF_UNIX, SOCK_STREAM, 0); local 151 ASSERT_GE(socket_fd, 0) << name; 152 ASSERT_GE(fcntl(socket_fd, F_SETFL, O_NONBLOCK), 0); 169 ASSERT_GE(bind(socket_fd, 174 ASSERT_GE(listen(socket_fd, SOMAXCONN), 0) << server_address.sun_path 178 ASSERT_GE(connect(socket_fd, 186 handle->socket.fd = socket_fd;
|
/external/chromium_org/third_party/webrtc/base/ |
macasyncsocket.cc | 235 int socket_fd = ::accept(native_socket_, reinterpret_cast<sockaddr*>(&saddr), local 237 if (socket_fd == INVALID_SOCKET) { 242 MacAsyncSocket* s = new MacAsyncSocket(ss_, saddr.ss_family, socket_fd);
|