/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 | 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/openssl/test/ssl-tests/ |
D | protocol_version.pm | 345 my @prots = @$protocols; 363 && $prots[$orig_c_max] eq "TLSv1.3" 375 if ($prots[$c_max] eq "TLSv1.3") {
|
/third_party/openssl/ssl/statem/ |
D | extensions_clnt.c | 853 PACKET prots, alpnpkt; in tls_construct_ctos_early_data() local 856 if (!PACKET_buf_init(&prots, s->ext.alpn, s->ext.alpn_len)) { in tls_construct_ctos_early_data() 860 while (PACKET_get_length_prefixed_1(&prots, &alpnpkt)) { in tls_construct_ctos_early_data()
|