/third_party/node/deps/openssl/openssl/crypto/rand/ |
H A D | rand_egd.c | 46 short sun_family; /* AF_UNIX */ 84 socket_transport_name_get(AF_UNIX, current_transport, 20); in hpns_socket() 90 if (socket_transport_name_set(AF_UNIX, transport)) in hpns_socket() 96 if (socket_transport_name_set(AF_UNIX, current_transport)) in hpns_socket() 121 addr.sun_family = AF_UNIX; in RAND_query_egd_bytes() 127 fd = hpns_socket(AF_UNIX, SOCK_STREAM, 0, AF_UNIX_COMPATIBILITY); in RAND_query_egd_bytes() 129 fd = socket(AF_UNIX, SOCK_STREAM, 0); in RAND_query_egd_bytes() 161 /* try the other kind of AF_UNIX socket */ in RAND_query_egd_bytes() 163 fd = hpns_socket(AF_UNIX, SOCK_STREAM, 0, AF_UNIX_PORTABILITY); in RAND_query_egd_bytes()
|
/third_party/openssl/crypto/rand/ |
H A D | rand_egd.c | 46 short sun_family; /* AF_UNIX */ 84 socket_transport_name_get(AF_UNIX, current_transport, 20); in hpns_socket() 90 if (socket_transport_name_set(AF_UNIX, transport)) in hpns_socket() 96 if (socket_transport_name_set(AF_UNIX, current_transport)) in hpns_socket() 121 addr.sun_family = AF_UNIX; in RAND_query_egd_bytes() 127 fd = hpns_socket(AF_UNIX, SOCK_STREAM, 0, AF_UNIX_COMPATIBILITY); in RAND_query_egd_bytes() 129 fd = socket(AF_UNIX, SOCK_STREAM, 0); in RAND_query_egd_bytes() 161 /* try the other kind of AF_UNIX socket */ in RAND_query_egd_bytes() 163 fd = hpns_socket(AF_UNIX, SOCK_STREAM, 0, AF_UNIX_PORTABILITY); in RAND_query_egd_bytes()
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bio_addr.c | 92 #ifdef AF_UNIX in BIO_ADDR_make() 93 if (sa->sa_family == AF_UNIX) { in BIO_ADDR_make() 106 #ifdef AF_UNIX in BIO_ADDR_rawmake() 107 if (family == AF_UNIX) { in BIO_ADDR_rawmake() 160 #ifdef AF_UNIX in BIO_ADDR_rawaddress() 161 else if (ap->sa.sa_family == AF_UNIX) { in BIO_ADDR_rawaddress() 299 #ifdef AF_UNIX in BIO_ADDR_path_string() 300 if (ap->sa.sa_family == AF_UNIX) in BIO_ADDR_path_string() 330 * isn't set or is something other than AF_INET, AF_INET6 or AF_UNIX, 341 #ifdef AF_UNIX in BIO_ADDR_sockaddr_size() [all...] |
H A D | bio_local.h | 37 * Undefine AF_UNIX on systems that define it but don't support it. 40 # undef AF_UNIX macro 80 # ifdef AF_UNIX
|
/third_party/openssl/crypto/bio/ |
H A D | bio_addr.c | 92 #ifdef AF_UNIX in BIO_ADDR_make() 93 if (sa->sa_family == AF_UNIX) { in BIO_ADDR_make() 106 #ifdef AF_UNIX in BIO_ADDR_rawmake() 107 if (family == AF_UNIX) { in BIO_ADDR_rawmake() 160 #ifdef AF_UNIX in BIO_ADDR_rawaddress() 161 else if (ap->sa.sa_family == AF_UNIX) { in BIO_ADDR_rawaddress() 299 #ifdef AF_UNIX in BIO_ADDR_path_string() 300 if (ap->sa.sa_family == AF_UNIX) in BIO_ADDR_path_string() 330 * isn't set or is something other than AF_INET, AF_INET6 or AF_UNIX, 341 #ifdef AF_UNIX in BIO_ADDR_sockaddr_size() [all...] |
H A D | bio_local.h | 37 * Undefine AF_UNIX on systems that define it but don't support it. 40 # undef AF_UNIX macro 80 # ifdef AF_UNIX
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
H A D | bind05.c | 22 .sun_family = AF_UNIX, 26 .sun_family = AF_UNIX, 30 .sun_family = AF_UNIX, 41 "AF_UNIX pathname datagram"}, 43 sizeof(abstract_addr), "AF_UNIX abstract datagram"}, 94 * Both sides of AF_UNIX/SOCK_DGRAM socket must be bound for in peer_thread() 97 if (tc->address->sa_family == AF_UNIX) in peer_thread() 113 if (tc->address->sa_family == AF_UNIX) in peer_thread() 176 if (tc->address->sa_family == AF_UNIX && tmp_addr->sun_path[0]) in test_bind()
|
H A D | bind03.c | 59 sun1.sun_family = AF_UNIX; in setup() 60 sun2.sun_family = AF_UNIX; in setup()
|
H A D | bind04.c | 22 .sun_family = AF_UNIX, 26 .sun_family = AF_UNIX, 37 "AF_UNIX pathname stream"}, 39 "AF_UNIX pathname seqpacket"}, 41 sizeof(abstract_addr), "AF_UNIX abstract stream"}, 43 sizeof(abstract_addr), "AF_UNIX abstract seqpacket"}, 159 if (tc->address->sa_family == AF_UNIX && tmp_addr->sun_path[0]) in test_bind()
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg02.c | 74 sa.sun_family = AF_UNIX; in client() 91 fd = socket(AF_UNIX, SOCK_DGRAM, 0); in client() 108 sa.sun_family = AF_UNIX; in server() 112 fd = socket(AF_UNIX, SOCK_DGRAM, 0); in server()
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
H A D | io_uring02.c | 70 addr.sun_family = AF_UNIX; in setup() 80 sendsock = SAFE_SOCKET(AF_UNIX, SOCK_DGRAM, 0); in setup() 81 recvsock = SAFE_SOCKET(AF_UNIX, SOCK_DGRAM, 0); in setup() 95 SAFE_SOCKETPAIR(AF_UNIX, SOCK_DGRAM, 0, sockpair); in drain_fallback()
|
/third_party/libfuse/example/ |
H A D | passthrough_helpers.h | 54 fd = socket(AF_UNIX, SOCK_STREAM, 0); in mknod_wrapper() 61 su.sun_family = AF_UNIX; in mknod_wrapper()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | socketpair.c | 32 int result = socketpair(AF_UNIX, SOCK_STREAM, 0, fb); in socketpair_0100() 67 int result = socketpair(AF_UNIX, SOCK_STREAM, 0, fb); in socketpair_0300()
|
H A D | inet_ntop.c | 86 * @tc.desc : Verify that the data format is converted to IP address format (the address cluster is AF_UNIX) 93 inet_pton(AF_UNIX, ip4test, &sin_addr); in inet_ntop_0500() 94 const char *ptr = inet_ntop(AF_UNIX, &sin_addr, ip4test, sizeof(ip4test)); in inet_ntop_0500()
|
/third_party/toybox/toys/net/ |
H A D | netcat.c | 75 // open AF_UNIX socket 86 sockaddr.sun_family = AF_UNIX; in usock() 88 sockfd = xsocket(AF_UNIX, type, 0); in usock() 115 else if (FLAG(U)) family = AF_UNIX; in netcat_main()
|
/third_party/mesa3d/src/util/ |
H A D | os_socket.c | 23 int s = socket(AF_UNIX, SOCK_STREAM, 0); in os_socket_listen_abstract() 29 addr.sun_family = AF_UNIX; in os_socket_listen_abstract()
|
/third_party/node/deps/uv/src/unix/ |
H A D | pipe.c | 76 err = uv__socket(AF_UNIX, SOCK_STREAM, 0); in uv_pipe_bind() 88 saddr.sun_family = AF_UNIX; in uv_pipe_bind() 203 err = uv__socket(AF_UNIX, SOCK_STREAM, 0); in uv_pipe_connect() 211 saddr.sun_family = AF_UNIX; in uv_pipe_connect()
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
H A D | fortify_recv_chk_test.cpp | 32 addr.sun_family = AF_UNIX; in ConnectFunc() 58 addr.sun_family = AF_UNIX; in SockInit()
|
/third_party/python/Lib/test/ |
H A D | mock_socket.py | 165 if hasattr(socket_module, 'AF_UNIX'): 166 AF_UNIX = socket_module.AF_UNIX
|
/third_party/pulseaudio/src/modules/ |
H A D | module-devd-detect.c | 88 struct sockaddr_un addr = { .sun_family = AF_UNIX }; in pa__init() 97 if ((fd = socket(AF_UNIX, SOCK_SEQPACKET, 0)) < 0) { in pa__init()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | s_socket.c | 59 * @host: the host name or path (for AF_UNIX) to connect to. 60 * @port: the port to connect to (ignored for AF_UNIX). 61 * @bindhost: source host or path (for AF_UNIX). 62 * @bindport: source port (ignored for AF_UNIX). 63 * @family: desired socket family, may be AF_INET, AF_INET6, AF_UNIX or 69 * family == AF_UNIX, to the path found in host. 182 BIO_ADDRINFO_family(res) == AF_UNIX ? "unix " : "", in init_client() 242 * @host: the host name or path (for AF_UNIX) to connect to. 243 * @port: the port to connect to (ignored for AF_UNIX). 244 * @family: desired socket family, may be AF_INET, AF_INET6, AF_UNIX o [all...] |
/third_party/python/Lib/multiprocessing/ |
H A D | forkserver.py | 87 with socket.socket(socket.AF_UNIX) as client: 136 with socket.socket(socket.AF_UNIX) as listener: 137 address = connection.arbitrary_address('AF_UNIX') 207 with socket.socket(socket.AF_UNIX, fileno=listener_fd) as listener, \
|
/third_party/openssl/apps/lib/ |
H A D | s_socket.c | 59 * @host: the host name or path (for AF_UNIX) to connect to. 60 * @port: the port to connect to (ignored for AF_UNIX). 61 * @bindhost: source host or path (for AF_UNIX). 62 * @bindport: source port (ignored for AF_UNIX). 63 * @family: desired socket family, may be AF_INET, AF_INET6, AF_UNIX or 69 * family == AF_UNIX, to the path found in host. 182 BIO_ADDRINFO_family(res) == AF_UNIX ? "unix " : "", in init_client() 242 * @host: the host name or path (for AF_UNIX) to connect to. 243 * @port: the port to connect to (ignored for AF_UNIX). 244 * @family: desired socket family, may be AF_INET, AF_INET6, AF_UNIX o [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | functional.py | 53 if hasattr(socket, 'AF_UNIX') and family == socket.AF_UNIX: 85 if not hasattr(socket, 'AF_UNIX'): 87 return self.tcp_server(*args, family=socket.AF_UNIX, **kwargs) 90 if not hasattr(socket, 'AF_UNIX'): 92 return self.tcp_client(*args, family=socket.AF_UNIX, **kwargs)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
H A D | l2_packet_privsep.c | 115 if (from.sun_family != AF_UNIX || in l2_packet_receive() 161 l2->priv_addr.sun_family = AF_UNIX; in l2_packet_init() 175 addr.sun_family = AF_UNIX; in l2_packet_init()
|