Searched refs:sock_family (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/base/ |
D | unix_socket.cc | 639 SockFamily sock_family, in Listen() argument 641 auto sock_raw = UnixSocketRaw::CreateMayFail(sock_family, sock_type); in Listen() 646 return Listen(sock_raw.ReleaseFd(), event_listener, task_runner, sock_family, in Listen() 654 SockFamily sock_family, in Listen() argument 658 sock_family, sock_type, SockPeerCredMode::kDefault)); in Listen() 666 SockFamily sock_family, in Connect() argument 670 event_listener, task_runner, sock_family, sock_type, peer_cred_mode)); in Connect() 680 SockFamily sock_family, in AdoptConnected() argument 685 sock_family, sock_type, peer_cred_mode)); in AdoptConnected() 690 SockFamily sock_family, in UnixSocket() argument [all …]
|
/external/python/portpicker/src/tests/ |
D | portpicker_test.py | 324 for (sock_family, sock_type, v6only) in cases: 327 sock = socket.socket(sock_family, sock_type, 0) 329 print('Kernel does not support sock_family=%d' % sock_family,
|
D | portserver_test.py | 77 for (sock_family, sock_type, v6only) in cases: 80 sock = socket.socket(sock_family, sock_type, 0) 82 print('Kernel does not support sock_family=%d' % sock_family,
|
/external/python/cpython2/Modules/ |
D | socketmodule.h | 127 int sock_family; /* Address family, e.g., AF_INET */ member
|
D | socketmodule.c | 813 s->sock_family = family; in init_sockobject() 1265 switch (s->sock_family) { in getsockaddrarg() 1297 addr->sun_family = s->sock_family; in getsockaddrarg() 1405 addr->sin6_family = s->sock_family; in getsockaddrarg() 1633 switch (s->sock_family) { in getsockaddrlen() 1761 s->sock_family, in sock_accept() 2244 s->sock_family, 3129 {"family", T_INT, offsetof(PySocketSockObject, sock_family), READONLY, "the socket family"}, 3175 sock_fd, s->sock_family,
|
/external/python/cpython3/Modules/ |
D | socketmodule.h | 285 int sock_family; /* Address family, e.g., AF_INET */ member
|
D | socketmodule.c | 962 s->sock_family = family; in init_sockobject() 1652 switch (s->sock_family) { in getsockaddrarg() 1695 addr->sun_family = s->sock_family; in getsockaddrarg() 1772 addr->svm_family = s->sock_family; in getsockaddrarg() 1872 addr->sin6_family = s->sock_family; in getsockaddrarg() 2374 switch (s->sock_family) { in getsockaddrlen() 2669 if (s->sock_family == AF_ALG) { in sock_accept_impl() 2952 if (s->sock_family == AF_VSOCK) { in sock_setsockopt() 3045 if (s->sock_family == AF_VSOCK) { in sock_getsockopt() 3063 if (s->sock_family == AF_VSOCK) { in sock_getsockopt() [all …]
|