/external/libusb/libusb/os/ |
D | linux_netlink.c | 56 static int set_fd_cloexec_nb(int fd, int socktype) in set_fd_cloexec_nb() argument 62 if (!(socktype & SOCK_CLOEXEC)) { in set_fd_cloexec_nb() 77 if (!(socktype & SOCK_NONBLOCK)) { in set_fd_cloexec_nb() 96 int socktype = SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC; in linux_netlink_start_event_monitor() local 100 linux_netlink_socket = socket(PF_NETLINK, socktype, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor() 102 usbi_dbg("failed to create netlink socket of type %d, attempting SOCK_RAW", socktype); in linux_netlink_start_event_monitor() 103 socktype = SOCK_RAW; in linux_netlink_start_event_monitor() 104 linux_netlink_socket = socket(PF_NETLINK, socktype, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor() 112 ret = set_fd_cloexec_nb(linux_netlink_socket, socktype); in linux_netlink_start_event_monitor()
|
/external/python/cpython2/Lib/logging/ |
D | handlers.py | 741 facility=LOG_USER, socktype=None): argument 757 self.socktype = socktype 764 if socktype is None: 765 socktype = socket.SOCK_DGRAM 767 ress = socket.getaddrinfo(host, port, 0, socktype) 771 af, socktype, proto, _, sa = res 774 sock = socket.socket(af, socktype, proto) 775 if socktype == socket.SOCK_STREAM: 785 self.socktype = socktype 788 use_socktype = self.socktype [all …]
|
/external/python/cpython3/Lib/logging/ |
D | handlers.py | 815 facility=LOG_USER, socktype=None): argument 831 self.socktype = socktype 845 if socktype is None: 846 socktype = socket.SOCK_DGRAM 848 ress = socket.getaddrinfo(host, port, 0, socktype) 852 af, socktype, proto, _, sa = res 855 sock = socket.socket(af, socktype, proto) 856 if socktype == socket.SOCK_STREAM: 866 self.socktype = socktype 869 use_socktype = self.socktype [all …]
|
/external/python/cpython3/Lib/test/support/ |
D | socket_helper.py | 15 def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM): argument 71 with socket.socket(family, socktype) as tempsock:
|
/external/toybox/lib/ |
D | net.c | 19 struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype, in xgetaddrinfo() argument 27 info.ai_socktype = socktype; in xgetaddrinfo()
|
D | lib.h | 359 struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype,
|
/external/autotest/client/cros/cellular/ |
D | prologix_scpi_driver.py | 193 af, socktype, proto, _, sa = res 195 s = socket.socket(af, socktype, proto)
|
/external/python/cpython3/Lib/ |
D | socket.py | 823 af, socktype, proto, canonname, sa = res 826 sock = socket(af, socktype, proto) 954 af, socktype, proto, canonname, sa = res 956 _intenum_converter(socktype, SocketKind),
|
/external/curl/lib/ |
D | connect.h | 90 int socktype; member
|
D | connect.c | 1152 addr.socktype == SOCK_STREAM; in singleipconnect() 1154 is_tcp = (addr.family == AF_INET) && addr.socktype == SOCK_STREAM; in singleipconnect() 1510 addr->socktype = (conn->transport == TRNSPRT_TCP) ? SOCK_STREAM : SOCK_DGRAM; in Curl_socket() 1537 *sockfd = socket(addr->family, addr->socktype, addr->protocol); in Curl_socket()
|
/external/python/cpython2/Lib/ |
D | poplib.py | 347 af, socktype, proto, canonname, sa = res 349 self.sock = socket.socket(af, socktype, proto)
|
D | socket.py | 558 af, socktype, proto, canonname, sa = res 561 sock = socket(af, socktype, proto)
|
D | ftplib.py | 286 af, socktype, proto, canonname, sa = res 288 sock = socket.socket(af, socktype, proto)
|
/external/curl/tests/libtest/ |
D | lib500.c | 38 return socket(addr->family, addr->socktype, addr->protocol); in tst_opensocket()
|
/external/libevent/test/ |
D | regress.h | 115 int socktype, int protocol, int line);
|
D | regress_util.c | 874 int socktype, int protocol, int line) in test_ai_eq_() argument 881 if (socktype > 0) in test_ai_eq_() 882 tt_int_op(ai->ai_socktype, ==, socktype); in test_ai_eq_()
|
/external/libevent/ |
D | listener.c | 219 int socktype = SOCK_STREAM | EVUTIL_SOCK_NONBLOCK; in evconnlistener_new_bind() local 225 socktype |= EVUTIL_SOCK_CLOEXEC; in evconnlistener_new_bind() 227 fd = evutil_socket_(family, socktype, 0); in evconnlistener_new_bind()
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 1188 af, socktype, proto, canonname, sa = res 1191 self.sock = socks.socksocket(af, socktype, proto) 1202 self.sock = socket.socket(af, socktype, proto) 1366 for family, socktype, proto, canonname, sockaddr in address_info: 1369 sock = socks.socksocket(family, socktype, proto) 1381 sock = socket.socket(family, socktype, proto)
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 1173 af, socktype, proto, canonname, sa = res 1176 self.sock = socks.socksocket(af, socktype, proto) 1186 self.sock = socket.socket(af, socktype, proto) 1306 for family, socktype, proto, canonname, sockaddr in address_info: 1309 sock = socks.socksocket(family, socktype, proto) 1320 sock = socket.socket(family, socktype, proto)
|
/external/python/cpython2/Doc/library/ |
D | socket.rst | 235 .. function:: getaddrinfo(host, port[, family[, socktype[, proto[, flags]]]]) 244 The *family*, *socktype* and *proto* arguments can be optionally specified 254 ``(family, socktype, proto, canonname, sockaddr)`` 256 In these tuples, *family*, *socktype*, *proto* are all integers and are 925 af, socktype, proto, canonname, sa = res 927 s = socket.socket(af, socktype, proto) 960 af, socktype, proto, canonname, sa = res 962 s = socket.socket(af, socktype, proto)
|
D | logging.handlers.rst | 416 .. class:: SysLogHandler(address=('localhost', SYSLOG_UDP_PORT), facility=LOG_USER, socktype=socket… 426 *socktype* argument, which defaults to :const:`socket.SOCK_DGRAM` and thus 440 *socktype* was added.
|
/external/python/cpython3/Lib/asyncio/ |
D | base_events.py | 1466 af, socktype, proto, canonname, sa = res 1468 sock = socket.socket(af, socktype, proto) 1474 af, socktype, proto, exc_info=True)
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 447 def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM): argument 501 tempsock = socket.socket(family, socktype)
|
/external/python/cpython2/Modules/ |
D | socketmodule.c | 4170 int family, socktype, protocol, flags; local 4176 family = socktype = protocol = flags = 0; 4179 &hobj, &pobj, &family, &socktype, 4223 hints.ai_socktype = socktype;
|
/external/google-breakpad/src/third_party/curl/ |
D | curl.h | 234 int socktype; member
|