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

12345678910

/freebsd-10.0-release/contrib/less/
H A Dscrsize.c55 XSizeHints hints; local
60 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk))
62 if (!(hints.flags & PResizeInc))
64 if (hints.width_inc == 0 || hints.height_inc == 0)
66 if (!(hints.flags & (PBaseSize|PMinSize)))
68 if (hints.flags & PBaseSize)
70 win_attributes.width -= hints.base_width;
71 win_attributes.height -= hints.base_height;
74 win_attributes.width -= hints
[all...]
/freebsd-10.0-release/contrib/unbound/iterator/
H A Diter_hints.h2 * iterator/iter_hints.h - iterative resolver module stub and root hints.
40 * Keep track of stub and root hints, and read those from config.
51 * Iterator hints structure
66 * Iterator hints for a particular stub.
78 * Create hints
79 * @return new hints or NULL on error.
84 * Delete hints.
85 * @param hints: to delete.
87 void hints_delete(struct iter_hints* hints);
90 * Process hints confi
[all...]
H A Diter_hints.c2 * iterator/iter_hints.c - iterative resolver module stub and root hints.
40 * Keep track of stub and root hints, and read those from config.
55 struct iter_hints* hints = (struct iter_hints*)calloc(1, local
57 if(!hints)
59 return hints;
75 static void hints_del_tree(struct iter_hints* hints) argument
77 traverse_postorder(&hints->tree, &delhintnode, NULL);
81 hints_delete(struct iter_hints* hints) argument
83 if(!hints)
85 hints_del_tree(hints);
162 hints_insert(struct iter_hints* hints, uint16_t c, struct delegpt* dp, int noprime) argument
256 read_stubs(struct iter_hints* hints, struct config_file* cfg) argument
280 read_root_hints(struct iter_hints* hints, char* fname) argument
398 read_root_hints_list(struct iter_hints* hints, struct config_file* cfg) argument
417 hints_apply_cfg(struct iter_hints* hints, struct config_file* cfg) argument
446 hints_lookup_root(struct iter_hints* hints, uint16_t qclass) argument
458 hints_lookup_stub(struct iter_hints* hints, uint8_t* qname, uint16_t qclass, struct delegpt* cache_dp) argument
494 hints_next_root(struct iter_hints* hints, uint16_t* qclass) argument
500 hints_get_mem(struct iter_hints* hints) argument
513 hints_add_stub(struct iter_hints* hints, uint16_t c, struct delegpt* dp, int noprime) argument
529 hints_delete_stub(struct iter_hints* hints, uint16_t c, uint8_t* nm) argument
[all...]
/freebsd-10.0-release/sys/mips/conf/
H A DAP9317 hints "AP93.hints"
H A DAP9418 hints "AP94.hints"
H A DAP9618 hints "AP96.hints"
H A DENH20017 hints "ENH200.hints"
H A DROUTERSTATION_MFS9 hints "ROUTERSTATION.hints"
H A DRSPRO_MFS9 hints "RSPRO.hints"
H A DRSPRO_STANDALONE10 hints "RSPRO.hints"
H A DPB4718 hints "PB47.hints"
/freebsd-10.0-release/tools/tools/nanobsd/gateworks/
H A DG234814 hints "AVILA.hints"
H A DG235814 hints "CAMBRIA.hints"
/freebsd-10.0-release/crypto/heimdal/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);
/freebsd-10.0-release/crypto/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...]
/freebsd-10.0-release/contrib/ntp/libntp/
H A Ddecodenetnum.c17 struct addrinfo hints, *ai = NULL; local
31 memset(&hints, 0, sizeof(struct addrinfo));
32 hints.ai_flags = AI_NUMERICHOST;
33 err = getaddrinfo(num, NULL, &hints, &ai);
H A Dntp_rfc2553.c99 "Invalid value for hints", /* EAI_BADHINTS */
131 const struct addrinfo *hints));
135 const struct addrinfo *hints, struct addrinfo **res)
156 * Copy default values from hints, if available
158 if (hints != NULL) {
159 ai->ai_flags = hints->ai_flags;
160 ai->ai_family = hints->ai_family;
161 ai->ai_socktype = hints->ai_socktype;
162 ai->ai_protocol = hints->ai_protocol;
164 family = hints
134 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
326 do_nodename( const char *nodename, struct addrinfo *ai, const struct addrinfo *hints) argument
[all...]
/freebsd-10.0-release/usr.sbin/nfsd/
H A Dnfsd.c115 struct addrinfo hints);
148 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; local
286 memset(&hints, 0, sizeof hints);
287 hints.ai_flags = AI_PASSIVE;
288 hints.ai_family = AF_INET;
289 hints.ai_socktype = SOCK_DGRAM;
290 hints.ai_protocol = IPPROTO_UDP;
291 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
305 memset(&hints,
831 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints) argument
994 struct addrinfo *aip, hints; local
[all...]
/freebsd-10.0-release/crypto/heimdal/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...]
/freebsd-10.0-release/contrib/ldns/compat/
H A Dfake-rfc2553.c121 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument
140 if (hints->ai_socktype)
141 ai->ai_socktype = hints->ai_socktype;
145 if (hints->ai_protocol)
146 ai->ai_protocol = hints->ai_protocol;
153 const struct addrinfo *hints, struct addrinfo **res)
175 if (hints && hints->ai_flags & AI_PASSIVE) {
179 *res = malloc_ai(port, addr, hints);
186 *res = malloc_ai(port, htonl(0x7f000001), hints);
152 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
/freebsd-10.0-release/contrib/unbound/compat/
H A Dfake-rfc2553.c119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument
138 if (hints->ai_socktype)
139 ai->ai_socktype = hints->ai_socktype;
143 if (hints->ai_protocol)
144 ai->ai_protocol = hints->ai_protocol;
151 const struct addrinfo *hints, struct addrinfo **res)
173 if (hints && hints->ai_flags & AI_PASSIVE) {
177 *res = malloc_ai(port, addr, hints);
184 *res = malloc_ai(port, htonl(0x7f000001), hints);
150 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
/freebsd-10.0-release/crypto/heimdal/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);
/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dgethost.c59 struct addrinfo hints, *res; local
62 bzero((char *)&hints, sizeof(hints));
63 hints.ai_family = PF_INET6;
65 getaddrinfo(name, NULL, &hints, &res);

Completed in 231 milliseconds

12345678910