Home
last modified time | relevance | path

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

12345678910>>...27

/netbsd-src/usr.bin/make/
H A Dhash.c116 HashEntry *he; in HashTable_Find() local
124 for (he = t->buckets[h & t->bucketsMask]; he != NULL; he = he->next) { in HashTable_Find()
125 if (he->hash == h && in HashTable_Find()
126 strncmp(he->key, key.start, keyLen) == 0 && in HashTable_Find()
127 he->key[keyLen] == '\0') in HashTable_Find()
131 return he; in HashTable_Find()
160 HashEntry *he = buckets[i]; in HashTable_Done() local
161 while (he != NULL) { in HashTable_Done()
162 HashEntry *next = he->next; in HashTable_Done()
163 free(he); in HashTable_Done()
[all …]
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dgethostent_r.c44 struct hostent *he = gethostbyname(name); in gethostbyname_r() local
54 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0) in gethostbyname_r()
61 if (he == NULL) in gethostbyname_r()
64 return (copy_hostent(he, hptr, HOST_R_COPY)); in gethostbyname_r()
71 struct hostent *he = gethostbyaddr(addr, len, type); in gethostbyaddr_r() local
81 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0) in gethostbyaddr_r()
88 if (he == NULL) in gethostbyaddr_r()
91 return (copy_hostent(he, hptr, HOST_R_COPY)); in gethostbyaddr_r()
103 struct hostent *he = gethostent(); in gethostent_r() local
113 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0) in gethostent_r()
[all …]
H A Dgethostent.c261 struct hostent he, *he1 = NULL, *he2 = NULL, *he3; in getipnodebyname() local
300 DE_CONST(name, he.h_name); in getipnodebyname()
301 he.h_addr_list = addr_list; in getipnodebyname()
302 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6; in getipnodebyname()
303 he.h_addr_list[1] = NULL; in getipnodebyname()
304 he.h_aliases = aliases; in getipnodebyname()
305 he.h_aliases[0] = NULL; in getipnodebyname()
306 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ; in getipnodebyname()
307 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6; in getipnodebyname()
308 return (copyandmerge(&he, NULL, af, error_num)); in getipnodebyname()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Droken_gethostby.c52 struct hostent *he = gethostbyname(address); in make_address() local
53 if(he) { in make_address()
54 unsigned char *p = (unsigned char*)he->h_addr; in make_address()
193 static struct hostent he; in roken_gethostby() local
198 he.h_name = p; in roken_gethostby()
199 he.h_aliases = NULL; in roken_gethostby()
200 he.h_addrtype = AF_INET; in roken_gethostby()
201 he.h_length = 4; in roken_gethostby()
214 he.h_addr_list = addr_list; in roken_gethostby()
215 return &he; in roken_gethostby()
[all …]
H A Dgetaddrinfo.c230 struct hostent *he, int *flags) in add_hostent() argument
240 tmp_canon = hostent_find_fqdn (he); in add_hostent()
244 he2 = getipnodebyaddr (he->h_addr_list[0], he->h_length, in add_hostent()
245 he->h_addrtype, &error); in add_hostent()
261 for (h = he->h_addr_list; *h != NULL; ++h) { in add_hostent()
334 struct hostent *he; in get_nodes() local
336 he = getipnodebyname (nodename, PF_INET6, 0, &error); in get_nodes()
338 if (he != NULL) { in get_nodes()
340 &current, const_v6, he, &flags); in get_nodes()
341 freehostent (he); in get_nodes()
[all …]
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dgetaddrinfo.c69 struct hostent *he; in getaddrinfo() local
101 he = gethostbyname (nodename); in getaddrinfo()
102 if (!he || he->h_addr_list[0] == NULL) in getaddrinfo()
105 switch (he->h_addrtype) in getaddrinfo()
127 switch (he->h_addrtype) in getaddrinfo()
137 if (he->h_length != sizeof (sinp->sin6_addr)) in getaddrinfo()
140 memcpy (&sinp->sin6_addr, he->h_addr_list[0], he->h_length); in getaddrinfo()
156 if (he->h_length != sizeof (sinp->sin_addr)) in getaddrinfo()
159 memcpy (&sinp->sin_addr, he->h_addr_list[0], he->h_length); in getaddrinfo()
175 if (he->h_name) in getaddrinfo()
[all …]
/netbsd-src/external/bsd/atf/dist/tools/
H A Dparser.cpp240 read(impl::parser< header::tokenizer >& p, impl::header_entry& he) in read() argument
246 he = impl::header_entry(); in read()
274 he = impl::header_entry(hdr_name, hdr_value, attrs); in read()
281 write(std::ostream& os, const impl::header_entry& he) in write() argument
283 std::string line = he.name() + ": " + he.value(); in write()
284 impl::attrs_map as = he.attrs(); in write()
325 header_entry he; in read_headers() local
326 if (!header::read(p, he).good() || he.name().empty()) in read_headers()
329 if (first && he.name() != "Content-Type") in read_headers()
334 hm[he.name()] = he; in read_headers()
[all …]
/netbsd-src/lib/libc/net/
H A Dgethnamaddr.c215 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer() argument
248 *he = NO_RECOVERY; in getanswer()
493 *he = NO_RECOVERY; in getanswer()
513 *he = NETDB_SUCCESS; in getanswer()
518 *he = NETDB_INTERNAL; in getanswer()
524 int *he) in gethostbyname_r() argument
529 *he = NETDB_INTERNAL; in gethostbyname_r()
537 res, hp, buf, buflen, he); in gethostbyname_r()
543 hp = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, he); in gethostbyname_r()
550 size_t buflen, int *he) in gethostbyname2_r() argument
[all …]
H A Dsethostent.c147 *info->he = HOST_NOT_FOUND; in _hf_gethtbyname()
169 *info->he = NETDB_INTERNAL; in _hf_gethtbyname2()
175 *info->he = NETDB_INTERNAL; in _hf_gethtbyname2()
189 info->he); in _hf_gethtbyname2()
226 *info->he = HOST_NOT_FOUND; in _hf_gethtbyname2()
256 *info->he = NETDB_INTERNAL; in _hf_gethtbyname2()
280 *info->he = NETDB_INTERNAL; in _hf_gethtbyaddr()
284 info->he)) != NULL) in _hf_gethtbyaddr()
290 *info->he = HOST_NOT_FOUND; in _hf_gethtbyaddr()
/netbsd-src/distrib/utils/libhack/
H A Dgethost.c100 int *he) in gethostbyname_r() argument
106 info.he = he; in gethostbyname_r()
119 char *buf, size_t bufsiz, int *he) in gethostbyaddr_r() argument
125 info.he = he; in gethostbyaddr_r()
137 gethostent_r(FILE *hf, struct hostent *hent, char *buf, size_t buflen, int *he) in gethostent_r() argument
147 *he = NETDB_INTERNAL; in gethostent_r()
153 *he = HOST_NOT_FOUND; in gethostent_r()
226 *he = NETDB_SUCCESS; in gethostent_r()
230 *he = NETDB_INTERNAL; in gethostent_r()
/netbsd-src/usr.sbin/rpc.bootparamd/
H A Dbootparamd.c79 struct hostent *he; in main() local
96 he = gethostbyname(optarg); in main()
97 if (he == 0) { in main()
101 memmove(&route_addr.s_addr, he->h_addr, he->h_length); in main()
157 struct hostent *he; in bootparamproc_whoami_1_svc() local
177 he = gethostbyaddr((char *) &haddr, sizeof(haddr), AF_INET); in bootparamproc_whoami_1_svc()
178 if (he) { in bootparamproc_whoami_1_svc()
179 (void)strlcpy(askname, he->h_name, sizeof(askname)); in bootparamproc_whoami_1_svc()
229 struct hostent *he; in bootparamproc_getfile_1_svc() local
241 he = NULL; in bootparamproc_getfile_1_svc()
[all …]
/netbsd-src/usr.bin/btkey/
H A Dbtkey.c55 struct hostent *he; in main() local
68 he = bt_gethostbyname(optarg); in main()
69 if (he == NULL) in main()
73 bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr); in main()
88 he = bt_gethostbyname(optarg); in main()
89 if (he == NULL) in main()
93 bdaddr_copy(&laddr, (bdaddr_t *)he->h_addr); in main()
291 struct hostent *he; in print_addr() local
297 else if ((he = bt_gethostbyaddr((const char *)addr, in print_addr()
299 printf(" (%s)", he->h_name); in print_addr()
/netbsd-src/usr.bin/ypwhich/
H A Dypwhich.c103 struct hostent *he; in main() local
174 he = gethostbyaddr((void *)&inaddr->s_addr, in main()
176 if (he) in main()
177 (void)printf("%s\n", he->h_name); in main()
229 struct hostent *he; in find_server() local
231 he = gethostbyname(host); in find_server()
232 if (he == NULL) in find_server()
234 (void)memmove(&sin.sin_addr, he->h_addr, sizeof(sin.sin_addr)); in find_server()
276 struct hostent *he; in find_mapmaster() local
294 he = gethostbyname(host); in find_mapmaster()
[all …]
/netbsd-src/sys/arch/hpcmips/tx/
H A Dtx39icu.c438 struct txintr_high_entry *he; in tx39_irqhigh_intr() local
462 TAILQ_FOREACH(he, &sc->sc_he_head[i], he_link) { in tx39_irqhigh_intr()
463 set = he->he_set; in tx39_irqhigh_intr()
464 he_mask = he->he_mask; in tx39_irqhigh_intr()
478 (*he->he_fun)(he->he_arg); in tx39_irqhigh_intr()
503 struct txintr_high_entry *he; in tx39_irqhigh_establish() local
510 he = kmem_zalloc(sizeof(*he), KM_SLEEP); in tx39_irqhigh_establish()
511 he->he_set = set; in tx39_irqhigh_establish()
512 he->he_mask= (1 << bit); in tx39_irqhigh_establish()
513 he->he_fun = ih_fun; in tx39_irqhigh_establish()
[all …]
/netbsd-src/sys/arch/amiga/dev/
H A Dmntva.c80 int he, uint32_t color);
82 int yd, int wi, int he);
351 mntva_rectfill(struct mntva_softc *sc, int x, int y, int wi, int he, in mntva_rectfill() argument
358 mntva_reg_write(sc, MNTVA_BLITTERY2, (uint16_t) y + he - 1); in mntva_rectfill()
368 int he) in mntva_bitblt() argument
373 mntva_reg_write(sc, MNTVA_BLITTERY2, (uint16_t) yd + he - 1); in mntva_bitblt()
377 mntva_reg_write(sc, MNTVA_BLITTERY4, (uint16_t) ys + he - 1); in mntva_bitblt()
391 int x, ys, yd, wi, he; in mntva_copyrows() local
402 he = ri->ri_font->fontheight * nrows; in mntva_copyrows()
403 mntva_bitblt(sc, x, ys, x, yd, wi, he); in mntva_copyrows()
[all …]
/netbsd-src/external/historical/nawk/dist/testdir/
H A Dbib5 And God called the light Day, and the darkness he called Night. And the evening and the morning wer…
10 And God called the dry land Earth; and the gathering together of the waters called he Seas: and God…
16 … the greater light to rule the day, and the lesser light to rule the night: he made the stars also.
27 So God created man in his own image, in the image of God created he him; male and female created he
31 And God saw every thing that he had made, and, behold, it was very good. And the evening and the mo…
33 …he seventh day God ended his work which he had made; and he rested on the seventh day from all his…
34 And God blessed the seventh day, and sanctified it: because that in it he had rested from all his w…
39 And the LORD God planted a garden eastward in Eden; and there he put the man whom he had formed.
50 …e field, and every fowl of the air; and brought them unto Adam to see what he would call them: and…
52 And the LORD God caused a deep sleep to fall upon Adam, and he slept: and he took one of his ribs, …
[all …]
/netbsd-src/external/bsd/am-utils/dist/fixmount/
H A Dfixmount.c104 struct hostent *he; in is_same_host() local
113 } else if (!(he = gethostbyname(name1))) { in is_same_host()
117 memcpy(&addr1, he->h_addr, sizeof(addr1)); in is_same_host()
197 struct hostent *he; in fix_rmtab() local
203 if ((he = gethostbyname(host))) { in fix_rmtab()
204 memcpy(&hostaddr, he->h_addr, sizeof(hostaddr)); in fix_rmtab()
337 struct hostent *he; in main() local
350 if (!(he = gethostbyname(thishost))) { in main()
355 memcpy(&thisaddr, he->h_addr, sizeof(thisaddr)); in main()
356 if (!(he = gethostbyaddr((char *) &thisaddr, sizeof(thisaddr), in main()
[all …]
/netbsd-src/sys/dev/ic/
H A Di128.c83 int xd, int yd, int wi, int he, int rop) in i128_bitblt() argument
94 ys += he - 1; in i128_bitblt()
95 yd += he - 1; in i128_bitblt()
102 bus_space_write_4(tag, regh, XY2_WH, (wi << 16) | he); in i128_bitblt()
109 int wi, int he, uint32_t color) in i128_rectfill() argument
117 bus_space_write_4(tag, regh, XY2_WH, (wi << 16) | he); in i128_rectfill()
/netbsd-src/usr.bin/getent/
H A Dgetent.c287 hostsprint(const struct hostent *he) in hostsprint() argument
291 assert(he != NULL); in hostsprint()
292 if (inet_ntop(he->h_addrtype, he->h_addr, buf, sizeof(buf)) == NULL) in hostsprint()
294 printfmtstrings(he->h_aliases, " ", " ", "%-16s %s", buf, he->h_name); in hostsprint()
300 struct hostent *he; in hosts() local
310 while ((he = gethostent()) != NULL) in hosts()
311 hostsprint(he); in hosts()
315 he in hosts()
[all...]
/netbsd-src/games/fortune/datfiles/
H A Dfortunes2-o.real20 I'm a lumberjack and I'm OK, He's a lumberjack and he's OK,
21 I sleep all night and I work all day. He sleeps all night and he works
24 I cut down trees, I eat my lunch, He cuts down trees, he eats his lunch,
26 On Wednesday I go shopping, On Wednesday he goes shopping,
29 I cut down trees, I skip and jump, He cuts down trees, he skips and jumps,
34 I cut down trees, I wear high heels, He cuts down trees, he wears high heels,
117 A business executive is consumed by jealousy: he suspects his wife
118 of cheating on him. The suspicion grows and grows, and one morning as he
119 drives to work he can't take it any more. He thinks to himself, "she
121 When he gets to his office, he calls home. The maid answers. He
[all …]
/netbsd-src/sys/dev/pci/
H A Dr128fb.c737 r128fb_rectfill(struct r128fb_softc *sc, int x, int y, int wi, int he, in r128fb_rectfill() argument
756 (wi << 16) | he); in r128fb_rectfill()
761 int wi, int he, int rop) in r128fb_bitblt() argument
777 ys += he - 1; in r128fb_bitblt()
778 yd += he - 1; in r128fb_bitblt()
794 (wi << 16) | he); in r128fb_bitblt()
803 int x, y, wi, he; in r128fb_cursor() local
806 he = ri->ri_font->fontheight; in r128fb_cursor()
811 y = ri->ri_crow * he + ri->ri_yorigin; in r128fb_cursor()
812 r128fb_bitblt(sc, x, y, x, y, wi, he, R128_ROP3_Dn); in r128fb_cursor()
[all …]
/netbsd-src/external/gpl2/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()
/netbsd-src/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}]
/netbsd-src/sys/arch/sparc/dev/
H A Dcgfourteen.c1282 cg14_rectfill(struct cgfourteen_softc *sc, int x, int y, int wi, int he, in cg14_rectfill()
1300 for (line = 0; line < he; line++) { in cg14_rectfill()
1346 cg14_invert(struct cgfourteen_softc *sc, int x, int y, int wi, int he) in cg14_invert()
1372 for (line = 0; line < he; line++) { in cg14_invert()
1426 int wi, int he, int rop) in cg14_bitblt()
1435 saddr = sc->sc_fb_paddr + xs + stride * (ys + he - 1); in cg14_bitblt()
1436 daddr = sc->sc_fb_paddr + xd + stride * (yd + he - 1); in cg14_bitblt()
1447 for (line = 0; line < he; line++) { in cg14_bitblt()
1477 for (line = 0; line < he; line++) { in cg14_bitblt()
1507 int wi, int he, in in cg14_bitblt_gc()
1270 cg14_rectfill(struct cgfourteen_softc * sc,int x,int y,int wi,int he,uint32_t colour) cg14_rectfill() argument
1334 cg14_invert(struct cgfourteen_softc * sc,int x,int y,int wi,int he) cg14_invert() argument
1414 cg14_bitblt(void * cookie,int xs,int ys,int xd,int yd,int wi,int he,int rop) cg14_bitblt() argument
1495 cg14_bitblt_gc(void * cookie,int xs,int ys,int xd,int yd,int wi,int he,int rop) cg14_bitblt_gc() argument
1554 int i, x, y, wi, he; cg14_putchar() local
1625 int wi, he, x, y; cg14_nuke_cursor() local
1643 int x, y, wi, he; cg14_cursor() local
1677 int i, j, x, y, wi, he, r, g, b, aval, cnt, reg; cg14_putchar_aa() local
[all...]
/netbsd-src/sys/dev/pci/voyager/
H A Dvoyagerfb.c812 voyagerfb_rectfill(struct voyagerfb_softc *sc, int x, int y, int wi, int he, in voyagerfb_rectfill() argument
827 (wi << 16) | he); in voyagerfb_rectfill()
832 int wi, int he, int rop) in voyagerfb_bitblt() argument
853 ys += he - 1; in voyagerfb_bitblt()
854 yd += he - 1; in voyagerfb_bitblt()
863 (wi << 16) | he); in voyagerfb_bitblt()
872 int x, y, wi, he; in voyagerfb_cursor() local
875 he = ri->ri_font->fontheight; in voyagerfb_cursor()
879 y = ri->ri_crow * he + ri->ri_yorigin; in voyagerfb_cursor()
881 voyagerfb_bitblt(sc, x, y, x, y, wi, he, ROP_INVERT); in voyagerfb_cursor()
[all …]

12345678910>>...27