| /src/external/bsd/less/dist/ |
| scrsize.c | 57 XSizeHints hints; local 62 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk)) 64 if (!(hints.flags & PResizeInc)) 66 if (hints.width_inc == 0 || hints.height_inc == 0) 68 if (!(hints.flags & (PBaseSize|PMinSize))) 70 if (hints.flags & PBaseSize) 72 win_attributes.width -= hints.base_width; 73 win_attributes.height -= hints.base_height; 76 win_attributes.width -= hints.min_width [all...] |
| /src/external/bsd/unbound/dist/iterator/ |
| iter_hints.h | 2 * iterator/iter_hints.h - iterative resolver module stub and root hints. 40 * Keep track of stub and root hints, and read those from config. 52 * Iterator hints structure 60 * Hints are stored in this tree. Sort order is specially chosen. 71 * Iterator hints for a particular stub. 83 * Create hints 84 * @return new hints or NULL on error. 89 * Delete hints. 90 * @param hints: to delete. 92 void hints_delete(struct iter_hints* hints); [all...] |
| iter_hints.c | 2 * iterator/iter_hints.c - iterative resolver module stub and root hints. 40 * Keep track of stub and root hints, and read those from config. 56 struct iter_hints* hints = (struct iter_hints*)calloc(1, local 58 if(!hints) 60 lock_rw_init(&hints->lock); 61 lock_protect(&hints->lock, &hints->tree, sizeof(hints->tree)); 62 return hints; 78 static void hints_del_tree(struct iter_hints* hints) [all...] |
| /src/usr.sbin/ypserv/common/ |
| 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);
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| imphint.d | 2 * Give import hints for common symbol names that couldn't be resolved. 25 if (auto entry = s in hints) 30 private immutable string[string] hints; 35 hints = [
|
| /src/external/bsd/ntp/dist/libntp/ |
| socktohost.c | 34 struct addrinfo hints; local 59 ZERO(hints); 60 hints.ai_family = AF(sock); 61 hints.ai_protocol = IPPROTO_UDP; 62 hints.ai_socktype = SOCK_DGRAM; 63 hints.ai_flags = 0; 66 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 72 hints.ai_flags = AI_CANONNAME; 74 hints.ai_flags |= AI_ADDRCONFIG; 76 a_info = getaddrinfo(pbuf, svc, &hints, &alist); [all...] |
| /src/external/gpl2/xcvs/dist/lib/ |
| getaddrinfo.c | 64 const struct addrinfo *restrict hints, 72 if (hints && (hints->ai_flags & ~AI_CANONNAME)) 76 if (hints && !validate_family (hints->ai_family)) 79 if (hints && 80 hints->ai_socktype != SOCK_STREAM && hints->ai_socktype != SOCK_DGRAM) 91 (hints && hints->ai_socktype == SOCK_DGRAM) ? "udp" : "tcp" [all...] |
| canon-host.c | 69 static struct addrinfo hints; local 73 hints.ai_flags = AI_CANONNAME; 74 status = getaddrinfo (host, NULL, &hints, &res);
|
| /src/lib/libform/ |
| 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) {
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| 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);
|
| 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, 195 if (hints != NULL [all...] |
| 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);
|
| 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);
|
| /src/usr.bin/getaddrinfo/ |
| getaddrinfo.c | 61 struct addrinfo hints = zero_addrinfo; local 70 hints.ai_family = AF_UNSPEC; 71 hints.ai_socktype = 0; 72 hints.ai_protocol = 0; 73 hints.ai_flags = 0; 78 hints.ai_flags |= AI_CANONNAME; 81 if (!parse_af(optarg, &hints.ai_family)) { 87 hints.ai_flags |= AI_NUMERICHOST; 90 hints.ai_flags |= AI_NUMERICSERV; 96 if (!parse_protocol(optarg, &hints.ai_protocol)) [all...] |
| /src/tests/net/ipsec/ |
| natt_terminator.c | 55 struct addrinfo hints; local 86 memset(&hints, 0, sizeof(hints)); 87 hints.ai_family = family; 88 hints.ai_socktype = SOCK_DGRAM; 89 hints.ai_protocol = IPPROTO_UDP; 90 hints.ai_flags = 0; 92 e = getaddrinfo(addr, port, &hints, &res);
|
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| expand_hostname.c | 70 struct addrinfo *ai, *a, hints; local 76 memset (&hints, 0, sizeof(hints)); 77 hints.ai_flags = AI_CANONNAME; 79 error = getaddrinfo (orig_hostname, NULL, &hints, &ai); 145 struct addrinfo *ai, *a, hints; local 153 memset (&hints, 0, sizeof(hints)); 154 hints.ai_flags = AI_CANONNAME; 156 error = getaddrinfo (orig_hostname, NULL, &hints, &ai) [all...] |
| /src/external/gpl3/gcc/dist/libcody/ |
| netclient.cc | 95 addrinfo hints; local 96 hints.ai_flags = 0; 97 hints.ai_family = AF_INET6; 98 hints.ai_socktype = SOCK_STREAM; 99 hints.ai_protocol = 0; 100 hints.ai_addrlen = 0; 101 hints.ai_addr = nullptr; 102 hints.ai_canonname = nullptr; 103 hints.ai_next = nullptr; 105 if (int err = getaddrinfo (name, nullptr, &hints, &addrs) [all...] |
| netserver.cc | 102 addrinfo hints; local 103 hints.ai_flags = AI_NUMERICSERV; 104 hints.ai_family = AF_INET6; 105 hints.ai_socktype = SOCK_STREAM; 106 hints.ai_protocol = 0; 107 hints.ai_addrlen = 0; 108 hints.ai_addr = nullptr; 109 hints.ai_canonname = nullptr; 110 hints.ai_next = nullptr; 114 if (int err = getaddrinfo (name, "0", &hints, &addrs) [all...] |
| /src/external/gpl3/gcc.old/dist/libcody/ |
| netclient.cc | 95 addrinfo hints; local 96 hints.ai_flags = 0; 97 hints.ai_family = AF_INET6; 98 hints.ai_socktype = SOCK_STREAM; 99 hints.ai_protocol = 0; 100 hints.ai_addrlen = 0; 101 hints.ai_addr = nullptr; 102 hints.ai_canonname = nullptr; 103 hints.ai_next = nullptr; 105 if (int err = getaddrinfo (name, nullptr, &hints, &addrs) [all...] |
| netserver.cc | 102 addrinfo hints; local 103 hints.ai_flags = AI_NUMERICSERV; 104 hints.ai_family = AF_INET6; 105 hints.ai_socktype = SOCK_STREAM; 106 hints.ai_protocol = 0; 107 hints.ai_addrlen = 0; 108 hints.ai_addr = nullptr; 109 hints.ai_canonname = nullptr; 110 hints.ai_next = nullptr; 114 if (int err = getaddrinfo (name, "0", &hints, &addrs) [all...] |
| /src/external/bsd/nsd/dist/compat/ |
| fake-rfc2553.c | 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 136 if (hints->ai_socktype) 137 ai->ai_socktype = hints->ai_socktype; 141 if (hints->ai_protocol) 142 ai->ai_protocol = hints->ai_protocol; 149 const struct addrinfo *hints, struct addrinfo **res) 171 if (hints && (hints->ai_flags & AI_PASSIVE)) { 175 *res = malloc_ai(port, addr, hints); 182 *res = malloc_ai(port, htonl(0x7f000001), hints); [all...] |
| /src/external/bsd/unbound/dist/compat/ |
| fake-rfc2553.c | 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 136 if (hints->ai_socktype) 137 ai->ai_socktype = hints->ai_socktype; 141 if (hints->ai_protocol) 142 ai->ai_protocol = hints->ai_protocol; 149 const struct addrinfo *hints, struct addrinfo **res) 171 if (hints && (hints->ai_flags & AI_PASSIVE)) { 175 *res = malloc_ai(port, addr, hints); 182 *res = malloc_ai(port, htonl(0x7f000001), hints); [all...] |
| /src/sbin/mount_portal/ |
| 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)
|
| /src/usr.bin/finger/ |
| 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);
|
| /src/crypto/external/bsd/heimdal/dist/lib/ipc/ |
| 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);
|