/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 766 self.socket = socket.socket(socket.AF_INET, socktype) 767 if socktype == socket.SOCK_STREAM: 769 self.socktype = socktype 773 use_socktype = self.socktype 780 self.socktype = use_socktype 783 if self.socktype is not None: [all …]
|
/external/libusb/libusb/os/ |
D | linux_netlink.c | 92 int socktype = SOCK_RAW; in linux_netlink_start_event_monitor() local 97 socktype |= SOCK_CLOEXEC; in linux_netlink_start_event_monitor() 100 socktype |= SOCK_NONBLOCK; in linux_netlink_start_event_monitor() 103 linux_netlink_socket = socket(PF_NETLINK, socktype, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor() 105 usbi_dbg("failed to create netlink socket of type %d, attempting SOCK_RAW", socktype); in linux_netlink_start_event_monitor()
|
/external/toybox/lib/ |
D | net.c | 18 int xconnect(char *host, char *port, int family, int socktype, int protocol, in xconnect() argument 26 info.ai_socktype = socktype; in xconnect()
|
D | lib.h | 287 int xconnect(char *host, char *port, int family, int socktype, int protocol,
|
/external/curl/lib/ |
D | connect.c | 670 if(conn->socktype == SOCK_DGRAM) in Curl_updateconninfo() 1022 addr.socktype == SOCK_STREAM; in singleipconnect() 1024 is_tcp = (addr.family == AF_INET) && addr.socktype == SOCK_STREAM; in singleipconnect() 1077 if(!isconnected && (conn->socktype == SOCK_STREAM)) { in singleipconnect() 1335 addr->socktype = conn->socktype; in Curl_socket() 1336 addr->protocol = conn->socktype==SOCK_DGRAM?IPPROTO_UDP:ai->ai_protocol; in Curl_socket() 1358 *sockfd = socket(addr->family, addr->socktype, addr->protocol); in Curl_socket()
|
D | connect.h | 83 int socktype; member
|
D | hostip6.c | 199 hints.ai_socktype = conn->socktype; in Curl_getaddrinfo()
|
D | asyn-thread.c | 645 hints.ai_socktype = conn->socktype; in Curl_resolver_getaddrinfo()
|
D | urldata.h | 928 int socktype; /* SOCK_STREAM or SOCK_DGRAM */ member
|
D | tftp.c | 1362 conn->socktype = SOCK_DGRAM; /* UDP datagram based */ in tftp_setup_connection()
|
D | url.c | 4669 conn->socktype = SOCK_STREAM; /* most of them are TCP streams */ in setup_connection_internals()
|
/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/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 | 284 af, socktype, proto, canonname, sa = res 286 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/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/cpython2/Lib/test/ |
D | test_support.py | 432 def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM): argument 486 tempsock = socket.socket(family, socktype)
|
D | test_socket.py | 690 for _, socktype, _, _, _ in infos: 691 self.assertEqual(socktype, socket.SOCK_STREAM)
|
/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
|
/external/curl/include/curl/ |
D | curl.h | 353 int socktype; member
|
/external/iproute2/misc/ |
D | ss.c | 2396 static int tcp_show(struct filter *f, int socktype) in tcp_show() argument 2411 && inet_show_netlink(f, NULL, socktype) == 0) in tcp_show()
|
/external/curl/packages/OS400/ |
D | curl.inc.in | 1765 d socktype 10i 0
|