Searched refs:hints (Results 1 - 25 of 170) sorted by relevance

1234567

/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dscrsize.c58 XSizeHints hints; local
63 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk))
65 if (!(hints.flags & PResizeInc))
67 if (hints.width_inc == 0 || hints.height_inc == 0)
69 if (!(hints.flags & (PBaseSize|PMinSize)))
71 if (hints.flags & PBaseSize)
73 win_attributes.width -= hints.base_width;
74 win_attributes.height -= hints.base_height;
77 win_attributes.width -= hints
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/common/
H A Dlocalhostname.c51 struct addrinfo *res, hints; local
73 memset(&hints, 0, sizeof(hints));
74 hints.ai_flags = AI_CANONNAME;
75 hints.ai_family = PF_UNSPEC;
77 error = getaddrinfo(hostname, NULL, &hints, &res);
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetaddrinfo.c61 const struct addrinfo *restrict hints,
69 if (hints && (hints->ai_flags & ~AI_CANONNAME))
73 if (hints && !validate_family (hints->ai_family))
76 if (hints &&
77 hints->ai_socktype != SOCK_STREAM && hints->ai_socktype != SOCK_DGRAM)
88 (hints && hints
59 getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res) argument
[all...]
H A Dcanon-host.c66 static struct addrinfo hints; local
70 hints.ai_flags = AI_CANONNAME;
71 status = getaddrinfo (host, NULL, &hints, &res);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetaddrinfo_hostspec.c51 struct addrinfo hints; local
67 memset(&hints, 0, sizeof(hints));
69 hints.ai_socktype = socktype;
73 hints.ai_socktype = hstp->socktype;
74 hints.ai_protocol = hstp->protocol;
94 return getaddrinfo (host, portstr, &hints, ai);
H A Dgetaddrinfo.c41 * uses hints->ai_socktype and hints->ai_protocol
46 const struct addrinfo *hints,
56 if (hints != NULL && hints->ai_protocol != 0) {
57 struct protoent *protoent = getprotobynumber (hints->ai_protocol);
66 if (hints != NULL)
67 *socktype = hints->ai_socktype;
182 get_null (const struct addrinfo *hints, argument
195 if (hints !
45 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument
273 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
313 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
371 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
H A Dgetaddrinfo-test.c71 struct addrinfo hints; local
78 memset (&hints, 0, sizeof(hints));
79 hints.ai_flags = flags;
80 hints.ai_family = family;
81 hints.ai_socktype = socktype;
83 ret = getaddrinfo (nodename, servname, &hints, &res);
H A Dgetnameinfo_verified.c57 struct addrinfo hints; local
74 memset (&hints, 0, sizeof(hints));
75 hints.ai_socktype = SOCK_STREAM;
76 ret = getaddrinfo (host, serv, &hints, &ai);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/export/samples/
H A Dsample-gai.c34 struct addrinfo hints, *res, *res0; local
38 memset(&hints, 0, sizeof(hints));
39 hints.ai_family = family;
40 hints.ai_socktype = SOCK_STREAM;
41 hints.ai_flags = AI_CANONNAME;
42 error = getaddrinfo(hostname, "http", &hints, &res0);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D20020615-1.c23 int hints; local
37 hints = dy > 0 ? 2 : 1;
39 hints ^= 3;
41 hints = dx < 0 ? 8 : 4;
43 hints ^= 12;
45 hints = 0;
46 return hints;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D20020615-1.c23 int hints; local
37 hints = dy > 0 ? 2 : 1;
39 hints ^= 3;
41 hints = dx < 0 ? 8 : 4;
43 hints ^= 12;
45 hints = 0;
46 return hints;
/netbsd-6-1-5-RELEASE/lib/libform/
H A Dtype_ipv6.c57 struct addrinfo hints, *res; local
63 memset(&hints, 0, sizeof(hints));
64 hints.ai_family = AF_INET6;
65 hints.ai_socktype = SOCK_DGRAM; /* dummy */
66 hints.ai_flags = AI_NUMERICHOST;
68 if (getaddrinfo(args, "0", &hints, &res) != 0) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dexpand_hostname.c73 struct addrinfo *ai, *a, hints; local
79 memset (&hints, 0, sizeof(hints));
80 hints.ai_flags = AI_CANONNAME;
82 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
151 struct addrinfo *ai, *a, hints; local
159 memset (&hints, 0, sizeof(hints));
160 hints.ai_flags = AI_CANONNAME;
162 error = getaddrinfo (orig_hostname, NULL, &hints,
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/ipc/
H A Dts-http.c79 struct addrinfo hints, *res, *res0; local
83 memset(&hints, 0, sizeof(hints));
84 hints.ai_family = PF_UNSPEC;
85 hints.ai_socktype = SOCK_STREAM;
86 hints.ai_flags = AI_PASSIVE;
87 ret = getaddrinfo(NULL, "8080", &hints, &res0);
/netbsd-6-1-5-RELEASE/sbin/mount_portal/
H A Dpt_tcp.c73 struct addrinfo hints, *res, *lres; local
102 memset(&hints, 0, sizeof(hints));
103 hints.ai_family = PF_UNSPEC;
104 hints.ai_socktype = SOCK_STREAM;
105 hints.ai_protocol = 0;
106 if (getaddrinfo(host, port, &hints, &res) != 0)
/netbsd-6-1-5-RELEASE/usr.bin/finger/
H A Dnet.c73 struct addrinfo hints, *res, *res0; local
81 memset(&hints, 0, sizeof(hints));
82 hints.ai_family = PF_UNSPEC;
83 hints.ai_socktype = SOCK_STREAM;
84 hints.ai_flags = AI_CANONNAME;
85 error = getaddrinfo(host, "finger", &hints, &res0);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dntp_rfc2553.c103 "Invalid value for hints", /* EAI_BADHINTS */
135 const struct addrinfo *hints);
139 const struct addrinfo *hints, struct addrinfo **res)
160 * Copy default values from hints, if available
162 if (hints != NULL) {
163 ai->ai_flags = hints->ai_flags;
164 ai->ai_family = hints->ai_family;
165 ai->ai_socktype = hints->ai_socktype;
166 ai->ai_protocol = hints->ai_protocol;
168 family = hints
138 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
330 do_nodename( const char *nodename, struct addrinfo *ai, const struct addrinfo *hints) argument
[all...]
H A Ddecodenetnum.c31 struct addrinfo hints, *ai = NULL; local
73 ZERO(hints);
74 hints.ai_flags = Z_AI_NUMERICHOST;
75 err = getaddrinfo(cp, "ntp", &hints, &ai);
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/stdhosts/
H A Dstdhosts.c62 struct addrinfo hints, *res; local
106 memset(&hints, 0, sizeof(hints));
107 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
108 hints.ai_flags = AI_NUMERICHOST;
115 getaddrinfo(k, "0", &hints, &res) == 0) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/hkpclient/
H A Dhkpc.c47 struct addrinfo hints; local
53 (void) memset(&hints, 0, sizeof(hints));
54 hints.ai_family = (fam == 4) ? PF_INET : PF_INET6;
55 hints.ai_socktype = SOCK_STREAM;
57 if ((rc = getaddrinfo(hostname, portstr, &hints, &res)) != 0) {
58 hints.ai_flags = 0;
59 if ((rc = getaddrinfo(hostname, "hkp", &hints, &res)) != 0) {
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/bind9/
H A Dgetaddresses.c61 struct addrinfo *ai = NULL, *tmpai, hints; local
138 memset(&hints, 0, sizeof(hints));
140 hints.ai_family = PF_INET;
142 hints.ai_family = PF_INET6;
144 hints.ai_family = PF_UNSPEC;
146 hints.ai_flags = AI_ADDRCONFIG;
149 hints.ai_socktype = SOCK_STREAM;
153 result = getaddrinfo(hostname, NULL, &hints, &ai);
164 if ((hints
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/nfsd/
H A Dnfsd.c140 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; local
225 memset(&hints, 0, sizeof hints);
226 hints.ai_flags = AI_PASSIVE;
227 hints.ai_family = PF_INET;
228 hints.ai_socktype = SOCK_DGRAM;
229 hints.ai_protocol = IPPROTO_UDP;
231 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
251 memset(&hints, 0, sizeof hints);
[all...]
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/
H A Dnfsd.c146 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; local
236 memset(&hints, 0, sizeof hints);
237 hints.ai_flags = AI_PASSIVE;
238 hints.ai_family = PF_INET;
239 hints.ai_socktype = SOCK_DGRAM;
240 hints.ai_protocol = IPPROTO_UDP;
242 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
262 memset(&hints, 0, sizeof hints);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dns/
H A Drootns.h38 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db);
40 * Reports differences between hints and the real roots.
42 * Requires view, hints and (cache) db to be valid.
/netbsd-6-1-5-RELEASE/usr.sbin/rdate/
H A Drdate.c79 struct addrinfo hints, *res, *res0; local
109 memset(&hints, 0, sizeof (hints));
110 hints.ai_family = PF_UNSPEC;
111 hints.ai_socktype = SOCK_STREAM;
112 hints.ai_flags = AI_CANONNAME;
113 error = getaddrinfo(hname, "time", &hints, &res0);

Completed in 409 milliseconds

1234567