/system/bt/osi/src/socket_utils/ |
D | socket_local_client.c | 35 struct sockaddr_un *p_addr, socklen_t *alen) { in osi_socket_make_sockaddr_un() argument 99 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in osi_socket_make_sockaddr_un() 115 socklen_t alen; in osi_socket_local_client_connect() local 118 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in osi_socket_local_client_connect() 124 OSI_NO_INTR(err = connect(fd, (struct sockaddr *)&addr, alen)); in osi_socket_local_client_connect()
|
D | socket_local_server.c | 44 socklen_t alen; local 48 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 68 if (bind(s, (struct sockaddr *)&addr, alen) < 0) {
|
/system/core/libcutils/ |
D | socket_local_client_unix.c | 48 struct sockaddr_un *p_addr, socklen_t *alen) in socket_make_sockaddr_un() argument 113 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in socket_make_sockaddr_un() 130 socklen_t alen; in socket_local_client_connect() local 133 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect() 139 if(connect(fd, (struct sockaddr *) &addr, alen) < 0) { in socket_local_client_connect()
|
D | socket_local_server_unix.c | 58 socklen_t alen; local 62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 82 if(bind(s, (struct sockaddr *) &addr, alen) < 0) {
|
D | socket_local_unix.h | 37 struct sockaddr_un *p_addr, socklen_t *alen);
|
/system/core/adb/ |
D | adb_listeners.cpp | 39 socklen_t alen = sizeof(ss); in ss_listener_event_func() local 40 int fd = adb_socket_accept(_fd, addrp, &alen); in ss_listener_event_func() 64 socklen_t alen; in listener_event_func() local 67 alen = sizeof(ss); in listener_event_func() 68 fd = adb_socket_accept(_fd, addrp, &alen); in listener_event_func()
|
D | adb_auth_client.cpp | 230 socklen_t alen; in adb_auth_listener() local 233 alen = sizeof(addr); in adb_auth_listener() 235 s = adb_socket_accept(fd, reinterpret_cast<sockaddr*>(&addr), &alen); in adb_auth_listener()
|
D | transport_local.cpp | 150 socklen_t alen; in server_socket_thread() local 168 alen = sizeof(ss); in server_socket_thread() 170 fd = adb_socket_accept(serverfd, addrp, &alen); in server_socket_thread()
|
D | socket_test.cpp | 250 socklen_t alen; in TEST_F() local 251 alen = sizeof(addr); in TEST_F() 252 int accept_fd = adb_socket_accept(listen_fd, &addr, &alen); in TEST_F()
|
/system/bt/osi/include/socket_utils/ |
D | socket_local.h | 36 struct sockaddr_un *p_addr, socklen_t *alen);
|
/system/core/liblog/ |
D | logd_reader.c | 138 socklen_t *alen) in socket_make_sockaddr_un() argument 204 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; in socket_make_sockaddr_un() 221 socklen_t alen; in socket_local_client_connect() local 224 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect() 230 if(connect(fd, (struct sockaddr *) &addr, alen) < 0) { in socket_local_client_connect()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 204 socklen_t alen; in runListener() local 208 alen = sizeof(ss); in runListener() 209 c = accept(mSock, addrp, &alen); in runListener()
|
/system/core/lmkd/ |
D | lmkd.c | 402 socklen_t alen; in ctrl_connect_handler() local 410 alen = sizeof(ss); in ctrl_connect_handler() 411 ctrl_dfd = accept(ctrl_lfd, addrp, &alen); in ctrl_connect_handler()
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 829 socklen_t alen = sizeof(ss); in do_server() local 832 int fd = accept4(s, addrp, &alen, SOCK_CLOEXEC); in do_server()
|