Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 64) sorted by relevance

123

/glibc-2.36/misc/sys/
Dcdefs.h247 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) argument
249 # define __REDIRECT_NTH(name, proto, alias) \ argument
250 name proto __THROW __asm__ (__ASMNAME (#alias))
251 # define __REDIRECT_NTHNL(name, proto, alias) \ argument
252 name proto __THROWNL __asm__ (__ASMNAME (#alias))
254 # define __REDIRECT_NTH(name, proto, alias) \ argument
255 name proto __asm__ (__ASMNAME (#alias)) __THROW
256 # define __REDIRECT_NTHNL(name, proto, alias) \ argument
257 name proto __asm__ (__ASMNAME (#alias)) __THROWNL
567 # define __LDBL_REDIR(name, proto) ... unused__ldbl_redir argument
[all …]
Dsysmacros.h26 #define __SYSMACROS_DECL_TEMPL(rtype, name, proto) \ argument
27 extern rtype gnu_dev_##name proto __THROW __attribute_const__;
29 #define __SYSMACROS_IMPL_TEMPL(rtype, name, proto) \ argument
31 __NTH (gnu_dev_##name proto)
/glibc-2.36/nss/nss_files/
Dfiles-service.c42 strlen (name) + 2 + (proto == NULL ? 0 : strlen (proto)),
43 ("%s/%s", name, proto ?: ""),
46 if (proto != NULL && strcmp (result->s_proto, proto))
53 const char *name, const char *proto)
55 DB_LOOKUP (servbyport, '=', 21 + (proto ? strlen (proto) : 0),
56 ("%zd/%s", (ssize_t) ntohs (port), proto ?: ""),
60 && (proto == NULL
61 || strcmp (result->s_proto, proto) == 0))
63 }, int port, const char *proto)
Dfiles-proto.c42 DB_LOOKUP (protobynumber, '=', 20, ("%zd", (ssize_t) proto),
44 if (result->p_proto == proto)
46 }, int proto)
/glibc-2.36/mach/
Dshortcut.awk6 inproto=0; proto=""; arglist="";
25 inproto { proto = proto $0;
36 /^}$/ && proto != "" \
40 print " extern kern_return_t " syscall " (" proto ");";
41 print " extern kern_return_t " rpc " (" proto ");";
/glibc-2.36/hesiod/nss_hesiod/
Dhesiod-proto.c59 lookup (const char *name, const char *type, struct protoent *proto, in lookup() argument
100 parse_res = parse_line (buffer, proto, data, buflen, errnop); in lookup()
128 _nss_hesiod_getprotobyname_r (const char *name, struct protoent *proto, in _nss_hesiod_getprotobyname_r() argument
131 return lookup (name, "protocol", proto, buffer, buflen, errnop); in _nss_hesiod_getprotobyname_r()
135 _nss_hesiod_getprotobynumber_r (const int protocol, struct protoent *proto, in _nss_hesiod_getprotobynumber_r() argument
142 return lookup (protostr, "protonum", proto, buffer, buflen, errnop); in _nss_hesiod_getprotobynumber_r()
/glibc-2.36/nss/
Dgetent.c652 print_protocols (struct protoent *proto) in print_protocols() argument
656 printf ("%-21s %d", proto->p_name, proto->p_proto); in print_protocols()
659 while (proto->p_aliases[i] != NULL) in print_protocols()
662 fputs_unlocked (proto->p_aliases[i], stdout); in print_protocols()
673 struct protoent *proto; in protocols_keys() local
678 while ((proto = getprotoent ()) != NULL) in protocols_keys()
679 print_protocols (proto); in protocols_keys()
687 proto = getprotobynumber (atol (key[i])); in protocols_keys()
689 proto = getprotobyname (key[i]); in protocols_keys()
691 if (proto == NULL) in protocols_keys()
[all …]
/glibc-2.36/include/
Dset-hooks.h56 # define DEFINE_HOOK_RUNNER(name, runner, proto, args) \ argument
57 DEFINE_HOOK (name, proto); \
58 extern void runner proto; void runner proto { RUN_HOOK (name, args); }
88 # define DEFINE_HOOK_RUNNER(name, runner, proto, args) argument
/glibc-2.36/sysdeps/mach/hurd/htl/
Dpt-mutexattr-setprotocol.c27 pthread_mutexattr_setprotocol (pthread_mutexattr_t *attrp, int proto) in pthread_mutexattr_setprotocol() argument
30 return (proto == PTHREAD_PRIO_NONE in pthread_mutexattr_setprotocol()
32 : (proto != PTHREAD_PRIO_INHERIT in pthread_mutexattr_setprotocol()
33 && proto != PTHREAD_PRIO_PROTECT) ? EINVAL : ENOTSUP); in pthread_mutexattr_setprotocol()
/glibc-2.36/nscd/
Dnscd_getserv_r.c32 static int nscd_getserv_r (const char *crit, size_t critlen, const char *proto,
38 __nscd_getservbyname_r (const char *name, const char *proto, in __nscd_getservbyname_r() argument
42 return nscd_getserv_r (name, strlen (name), proto, GETSERVBYNAME, result_buf, in __nscd_getservbyname_r()
48 __nscd_getservbyport_r (int port, const char *proto, in __nscd_getservbyport_r() argument
56 return nscd_getserv_r (cp, portstr + sizeof (portstr) - 1 - cp, proto, in __nscd_getservbyport_r()
77 nscd_getserv_r (const char *crit, size_t critlen, const char *proto, in nscd_getserv_r() argument
90 size_t protolen = proto == NULL ? 0 : strlen (proto); in nscd_getserv_r()
103 "/", 1), proto ?: "", protolen + 1); in nscd_getserv_r()
Dservicescache.c321 char *proto = strrchr (key, '/'); in lookup() local
322 if (proto != NULL && proto != key) in lookup()
324 key = strndupa (key, proto - key); in lookup()
325 if (proto[1] == '\0') in lookup()
326 proto = NULL; in lookup()
328 ++proto; in lookup()
332 return __getservbyname_r (key, proto, resultbufp, buffer, buflen, serv); in lookup()
335 return __getservbyport_r (atol (key), proto, resultbufp, buffer, buflen, in lookup()
Dgetsrvbynm_r.c23 #define ADD_PARAMS const char *name, const char *proto
24 #define ADD_VARIABLES name, proto
Dgetsrvbypt_r.c23 #define ADD_PARAMS int port, const char *proto
24 #define ADD_VARIABLES port, proto
/glibc-2.36/include/sys/
Dsysmacros.h33 # define __SYSMACROS_DECL_TEMPL(rtype, name, proto) \ argument
34 extern rtype __gnu_dev_##name proto \
38 # define __SYSMACROS_IMPL_TEMPL(rtype, name, proto) \ argument
40 __NTH (__gnu_dev_##name proto)
/glibc-2.36/nis/
Dnis_getservlist.c64 free (serv[i]->ep.ep_val[j].proto); in nis_getservlist()
116 if (server->ep.ep_val[j].proto) in nis_getservlist()
117 serv[i]->ep.ep_val[j].proto = in nis_getservlist()
118 strdup (server->ep.ep_val[j].proto); in nis_getservlist()
120 serv[i]->ep.ep_val[j].proto = NULL; in nis_getservlist()
Dnis_findserv.c99 if ((bind->server_val[i].ep.ep_val[j].proto == NULL) in __nis_findfastest_with_timeout()
100 || (bind->server_val[i].ep.ep_val[j].proto[0] == '-') in __nis_findfastest_with_timeout()
101 || (bind->server_val[i].ep.ep_val[j].proto[0] == '\0')) in __nis_findfastest_with_timeout()
/glibc-2.36/sunrpc/
Dclnt_gen.c47 const char *proto) in clnt_create() argument
58 if (strcmp (proto, "unix") == 0) in clnt_create()
87 while (__getprotobyname_r (proto, &protobuf, prttmpbuf, prtbuflen, &p) != 0 in clnt_create()
Dgetrpcport.c61 getrpcport (const char *host, u_long prognum, u_long versnum, u_int proto) in getrpcport() argument
67 return pmap_getport (&addr, prognum, versnum, proto); in getrpcport()
/glibc-2.36/inet/
Dgetproto_r.c24 #define ADD_PARAMS int proto
25 #define ADD_VARIABLES proto
Dgetsrvbynm_r.c24 #define ADD_PARAMS const char *name, const char *proto
25 #define ADD_VARIABLES name, proto
Dgetsrvbypt_r.c24 #define ADD_PARAMS int port, const char *proto
25 #define ADD_VARIABLES port, proto
Dgetproto.c24 #define ADD_PARAMS int proto
25 #define ADD_VARIABLES proto
Dgetsrvbynm.c24 #define ADD_PARAMS const char *name, const char *proto
25 #define ADD_VARIABLES name, proto
Dgetsrvbypt.c24 #define ADD_PARAMS int port, const char *proto
25 #define ADD_VARIABLES port, proto
/glibc-2.36/misc/
Dmakedev.c25 #define OUT_OF_LINE_IMPL_TEMPL(rtype, name, proto) \ argument
26 rtype __gnu_dev_##name proto

123