Home
last modified time | relevance | path

Searched refs:he (Results 1 – 25 of 124) sorted by relevance

12345

/dragonfly/contrib/bmake/
H A Dhash.c169 free(he); in HashTable_Done()
170 he = next; in HashTable_Done()
194 return he != NULL ? he->value : NULL; in HashTable_FindValue()
205 return he != NULL ? he->value : NULL; in HashTable_FindValueBySubstringHash()
229 he->next = newBuckets[he->key_hash & newMask]; in HashTable_Enlarge()
230 newBuckets[he->key_hash & newMask] = he; in HashTable_Enlarge()
231 he = next; in HashTable_Enlarge()
259 return he; in HashTable_CreateEntry()
265 he = bmake_malloc(sizeof *he + (size_t)(keyEnd - key)); in HashTable_CreateEntry()
276 return he; in HashTable_CreateEntry()
[all …]
/dragonfly/lib/libc/net/
H A Dgethostbyht.c131 he->h_length = len; in gethostent_p()
132 he->h_addrtype = af; in gethostent_p()
137 he->h_name = bp; in gethostent_p()
176 struct hostent he; in gethostent_r() local
222 struct hostent *hptr, he; in _ht_gethostbyname() local
247 if (he.h_addrtype != af) in _ht_gethostbyname()
251 _map_v4v6_address(he.h_addr, he.h_addr); in _ht_gethostbyname()
252 he.h_length = IN6ADDRSZ; in _ht_gethostbyname()
286 struct hostent *hptr, he; in _ht_gethostbyaddr() local
311 if (he.h_addrtype == af && !bcmp(he.h_addr, addr, len)) { in _ht_gethostbyaddr()
[all …]
H A Dgethostbynis.c98 he->h_addr_list = hed->h_addr_ptrs; in _gethostbynis()
120 he->h_addr_list[1] = NULL; in _gethostbynis()
121 he->h_length = size; in _gethostbynis()
122 he->h_addrtype = af; in _gethostbynis()
127 he->h_name = bp; in _gethostbynis()
205 struct hostent *he; in _gethostbynisname() local
222 return (error == 0) ? he : NULL; in _gethostbynisname()
232 struct hostent *he; in _gethostbynisaddr() local
249 return (error == 0) ? he : NULL; in _gethostbynisaddr()
265 struct hostent *hptr, he; in _nis_gethostbyname() local
[all …]
H A Dgethostbydns.c154 he->h_name = NULL; in gethostanswer()
198 he->h_name = bp; in gethostanswer()
201 qname = he->h_name; in gethostanswer()
264 he->h_name = bp; in gethostanswer()
319 he->h_name = bp; in gethostanswer()
334 he->h_name = bp; in gethostanswer()
362 he->h_name = bp; in gethostanswer()
411 if (!he->h_name) { in gethostanswer()
416 he->h_name = bp; in gethostanswer()
433 struct hostent *he; in __dns_getanswer() local
[all …]
H A Dgethostnamadr.c106 len += he->h_length; in __copy_hostent()
111 len += strlen(he->h_name) + 1; in __copy_hostent()
137 n = strlen(he->h_name) + 1; in __copy_hostent()
138 strcpy(cp, he->h_name); in __copy_hostent()
146 strcpy(cp, he->h_aliases[i]); in __copy_hostent()
435 struct hostent he; in fakeaddr() local
456 he.h_addrtype = af; in fakeaddr()
459 he.h_length = NS_INADDRSZ; in fakeaddr()
462 he.h_length = NS_IN6ADDRSZ; in fakeaddr()
469 he.h_name = hed->hostbuf; in fakeaddr()
[all …]
H A Dnetdb_private.h51 struct name *he; \
58 if ((he = thr_getspecific(name##_key)) != NULL) \
59 return (he); \
60 if ((he = calloc(1, sizeof(*he))) == NULL) \
62 if (thr_setspecific(name##_key, he) == 0) \
63 return (he); \
64 free(he); \
/dragonfly/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c36 struct hostent *he; variable
67 if ( ! he ) goto failed; in bootparamproc_whoami_1_svc()
124 he = NULL; in bootparamproc_getfile_1_svc()
126 if (! he ) goto failed; in bootparamproc_getfile_1_svc()
139 if ( !he ) goto failed; in bootparamproc_getfile_1_svc()
207 he = gethostbyname(hostname); in getthefile()
208 if (he && !strcmp(he->h_name, askname)) match = 1; in getthefile()
309 he = NULL; in checkhost()
311 if (he && !strcmp(askname, he->h_name)) { in checkhost()
326 he = NULL; in checkhost()
[all …]
H A Dmain.c45 struct hostent *he; in main() local
59 he = gethostbyname(optarg); in main()
60 if (he) { in main()
61 bcopy(he->h_addr, (char *)&route_addr, sizeof(route_addr)); in main()
/dragonfly/bin/sh/
H A Dhistedit.c164 HistEvent he; in sethistsize() local
188 HistEvent he; in histcmd() local
331 history(hist, &he, H_FIRST); in histcmd()
336 out1fmt("%5d ", he.num); in histcmd()
337 out1str(he.str); in histcmd()
340 fc_replace(he.str, pat, repl) : he.str; in histcmd()
353 oldhistnum = he.num; in histcmd()
360 history(hist, &he, in histcmd()
370 if (he.num == last) in histcmd()
427 HistEvent he; in str_to_event() local
[all …]
/dragonfly/libexec/dma/
H A Ddns.c66 add_host(int pref, const char *host, int port, struct mx_hostentry **he, size_t *ps) in add_host() argument
103 *he = reallocf(*he, newsz * sizeof(**he)); in add_host()
104 if (*he == NULL) in add_host()
108 p = &(*he)[*ps]; in add_host()
132 dns_get_mx_list(const char *host, int port, struct mx_hostentry **he, int no_mx) in dns_get_mx_list() argument
272 *he = hosts; in dns_get_mx_list()
280 struct mx_hostentry *he, *p; in main() local
283 err = dns_get_mx_list(argv[1], 53, &he, 0); in main()
287 for (p = he; *p->host != 0; p++) { in main()
/dragonfly/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c42 struct hostent *he; in eachres_whoami() local
44 he = gethostbyaddr(&raddr->sin_addr.s_addr,4,AF_INET); in eachres_whoami()
45 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); in eachres_whoami()
54 struct hostent *he; in eachres_getfile() local
56 he = gethostbyaddr(&raddr->sin_addr.s_addr,4,AF_INET); in eachres_getfile()
57 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); in eachres_getfile()
/dragonfly/usr.bin/getent/
H A Dgetent.c270 hostsprint(const struct hostent *he) in hostsprint() argument
274 assert(he != NULL); in hostsprint()
275 if (inet_ntop(he->h_addrtype, he->h_addr, buf, sizeof(buf)) == NULL) in hostsprint()
277 printfmtstrings(he->h_aliases, " ", " ", "%-16s %s", buf, he->h_name); in hostsprint()
283 struct hostent *he; in hosts() local
293 while ((he = gethostent()) != NULL) in hosts()
294 hostsprint(he); in hosts()
300 he = gethostbyaddr(addr, INADDRSZ, AF_INET); in hosts()
302 he = gethostbyname(argv[i]); in hosts()
303 if (he != NULL) in hosts()
[all …]
/dragonfly/sbin/savecore/
H A Dsavecore.c233 int nr, nw, hs, he = 0; in DoFile() local
480 for (nw = 0; nw < nr; nw = he) { in DoFile()
483 for (he = hs; he < nr && buf[he] == 0; in DoFile()
484 ++he) in DoFile()
487 if (he >= hs + BLOCKSIZE) in DoFile()
492 he &= BLOCKMASK; in DoFile()
501 hs = he = nr; in DoFile()
513 if (he > hs) in DoFile()
514 if (fseeko(fp, he - hs, SEEK_CUR) == -1) in DoFile()
/dragonfly/games/fortune/datfiles/
H A Dlimerick515 But he'd bow till he almost would crawl.
608 Said he as he seized it:
681 When he got there he found he was wrong.
1848 'Cause after he laid her, he ate her.
2156 And he feared he would soon be quite sapless.
2192 So he hung out his balls and he lost 'em.
2522 Who claimed that he wouldn't, but would he?
2615 But now that he's married he's
2689 For after he screwed her, he ate her.
3301 And he could and he should,
[all …]
H A Dfortunes-o250 he says.
562 "if he caught her, he could have her". After an hour of hard running, he
3263 as he can.
3292 he has ever seen. As he urinates, he cannot avoid spying on the giant member
6792 And when he did, he dropped stone dead,
9171 in a nut house for 5 years and when he got out, he didn't think he was
10280 Though he shot at the target, he missed her.
11937 So he hung out his balls and he lost 'em!
12269 he got back, he was a husky fucker.
12322 So he thought he'd enshrine her
[all …]
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dtcp-comms.c478 struct hostent *he; in get_ip_address() local
487 he = gethostbyname2(node, AF_INET6); in get_ip_address()
488 if (he) in get_ip_address()
490 memcpy(addr, he->h_addr_list[0], in get_ip_address()
491 he->h_length); in get_ip_address()
495 he = gethostbyname2(node, AF_INET); in get_ip_address()
496 if (!he) in get_ip_address()
498 map_v4_to_v6((struct in_addr *)he->h_addr_list[0], (struct in6_addr *)addr); in get_ip_address()
/dragonfly/games/quiz/datfiles/
H A Dlatin5 impulit:{he }[drove|forced]
7 sinat:{he }permit{s}
25 exegit:{he }[finished|spent]
27 optat:{he }[desire{s}|wish{es}]
62 minatur:{he }threaten{s}
80 corrupit:{he }[spoil{ed}|ruin{ed}]
106 refert:{he }[say{s}|tell{s}]
/dragonfly/lib/libc/rpc/
H A Dauth_time.c149 struct hostent *he; in get_server() local
158 he = gethostbyname(host); in get_server()
159 if (he == NULL) in get_server()
162 he = &dummy; in get_server()
172 for (i = 0, ep = eps; (he->h_addr_list[i] != NULL) && (num_ep < maxep); in get_server()
176 a = (struct in_addr *)he->h_addr_list[i]; in get_server()
187 for (i = 0; (he->h_addr_list[i] != NULL) && (num_ep < maxep); in get_server()
191 a = (struct in_addr *)he->h_addr_list[i]; in get_server()
/dragonfly/contrib/libedit/src/
H A Dreadline.c599 HIST_ENTRY *he; in get_history_event() local
1239 HIST_ENTRY *he; in stifle_history() local
1252 el_free(he); in stifle_history()
1562 HIST_ENTRY *he; in remove_history() local
1568 if ((he = el_malloc(sizeof(*he))) == NULL) in remove_history()
1572 el_free(he); in remove_history()
1580 return he; in remove_history()
1590 HIST_ENTRY *he; in replace_history_entry() local
1606 if ((he = el_malloc(sizeof(*he))) == NULL) in replace_history_entry()
1624 return he; in replace_history_entry()
[all …]
/dragonfly/usr.bin/sdpquery/
H A Dsdpquery.c77 struct hostent *he = NULL; in main() local
79 if ((he = bt_gethostbyname(optarg)) == NULL) in main()
83 bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr); in main()
/dragonfly/games/hunt/hunt/
H A Dlist.c216 struct hostent *he; in probe_drivers() local
240 if (!target && (he = gethostbyname(preferred)) != NULL) { in probe_drivers()
241 sin.sin_family = he->h_addrtype; in probe_drivers()
243 memcpy(&sin.sin_addr, he->h_addr, he->h_length); in probe_drivers()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dneighbor_db.c142 int ht, int vht, int he) in hostapd_get_nr_chan_width() argument
146 if (!ht && !vht && !he) in hostapd_get_nr_chan_width()
150 if ((!vht && !he) || oper_chwidth == CHANWIDTH_USE_HT) in hostapd_get_nr_chan_width()
169 int he = hapd->iconf->ieee80211ax; in hostapd_neighbor_set_own_report() local
215 width = hostapd_get_nr_chan_width(hapd, ht, vht, he); in hostapd_neighbor_set_own_report()
/dragonfly/usr.bin/btpin/
H A Dbtpin.c65 struct hostent *he = NULL; in main() local
67 if ((he = bt_gethostbyname(optarg)) == NULL) in main()
71 bdaddr_copy(&rp.raddr, (bdaddr_t *)he->h_addr); in main()
/dragonfly/contrib/tcsh-6/nls/spanish/
H A Dset213 1 No he podido leer los caracteres locales.\n
4 2 No he podido establecer los caracteres locales.\n
/dragonfly/games/hack/
H A Ddata67 especially a hat. And he was clearly just as frightened as the
68 imps though he could not go so fast. Ramon Alonzo saw that there
71 to gently, he raised his hat, and asked of the gnome his name.
85 Are you not he?
97 sit on that stone, he would be unable to quit it for ever.
108 rigadaun in Tipperary. Although he works for the Faeries,
111 thing of the manic-depressive about it: first he is quite
112 happy, whistling merrily as he nails a sole on to a shoe; a
113 few minutes later, he is sullen and morose, drunk on his
115 tobacco and whiskey, and he is a first-rate con-man, impos-
[all …]

12345