Searched defs:he (Results 1 - 17 of 17) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgethostent_r.c42 struct hostent *he = gethostbyname(name); local
52 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
59 if (he == NULL)
62 return (copy_hostent(he, hptr, HOST_R_COPY));
69 struct hostent *he = gethostbyaddr(addr, len, type); local
79 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
86 if (he == NULL)
89 return (copy_hostent(he, hpt
101 struct hostent *he = gethostent(); local
159 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
219 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
[all...]
H A Dgethostent.c276 struct hostent he, *he1 = NULL, *he2 = NULL, *he3; local
315 DE_CONST(name, he.h_name);
316 he.h_addr_list = addr_list;
317 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6;
318 he.h_addr_list[1] = NULL;
319 he.h_aliases = aliases;
320 he.h_aliases[0] = NULL;
321 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ;
322 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6;
323 return (copyandmerge(&he, NUL
442 freehostent(struct hostent *he) argument
816 struct hostent *he = NULL; local
[all...]
H A Dirpmarshall.c2126 struct hostent he, *hp; local
2131 if (irp_unmarshall_ho(&he, argv[1]) != 0) {
2136 printf("Host: \"%s\"\nAliases:", he.h_name);
2137 for (i = 0 ; he.h_aliases[i] != NULL ; i++)
2138 printf("\n\t\t\"%s\"", he.h_aliases[i]);
2140 ADDR_T_STR(he.h_addrtype));
2141 printf("Length: %d\nAddresses:", he.h_length);
2142 for (i = 0 ; he.h_addr_list[i] != 0 ; i++) {
2143 inet_ntop(he.h_addrtype, he
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_nb.c217 struct hostent he, *h; local
220 h = gethostbyname_r(name, &he, he_buf, sizeof (he_buf), &err);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dav.c949 HE *he; local
953 he = hv_fetch_ent(keys, keysv, FALSE, hash);
954 if (!he)
956 return avhv_index_sv(HeVAL(he));
996 HE *he; local
998 he = hv_fetch_ent(keys, keysv, FALSE, hash);
999 if (!he || !SvOK(HeVAL(he)))
1002 return av_delete(av, avhv_index_sv(HeVAL(he)), flags);
1012 HE *he; local
[all...]
H A Ddump.c1290 HE *he; local
1295 while ((he = hv_iternext_flags(hv, HV_ITERNEXT_WANTPLACEHOLDERS))
1300 U32 hash = HeHASH(he);
1302 keysv = hv_iterkeysv(he);
1304 elt = hv_iterval(hv, he);
1308 if (HeKREHASH(he))
H A Dhv.h12 typedef struct he HE;
16 struct he { struct
129 =for apidoc Am|void*|HeKEY|HE* he
135 =for apidoc Am|STRLEN|HeKLEN|HE* he
141 =for apidoc Am|SV*|HeVAL|HE* he
144 =for apidoc Am|U32|HeHASH|HE* he
147 =for apidoc Am|char*|HePV|HE* he|STRLEN len
158 =for apidoc Am|SV*|HeSVKEY|HE* he
162 =for apidoc Am|SV*|HeSVKEY_force|HE* he
166 =for apidoc Am|SV*|HeSVKEY_set|HE* he|S
[all...]
H A Dpp_hot.c12 * Then he heard Merry change the note, and up went the Horn-cry of Buckland,
1699 HE* he; local
1729 he = hv_fetch_ent(hv, keysv, lval && !defer, hash);
1730 svp = he ? &HeVAL(he) : 0;
3110 HE* he; local
3111 he = hv_fetch_ent(PL_stashcache, sv, 0, 0);
3112 if (he) {
3113 stash = INT2PTR(HV*,SvIV(HeVAL(he)));
3165 HE* he local
[all...]
H A Dhv.c29 HE* he; local
33 he = PL_he_root;
34 PL_he_root = HeNEXT(he);
36 return he;
51 register HE* he; local
58 he = (HE*)ptr;
59 heend = &he[1008 / sizeof(HE) - 1];
60 PL_he_root = ++he;
61 while (he < heend) {
62 HeNEXT(he)
107 HE *he = PL_hv_fetch_ent_mh; local
1900 HE *he; local
[all...]
H A Dmg.c17 * come here, and I don't want to see no more magic,' he said, and fell silent."
1860 HE *he = hv_fetch_ent((HV*)ahv, mg->mg_obj, FALSE, 0); local
1861 if (he)
1862 targ = HeVAL(he);
1915 HE *he = hv_fetch_ent((HV*)ahv, mg->mg_obj, TRUE, 0); local
1916 if (he)
1917 value = HeVAL(he);
H A Dpp.c3901 HE *he = hv_fetch_ent(hv, keysv, lval, 0); local
3902 svp = he ? &HeVAL(he) : 0;
H A Dop.c12 * "You see: Mr. Drogo, he married poor Miss Primula Brandybuck. She was
6831 HE* he; local
6838 he = hv_fetch_ent(PL_custom_op_names, keysv, 0, 0);
6839 if (!he)
6842 return SvPV_nolen(HeVAL(he));
6849 HE* he; local
6856 he = hv_fetch_ent(PL_custom_op_descs, keysv, 0, 0);
6857 if (!he)
6860 return SvPV_nolen(HeVAL(he));
/osnet-11/usr/src/lib/nsswitch/dns/common/
H A Dgethostent.c137 struct hostent *he; local
145 he = _gethostbyname(&argp->h_errno, argp->key.name);
146 if (he != NULL) {
153 ret = ent2str(he, a, AF_INET);
157 ret = ent2result(he, a, AF_INET);
197 struct hostent *he; local
219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
221 if (he != NULL) {
227 ret = ent2str(he, a, argp->key.hostaddr.type);
229 ret = ent2result(he,
[all...]
H A Dgethostent6.c284 struct hostent *he = NULL; local
303 he = _nss_dns_gethostbyname2(&argp->h_errno,
305 if (he != NULL) {
307 * pointer in "he" is part of a static pthread key in libresolv
311 v6Name = cloneName(he, &converr);
318 v6Addrs = cloneAddrList(he, 0, &converr);
327 v6Aliases = cloneAliasList(he, 0, &converr);
348 * 2) AI_V4MAPPED and he == NULL
356 ((flags & AI_V4MAPPED) && he == NULL))))
357 he
[all...]
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c1058 * he pointer to hostent with mapped v4 addresses
1073 __mappedtov4(struct hostent *he, int *extract_error) argument
1084 if (he == NULL) {
1088 if ((__find_mapped(he, 0)) == 0) {
1112 for (i = 0; he->h_addr_list[i] != NULL; i++) {
1115 he->h_addr_list[i]))
1132 (struct in6_addr *)he->h_addr_list[i], addr4p);
1142 buff_locp -= (len = strlen(he->h_name) + 1);
1143 h_namep = he->h_name;
1151 if (he
1188 __filter_addresses(int af, struct hostent *he) argument
1232 __find_mapped(struct hostent *he, int find_both) argument
[all...]
H A Dnetdir_inet.c490 struct hostent *he = NULL, *tmphe; local
499 he = DOOR_GETHOSTBYNAME_R(args->arg.nss.host.name,
503 if (he == NULL) {
512 he = DOOR_GETIPNODEBYNAME_R(args->arg.nss.host6.name,
519 if (he == NULL) {
585 he = __mappedtov4(tmphe, &h_errnop);
587 if (he == NULL) {
589 he = DOOR_GETHOSTBYNAME_R(
593 if (he == NULL) {
605 ret = hent2ndaddr(AF_INET, he
909 struct hostent *he = NULL, *tmphe; local
2158 hsents2ndhostservs(struct hostent *he, struct servent *se, ushort_t port, struct nd_hostservlist **hslist) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dconf.c1153 ** the user is not logged in or if s/he has write permission
4428 static struct hostent he; local
4432 hp = _switch_gethostbyaddr_r(addr, len, type, &he,

Completed in 135 milliseconds