/third_party/musl/src/network/ |
D | getservbyport_r.c | 10 int getservbyport_r(int port, const char *prots, in getservbyport_r() argument 19 if (!prots) { in getservbyport_r() 34 if (strcmp(prots, "tcp") && strcmp(prots, "udp")) return EINVAL; in getservbyport_r() 37 se->s_proto = (char *)prots; in getservbyport_r() 45 strcmp(prots, "udp") ? 0 : NI_DGRAM)) { in getservbyport_r()
|
D | getservbyname_r.c | 13 int getservbyname_r(const char *name, const char *prots, in getservbyname_r() argument 32 if (!prots) proto = 0; in getservbyname_r() 33 else if (!strcmp(prots, "tcp")) proto = IPPROTO_TCP; in getservbyname_r() 34 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP; in getservbyname_r()
|
D | getservbyport.c | 4 struct servent *getservbyport(int port, const char *prots) in getservbyport() argument 9 if (getservbyport_r(port, prots, &se, (void *)buf, sizeof buf, &res)) in getservbyport()
|
D | getservbyname.c | 4 struct servent *getservbyname(const char *name, const char *prots) in getservbyname() argument 9 if (getservbyname_r(name, prots, &se, (void *)buf, sizeof buf, &res)) in getservbyname()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | getservbyport_r.c | 10 int getservbyport_r(int port, const char *prots, in getservbyport_r() argument 19 if (!prots) { in getservbyport_r() 34 if (strcmp(prots, "tcp") && strcmp(prots, "udp")) return EINVAL; in getservbyport_r() 37 se->s_proto = (char *)prots; in getservbyport_r() 45 strcmp(prots, "udp") ? 0 : NI_DGRAM)) { in getservbyport_r()
|
D | getservbyname_r.c | 13 int getservbyname_r(const char *name, const char *prots, in getservbyname_r() argument 32 if (!prots) proto = 0; in getservbyname_r() 33 else if (!strcmp(prots, "tcp")) proto = IPPROTO_TCP; in getservbyname_r() 34 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP; in getservbyname_r()
|
D | getservbyname.c | 4 struct servent *getservbyname(const char *name, const char *prots) in getservbyname() argument 9 if (getservbyname_r(name, prots, &se, (void *)buf, sizeof buf, &res)) in getservbyname()
|
D | getservbyport.c | 4 struct servent *getservbyport(int port, const char *prots) in getservbyport() argument 9 if (getservbyport_r(port, prots, &se, (void *)buf, sizeof buf, &res)) in getservbyport()
|
/third_party/curl/docs/cmdline-opts/ |
D | gen.pl | 436 my %prots; 440 $prots{$p}++; 443 for(sort keys %prots) { 444 printf "$_ (%d options)\n", $prots{$_};
|
/third_party/openssl/test/ssl-tests/ |
D | protocol_version.pm | 298 my @prots = @$protocols; 299 if ($prots[$c_max] eq "TLSv1.3") {
|
/third_party/openssl/ssl/statem/ |
D | extensions_clnt.c | 858 PACKET prots, alpnpkt; in tls_construct_ctos_early_data() local 861 if (!PACKET_buf_init(&prots, s->ext.alpn, s->ext.alpn_len)) { in tls_construct_ctos_early_data() 866 while (PACKET_get_length_prefixed_1(&prots, &alpnpkt)) { in tls_construct_ctos_early_data()
|