Home
last modified time | relevance | path

Searched refs:sock_fd (Results 1 – 3 of 3) sorted by relevance

/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c546 int sock_fd = -1; in tunning_server_socket_listen() local
563 sock_fd = socket(AF_INET, SOCK_STREAM, 0); in tunning_server_socket_listen()
564 if (sock_fd < 0) { in tunning_server_socket_listen()
566 return sock_fd; in tunning_server_socket_listen()
570 socket_flag = fcntl(sock_fd, F_GETFL, 0); in tunning_server_socket_listen()
571 fcntl(sock_fd, F_SETFL, socket_flag | O_NONBLOCK); in tunning_server_socket_listen()
575 result = setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in tunning_server_socket_listen()
580 close(sock_fd); in tunning_server_socket_listen()
581 sock_fd = -1; in tunning_server_socket_listen()
582 return sock_fd; in tunning_server_socket_listen()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c546 int sock_fd = -1; in tunning_server_socket_listen() local
563 sock_fd = socket(AF_INET, SOCK_STREAM, 0); in tunning_server_socket_listen()
564 if (sock_fd < 0) { in tunning_server_socket_listen()
566 return sock_fd; in tunning_server_socket_listen()
570 socket_flag = fcntl(sock_fd, F_GETFL, 0); in tunning_server_socket_listen()
571 fcntl(sock_fd, F_SETFL, socket_flag | O_NONBLOCK); in tunning_server_socket_listen()
575 result = setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in tunning_server_socket_listen()
580 close(sock_fd); in tunning_server_socket_listen()
581 sock_fd = -1; in tunning_server_socket_listen()
582 return sock_fd; in tunning_server_socket_listen()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c545 int sock_fd = -1; in tunning_server_socket_listen() local
562 sock_fd = socket(AF_INET, SOCK_STREAM, 0); in tunning_server_socket_listen()
563 if (sock_fd < 0) { in tunning_server_socket_listen()
565 return sock_fd; in tunning_server_socket_listen()
569 socket_flag = fcntl(sock_fd, F_GETFL, 0); in tunning_server_socket_listen()
570 fcntl(sock_fd, F_SETFL, socket_flag | O_NONBLOCK); in tunning_server_socket_listen()
574 result = setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in tunning_server_socket_listen()
579 close(sock_fd); in tunning_server_socket_listen()
580 sock_fd = -1; in tunning_server_socket_listen()
581 return sock_fd; in tunning_server_socket_listen()
[all …]