/netbsd-6-1-5-RELEASE/external/bsd/less/dist/ |
H A D | scrsize.c | 58 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 D | localhostname.c | 51 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 D | getaddrinfo.c | 61 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 D | canon-host.c | 66 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 D | getaddrinfo_hostspec.c | 51 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 D | getaddrinfo.c | 41 * 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 D | getaddrinfo-test.c | 71 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 D | getnameinfo_verified.c | 57 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 D | sample-gai.c | 34 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 D | 20020615-1.c | 23 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 D | 20020615-1.c | 23 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 D | type_ipv6.c | 57 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 D | expand_hostname.c | 73 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 D | ts-http.c | 79 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 D | pt_tcp.c | 73 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 D | net.c | 73 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 D | ntp_rfc2553.c | 103 "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 D | decodenetnum.c | 31 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 D | stdhosts.c | 62 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 D | hkpc.c | 47 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 D | getaddresses.c | 61 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 D | nfsd.c | 140 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 D | nfsd.c | 146 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 D | rootns.h | 38 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 D | rdate.c | 79 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);
|