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

1234567891011

/macosx-10.9.5/less-23/less/
H A Dscrsize.c56 XSizeHints hints; local
61 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk))
63 if (!(hints.flags & PResizeInc))
65 if (hints.width_inc == 0 || hints.height_inc == 0)
67 if (!(hints.flags & (PBaseSize|PMinSize)))
69 if (hints.flags & PBaseSize)
71 win_attributes.width -= hints.base_width;
72 win_attributes.height -= hints.base_height;
75 win_attributes.width -= hints
[all...]
/macosx-10.9.5/ntp-88/libntp/
H A Ddecodenetnum.c23 struct addrinfo hints, *ai = NULL; local
42 memset(&hints, 0, sizeof(hints));
43 hints.ai_flags = AI_NUMERICHOST;
44 err = getaddrinfo(cp, NULL, &hints, &ai);
H A Dntp_rfc2553.c101 "Invalid value for hints", /* EAI_BADHINTS */
133 const struct addrinfo *hints);
137 const struct addrinfo *hints, struct addrinfo **res)
158 * Copy default values from hints, if available
160 if (hints != NULL) {
161 ai->ai_flags = hints->ai_flags;
162 ai->ai_family = hints->ai_family;
163 ai->ai_socktype = hints->ai_socktype;
164 ai->ai_protocol = hints->ai_protocol;
166 family = hints
136 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
328 do_nodename( const char *nodename, struct addrinfo *ai, const struct addrinfo *hints) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dgetaddrinfo_hostspec.c49 struct addrinfo hints; local
65 memset(&hints, 0, sizeof(hints));
67 hints.ai_socktype = socktype;
71 hints.ai_socktype = hstp->socktype;
72 hints.ai_protocol = hstp->protocol;
92 return getaddrinfo (host, portstr, &hints, ai);
H A Dgetaddrinfo.c39 * uses hints->ai_socktype and hints->ai_protocol
44 const struct addrinfo *hints,
54 if (hints != NULL && hints->ai_protocol != 0) {
55 struct protoent *protoent = getprotobynumber (hints->ai_protocol);
64 if (hints != NULL)
65 *socktype = hints->ai_socktype;
180 get_null (const struct addrinfo *hints, argument
193 if (hints !
43 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument
271 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
311 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
369 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
H A Dgetaddrinfo-test.c69 struct addrinfo hints; local
76 memset (&hints, 0, sizeof(hints));
77 hints.ai_flags = flags;
78 hints.ai_family = family;
79 hints.ai_socktype = socktype;
81 ret = getaddrinfo (nodename, servname, &hints, &res);
H A Dgetnameinfo_verified.c55 struct addrinfo hints; local
72 memset (&hints, 0, sizeof(hints));
73 hints.ai_socktype = SOCK_STREAM;
74 ret = getaddrinfo (host, serv, &hints, &ai);
/macosx-10.9.5/bind9-45.100/bind9/lib/export/samples/
H A Dsample-gai.c32 struct addrinfo hints, *res, *res0; local
36 memset(&hints, 0, sizeof(hints));
37 hints.ai_family = family;
38 hints.ai_socktype = SOCK_STREAM;
39 hints.ai_flags = AI_CANONNAME;
40 error = getaddrinfo(hostname, "http", &hints, &res0);
/macosx-10.9.5/curl-78.94.1/curl/tests/server/
H A Dresolve.c132 struct addrinfo hints; local
134 memset(&hints, 0, sizeof(hints));
135 hints.ai_family = PF_INET6;
136 hints.ai_socktype = SOCK_STREAM;
137 hints.ai_flags = AI_CANONNAME;
140 rc = (getaddrinfo)(host, "80", &hints, &ai);
/macosx-10.9.5/network_cmds-433/mnc.tproj/
H A Dmnc_opts.c78 struct addrinfo hints; local
141 /* Set some hints for getaddrinfo */
142 memset(&hints, 0, sizeof(hints));
145 hints.ai_socktype = SOCK_DGRAM;
148 hints.ai_flags = AI_NUMERICHOST;
152 getaddrinfo(argv[optind], config.port, &hints, &config.group)) != 0)
166 getaddrinfo(argv[optind], config.port, &hints, &config.source))
/macosx-10.9.5/postfix-252/postfix/auxiliary/name-addr-test/
H A Dgetaddrinfo.c29 struct addrinfo hints; local
41 memset((char *) &hints, 0, sizeof(hints));
42 hints.ai_family = PF_UNSPEC;
43 hints.ai_flags = AI_CANONNAME;
44 hints.ai_socktype = SOCK_STREAM;
45 if ((err = getaddrinfo(argv[1], NO_SERVICE, &hints, &res0)) != 0) {
H A Dgetnameinfo.c29 struct addrinfo hints; local
47 memset((char *) &hints, 0, sizeof(hints));
48 hints.ai_family = (strchr(host, ':') ? AF_INET6 : AF_INET);
49 hints.ai_socktype = SOCK_STREAM;
50 hints.ai_flags |= AI_NUMERICHOST;
51 if ((err = getaddrinfo(host, NO_SERVICE, &hints, &res0)) != 0) {
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dfake-rfc2553.c124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument
143 if (hints->ai_socktype)
144 ai->ai_socktype = hints->ai_socktype;
148 if (hints->ai_protocol)
149 ai->ai_protocol = hints->ai_protocol;
156 const struct addrinfo *hints, struct addrinfo **res)
166 if (hints && hints->ai_family != AF_UNSPEC &&
167 hints->ai_family != AF_INET)
181 if (hints
155 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/lib/
H A Dgetaddrinfo.c150 const struct addrinfo *hints, struct addrinfo **res)
157 if (hints && hints->ai_family != PF_INET && hints->ai_family != PF_UNSPEC)
160 socktype = (hints && hints->ai_socktype) ? hints->ai_socktype
162 if (hints && hints->ai_protocol)
163 proto = hints
149 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/saslauthd/
H A Dgetaddrinfo.c126 const struct addrinfo *hints, struct addrinfo **res)
133 if (hints && hints->ai_family != PF_INET && hints->ai_family != PF_UNSPEC)
136 socktype = (hints && hints->ai_socktype) ? hints->ai_socktype
138 if (hints && hints->ai_protocol)
139 proto = hints
125 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
/macosx-10.9.5/AppleUSBIrDA-145.2.4/IrDA/Stack/
H A DIrDscInfo.cpp57 void TIrDscInfo::SetServiceHints( ULong hints )
59 fHints |= hints;
62 if( hints & ( 1<<index ) )
71 void TIrDscInfo::RemoveServiceHints( ULong hints )
75 if( hints & hintMask ) {
123 ULong hints; local
128 for (hints = fHints, index = 0; index < 4; index++) {
130 hintByte = (UByte)(hints & 0xFF);
131 hints >>= 8;
134 if (hints !
[all...]
/macosx-10.9.5/CPANInternal-140/Net-DNS/demo/
H A Dexample_recurse.pl9 $res->hints("198.41.0.4"); # A.ROOT-SERVER.NET.
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dexpand_hostname.c71 struct addrinfo *ai, *a, hints; local
77 memset (&hints, 0, sizeof(hints));
78 hints.ai_flags = AI_CANONNAME;
80 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
149 struct addrinfo *ai, *a, hints; local
157 memset (&hints, 0, sizeof(hints));
158 hints.ai_flags = AI_CANONNAME;
160 error = getaddrinfo (orig_hostname, NULL, &hints,
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/ipc/
H A Dts-http.c77 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_PASSIVE;
85 ret = getaddrinfo(NULL, "8080", &hints, &res0);
/macosx-10.9.5/bind9-45.100/bind9/lib/bind9/
H A Dgetaddresses.c59 struct addrinfo *ai = NULL, *tmpai, hints; local
136 memset(&hints, 0, sizeof(hints));
138 hints.ai_family = PF_INET;
140 hints.ai_family = PF_INET6;
142 hints.ai_family = PF_UNSPEC;
144 hints.ai_flags = AI_ADDRCONFIG;
147 hints.ai_socktype = SOCK_STREAM;
151 result = getaddrinfo(hostname, NULL, &hints, &ai);
162 if ((hints
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/include/dns/
H A Drootns.h36 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db);
38 * Reports differences between hints and the real roots.
40 * Requires view, hints and (cache) db to be valid.
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dhostip6.c168 struct addrinfo hints; local
198 memset(&hints, 0, sizeof(hints));
199 hints.ai_family = pf;
200 hints.ai_socktype = conn->socktype;
205 hints.ai_flags = AI_NUMERICHOST;
212 error = Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &res);
H A Dhostip4.c142 struct addrinfo hints; local
146 memset(&hints, 0, sizeof(hints));
147 hints.ai_family = PF_INET;
148 hints.ai_socktype = SOCK_STREAM;
154 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
/macosx-10.9.5/netcat-20/
H A Dsourceroute.c115 struct addrinfo hints, *res; local
185 memset(&hints, 0, sizeof(hints));
186 hints.ai_family = ai->ai_family;
187 hints.ai_socktype = SOCK_STREAM;
215 hints.ai_flags = AI_NUMERICHOST;
216 error = getaddrinfo(cp, NULL, &hints, &res);
223 hints.ai_flags = 0;
224 error = getaddrinfo(cp, NULL, &hints, &res);
/macosx-10.9.5/Heimdal-323.92.1/plugins/
H A DReachability.m101 struct addrinfo hints, *ai0, *ai;
165 memset(&hints, 0, sizeof(hints));
166 hints.ai_flags = 0;
167 hints.ai_family = type;
168 hints.ai_socktype = domain;
170 if (getaddrinfo([host UTF8String], [port UTF8String], &hints, &ai0) != 0)

Completed in 235 milliseconds

1234567891011