/third_party/musl/src/network/ |
D | lookup_serv.c | 13 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, i… in __lookup_serv() argument 20 switch (socktype) { in __lookup_serv() 46 buf[0].socktype = socktype; in __lookup_serv() 58 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv() 63 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 95 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 101 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv()
|
D | getaddrinfo.c | 25 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo() local 34 socktype = hint->ai_socktype; in getaddrinfo() 95 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo() 117 .ai_socktype = ports[j].socktype, in getaddrinfo()
|
D | lookup.h | 42 unsigned char proto, socktype; member 59 …up_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags);
|
/third_party/musl/porting/linux/user/src/network/ |
D | lookup_serv.c | 13 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, i… in __lookup_serv() argument 20 switch (socktype) { in __lookup_serv() 46 buf[0].socktype = socktype; in __lookup_serv() 58 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv() 63 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 95 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 101 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv()
|
D | getaddrinfo.c | 112 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo_ext() local 119 socktype = hint->ai_socktype; in getaddrinfo_ext() 181 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo_ext() 207 .ai_socktype = ports[j].socktype, in getaddrinfo_ext()
|
D | lookup.h | 42 unsigned char proto, socktype; member 59 …up_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags);
|
/third_party/openssl/crypto/bio/ |
D | bio_sock2.c | 41 int BIO_socket(int domain, int socktype, int protocol, int options) in BIO_socket() argument 48 sock = socket(domain, socktype, protocol); in BIO_socket() 225 int socktype; in BIO_listen() local 226 socklen_t socktype_len = sizeof(socktype); in BIO_listen() 234 (void *)&socktype, &socktype_len) != 0 in BIO_listen() 235 || socktype_len != sizeof(socktype)) { in BIO_listen() 286 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
|
D | bio_addr.c | 576 static int addrinfo_wrap(int family, int socktype, in addrinfo_wrap() argument 587 (*bai)->bai_socktype = socktype; in addrinfo_wrap() 588 if (socktype == SOCK_STREAM) in addrinfo_wrap() 590 if (socktype == SOCK_DGRAM) in addrinfo_wrap() 625 int family, int socktype, BIO_ADDRINFO **res) in BIO_lookup() argument 627 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup() 653 int family, int socktype, int protocol, BIO_ADDRINFO **res) in BIO_lookup_ex() argument 676 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex() 695 hints.ai_socktype = socktype; in BIO_lookup_ex() 860 switch (socktype) { in BIO_lookup_ex() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
D | bio_sock2.c | 41 int BIO_socket(int domain, int socktype, int protocol, int options) in BIO_socket() argument 48 sock = socket(domain, socktype, protocol); in BIO_socket() 225 int socktype; in BIO_listen() local 226 socklen_t socktype_len = sizeof(socktype); in BIO_listen() 234 (void *)&socktype, &socktype_len) != 0 in BIO_listen() 235 || socktype_len != sizeof(socktype)) { in BIO_listen() 286 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
|
D | bio_addr.c | 576 static int addrinfo_wrap(int family, int socktype, in addrinfo_wrap() argument 587 (*bai)->bai_socktype = socktype; in addrinfo_wrap() 588 if (socktype == SOCK_STREAM) in addrinfo_wrap() 590 if (socktype == SOCK_DGRAM) in addrinfo_wrap() 625 int family, int socktype, BIO_ADDRINFO **res) in BIO_lookup() argument 627 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup() 653 int family, int socktype, int protocol, BIO_ADDRINFO **res) in BIO_lookup_ex() argument 676 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex() 695 hints.ai_socktype = socktype; in BIO_lookup_ex() 860 switch (socktype) { in BIO_lookup_ex() [all …]
|
/third_party/python/Lib/logging/ |
D | handlers.py | 845 facility=LOG_USER, socktype=None): argument 861 self.socktype = socktype 875 if socktype is None: 876 socktype = socket.SOCK_DGRAM 878 ress = socket.getaddrinfo(host, port, 0, socktype) 882 af, socktype, proto, _, sa = res 885 sock = socket.socket(af, socktype, proto) 886 if socktype == socket.SOCK_STREAM: 896 self.socktype = socktype 899 use_socktype = self.socktype [all …]
|
/third_party/musl/src/network/linux/ |
D | getaddrinfo.c | 124 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo_ext() local 131 socktype = hint->ai_socktype; in getaddrinfo_ext() 193 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo_ext() 219 .ai_socktype = ports[j].socktype, in getaddrinfo_ext()
|
/third_party/openssl/doc/man3/ |
D | BIO_ADDRINFO.pod | 25 int family, int socktype, int protocol, BIO_ADDRINFO **res); 28 int family, int socktype, BIO_ADDRINFO **res); 47 be if B<host> is B<NULL>. B<family>, B<socktype> and B<protocol> are used to 50 AF_UNSPEC. B<socktype> can be SOCK_STREAM, SOCK_DGRAM or 0. Specifying 0
|
D | BIO_connect.pod | 12 int BIO_socket(int domain, int socktype, int protocol, int options); 22 B<socktype> and B<protocol>. Socket B<options> are currently unused,
|
/third_party/python/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:
|
/third_party/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()
|
/third_party/python/Lib/ |
D | socket.py | 825 af, socktype, proto, canonname, sa = res 828 sock = socket(af, socktype, proto) 956 af, socktype, proto, canonname, sa = res 958 _intenum_converter(socktype, SocketKind),
|
/third_party/curl/docs/libcurl/opts/ |
D | CURLOPT_OPENSOCKETFUNCTION.md | 28 int socktype; 73 return socket(addr->family, addr->socktype, addr->protocol);
|
/third_party/curl/lib/ |
D | cf-socket.h | 46 int socktype; member
|
D | cf-socket.c | 240 dest->socktype = SOCK_STREAM; in Curl_sock_assign_addr() 244 dest->socktype = SOCK_STREAM; in Curl_sock_assign_addr() 248 dest->socktype = SOCK_DGRAM; in Curl_sock_assign_addr() 283 *sockfd = socket(addr->family, addr->socktype, addr->protocol); in socket_open() 1008 ctx->addr.socktype == SOCK_STREAM; in cf_socket_open() 1011 ctx->addr.socktype == SOCK_STREAM; in cf_socket_open() 1061 ctx->sock_connected = (ctx->addr.socktype != SOCK_DGRAM); in cf_socket_open()
|
/third_party/curl/tests/libtest/ |
D | lib500.c | 40 return socket(addr->family, addr->socktype, addr->protocol); in tst_opensocket()
|
/third_party/musl/Benchmark/musl/ |
D | socket_test.cpp | 245 static int ConnectTo(const char *host, const char *port, int socktype, struct addrinfo *addr) in ConnectTo() argument 253 hint.ai_socktype = socktype; in ConnectTo()
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | bio.h | 673 int family, int socktype, BIO_ADDRINFO **res); 675 int lookup_type, int family, int socktype, int protocol, 707 int BIO_socket(int domain, int socktype, int protocol, int options);
|
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/ |
D | bio.h | 757 int family, int socktype, BIO_ADDRINFO **res); 759 int lookup_type, int family, int socktype, int protocol, 792 int BIO_socket(int domain, int socktype, int protocol, int options);
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ |
D | bio.h | 757 int family, int socktype, BIO_ADDRINFO **res); 759 int lookup_type, int family, int socktype, int protocol, 792 int BIO_socket(int domain, int socktype, int protocol, int options);
|