/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/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...] |
/external/chromium/chrome/common/ |
multi_process_lock_linux.cc | 68 int socket_fd = socket(AF_LOCAL, SOCK_STREAM, 0); local 69 if (socket_fd < 0) { 74 if (bind(socket_fd, 77 fd_ = socket_fd; 83 if (HANDLE_EINTR(close(socket_fd)) < 0) {
|
/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) {
|
/hardware/qcom/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/device/bluetooth/ |
bluetooth_socket_win.cc | 48 SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); local 57 int status = connect(socket_fd, 63 new BluetoothSocketWin(socket_fd); 68 closesocket(socket_fd);
|
/external/chromium_org/ipc/ |
ipc_channel_posix_unittest.cc | 144 int socket_fd = socket(PF_UNIX, SOCK_STREAM, 0); local 145 ASSERT_GE(socket_fd, 0) << name; 146 ASSERT_GE(fcntl(socket_fd, F_SETFL, O_NONBLOCK), 0); 163 ASSERT_GE(bind(socket_fd, 168 ASSERT_GE(listen(socket_fd, SOMAXCONN), 0) << server_address.sun_path 172 ASSERT_GE(connect(socket_fd, 180 handle->socket.fd = socket_fd;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
macasyncsocket.cc | 229 int socket_fd = ::accept(native_socket_, reinterpret_cast<sockaddr*>(&saddr), local 231 if (socket_fd == INVALID_SOCKET) { 236 MacAsyncSocket* s = new MacAsyncSocket(ss_, saddr.ss_family, socket_fd);
|
/external/qemu/ |
qemu-sockets-android.c | 92 const char* socket_fd = qemu_opt_get(opts, "socket"); local 93 if (socket_fd) { 94 return atoi(socket_fd); 197 const char* socket_fd = qemu_opt_get(opts, "socket"); local 198 if (socket_fd) { 199 return atoi(socket_fd); 424 int socket_fd; local 426 if (1 != sscanf(h+7,"%d",&socket_fd)) { 431 if (socket_fd < 0 || socket_fd >= INT_MAX) [all...] |
qemu-sockets.c | 139 const char* socket_fd = qemu_opt_get(opts, "socket"); local 140 if (socket_fd) { 141 return atoi(socket_fd); 242 const char* socket_fd = qemu_opt_get(opts, "socket"); local 243 if (socket_fd) { 244 return atoi(socket_fd); 479 int socket_fd; local 481 if (1 != sscanf(h+7,"%d",&socket_fd)) { 486 if (socket_fd < 0 || socket_fd >= INT_MAX) [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_btservice_AdapterService.cpp | 831 int socket_fd; local 849 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { 855 if (socket_fd < 0) { 861 return socket_fd; 874 int socket_fd; local 888 (const uint8_t*) uuid, channel, &socket_fd, flag)) != BT_STATUS_SUCCESS) { 893 if (socket_fd < 0) { 899 return socket_fd; [all...] |