Home
last modified time | relevance | path

Searched refs:sock_family (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/base/
Dunix_socket.cc639 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/
Dportpicker_test.py324 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,
Dportserver_test.py77 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/
Dsocketmodule.h127 int sock_family; /* Address family, e.g., AF_INET */ member
Dsocketmodule.c813 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/
Dsocketmodule.h285 int sock_family; /* Address family, e.g., AF_INET */ member
Dsocketmodule.c962 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 …]