Home
last modified time | relevance | path

Searched full:he (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/src/contrib/bmake/
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 …]
/src/contrib/one-true-awk/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 …]
/src/crypto/heimdal/lib/roken/
H A Droken_gethostby.c50 struct hostent *he = gethostbyname(address); in make_address() local
51 if(he) { in make_address()
52 unsigned char *p = (unsigned char*)he->h_addr; in make_address()
190 static struct hostent he; in roken_gethostby() local
195 he.h_name = p; in roken_gethostby()
196 he.h_aliases = NULL; in roken_gethostby()
197 he.h_addrtype = AF_INET; in roken_gethostby()
198 he.h_length = 4; in roken_gethostby()
211 he.h_addr_list = addr_list; in roken_gethostby()
212 return &he; in roken_gethostby()
[all …]
H A Dgetaddrinfo.c228 struct hostent *he, int *flags) in add_hostent() argument
238 tmp_canon = hostent_find_fqdn (he); in add_hostent()
242 he2 = getipnodebyaddr (he->h_addr_list[0], he->h_length, in add_hostent()
243 he->h_addrtype, &error); in add_hostent()
259 for (h = he->h_addr_list; *h != NULL; ++h) { in add_hostent()
332 struct hostent *he; in get_nodes() local
334 he = getipnodebyname (nodename, PF_INET6, 0, &error); in get_nodes()
336 if (he != NULL) { in get_nodes()
338 &current, const_v6, he, &flags); in get_nodes()
339 freehostent (he); in get_nodes()
[all …]
H A Dhostent_find_fqdn.c39 * Try to find a fqdn (with `.') in he if possible, else return h_name
43 hostent_find_fqdn (const struct hostent *he) in hostent_find_fqdn() argument
45 const char *ret = he->h_name; in hostent_find_fqdn()
49 for (h = (const char **)he->h_aliases; *h != NULL; ++h) { in hostent_find_fqdn()
/src/lib/libc/net/
H A Dgethostbyht.c87 gethostent_p(struct hostent *he, struct hostent_data *hed, int mapped, in gethostent_p() argument
130 he->h_addr_list = hed->h_addr_ptrs; in gethostent_p()
131 he->h_length = len; in gethostent_p()
132 he->h_addrtype = af; in gethostent_p()
137 he->h_name = bp; in gethostent_p()
138 q = he->h_aliases = hed->host_aliases; in gethostent_p()
176 struct hostent he; in gethostent_r() local
190 if (gethostent_p(&he, hed, statp->options & RES_USE_INET6, statp) != 0) in gethostent_r()
192 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) { in gethostent_r()
224 struct hostent *hptr, he; in _ht_gethostbyname() local
[all …]
H A Dgethostbydns.c138 struct hostent *he, struct hostent_data *hed, res_state statp) in gethostanswer() argument
153 he->h_name = NULL; in gethostanswer()
197 he->h_name = bp; in gethostanswer()
200 qname = he->h_name; in gethostanswer()
204 he->h_aliases = hed->host_aliases; in gethostanswer()
207 he->h_addr_list = hed->h_addr_ptrs; in gethostanswer()
263 he->h_name = bp; in gethostanswer()
323 he->h_name = bp; in gethostanswer()
338 he->h_name = bp; in gethostanswer()
346 _map_v4v6_hostent(he, &bp, ep); in gethostanswer()
[all …]
H A Dgethostbynis.c51 _gethostbynis(const char *name, char *map, int af, struct hostent *he, in _gethostbynis() argument
99 he->h_addr_list = hed->h_addr_ptrs; in _gethostbynis()
100 he->h_addr = (char *)hed->host_addr; in _gethostbynis()
121 he->h_addr_list[1] = NULL; in _gethostbynis()
122 he->h_length = size; in _gethostbynis()
123 he->h_addrtype = af; in _gethostbynis()
128 he->h_name = bp; in _gethostbynis()
129 q = he->h_aliases = hed->host_aliases; in _gethostbynis()
164 _gethostbynisname_r(const char *name, int af, struct hostent *he, in _gethostbynisname_r() argument
177 return (_gethostbynis(name, map, af, he, hed)); in _gethostbynisname_r()
[all …]
H A Dgethostnamadr.c94 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf, in __copy_hostent() argument
105 for (i = 0; he->h_addr_list[i]; i++, nptr++) { in __copy_hostent()
106 len += he->h_length; in __copy_hostent()
108 for (i = 0; he->h_aliases[i]; i++, nptr++) { in __copy_hostent()
109 len += strlen(he->h_aliases[i]) + 1; in __copy_hostent()
111 len += strlen(he->h_name) + 1; in __copy_hostent()
120 hptr->h_addrtype = he->h_addrtype; in __copy_hostent()
121 n = hptr->h_length = he->h_length; in __copy_hostent()
128 for (i = 0; he->h_addr_list[i]; i++ , ptr++) { in __copy_hostent()
129 memcpy(cp, he->h_addr_list[i], n); in __copy_hostent()
[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); \
/src/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac3_mac.c17 struct ieee80211_radiotap_he *he, in mt76_connac3_mac_decode_he_radiotap_ru() argument
53 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac3_mac_decode_he_radiotap_ru()
54 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac3_mac_decode_he_radiotap_ru()
123 struct ieee80211_radiotap_he *he; in mt76_connac3_mac_decode_he_radiotap() local
127 he = skb_push(skb, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap()
128 memcpy(he, &known, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap()
130 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[9]) | in mt76_connac3_mac_decode_he_radiotap()
132 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[13]); in mt76_connac3_mac_decode_he_radiotap()
133 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[5]) | in mt76_connac3_mac_decode_he_radiotap()
137 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac3_mac_decode_he_radiotap()
[all …]
H A Dmt76_connac_mac.c772 struct ieee80211_radiotap_he *he, in mt76_connac2_mac_decode_he_radiotap_ru() argument
813 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac2_mac_decode_he_radiotap_ru()
814 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac2_mac_decode_he_radiotap_ru()
889 struct ieee80211_radiotap_he *he; in mt76_connac2_mac_decode_he_radiotap() local
893 he = skb_push(skb, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap()
894 memcpy(he, &known, sizeof(known)); in mt76_connac2_mac_decode_he_radiotap()
896 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[14]) | in mt76_connac2_mac_decode_he_radiotap()
898 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[11]); in mt76_connac2_mac_decode_he_radiotap()
899 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[2]) | in mt76_connac2_mac_decode_he_radiotap()
903 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac2_mac_decode_he_radiotap()
[all …]
/src/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c33 static struct hostent *he; variable
63 he = gethostbyaddr((char *)&haddr,sizeof(haddr),AF_INET); in bootparamproc_whoami_1_svc()
64 if ( ! he ) goto failed; in bootparamproc_whoami_1_svc()
66 if (debug) warnx("this is host %s", he->h_name); in bootparamproc_whoami_1_svc()
67 if (dolog) syslog(LOG_NOTICE,"This is host %s\n", he->h_name); in bootparamproc_whoami_1_svc()
69 strncpy(askname, he->h_name, sizeof(askname)); in bootparamproc_whoami_1_svc()
121 he = NULL; in bootparamproc_getfile_1_svc()
122 he = gethostbyname(getfile->client_name); in bootparamproc_getfile_1_svc()
123 if (! he ) goto failed; in bootparamproc_getfile_1_svc()
125 strncpy(askname, he->h_name, sizeof(askname)); in bootparamproc_getfile_1_svc()
[all …]
/src/lib/libc/tests/nss/
H A Dgethostby_test.c95 struct hostent *he; in IMPLEMENT_TEST_FILE_SNAPSHOT() local
100 he = getipnodebyname(name, af, ipnode_flags, &error); in IMPLEMENT_TEST_FILE_SNAPSHOT()
101 if (he == NULL) in IMPLEMENT_TEST_FILE_SNAPSHOT()
104 he = gethostbyname2(name, af); in IMPLEMENT_TEST_FILE_SNAPSHOT()
106 return (he); in IMPLEMENT_TEST_FILE_SNAPSHOT()
112 struct hostent *he; in __gethostbyaddr() local
117 he = getipnodebyaddr(addr, len, af, &error); in __gethostbyaddr()
118 if (he == NULL) in __gethostbyaddr()
121 he = gethostbyaddr(addr, len, af); in __gethostbyaddr()
123 return (he); in __gethostbyaddr()
[all …]
/src/sys/contrib/dev/iwlwifi/mld/
H A Drx.c212 struct ieee80211_radiotap_he *he, in iwl_mld_he_set_ru_alloc() argument
221 he->data1 |= cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN); in iwl_mld_he_set_ru_alloc()
222 he->data2 |= cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_KNOWN | in iwl_mld_he_set_ru_alloc()
254 he->data2 |= le16_encode_bits(offs, in iwl_mld_he_set_ru_alloc()
257 he->data2 |= le16_encode_bits(p80, IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_SEC); in iwl_mld_he_set_ru_alloc()
265 struct ieee80211_radiotap_he *he, in iwl_mld_decode_he_mu() argument
271 he_mu->flags1 |= RTAP_ENC_HE(phy_data->ntfy->sigs.he.b, in iwl_mld_decode_he_mu()
274 he_mu->flags1 |= RTAP_ENC_HE(phy_data->ntfy->sigs.he.b, in iwl_mld_decode_he_mu()
277 he_mu->flags2 |= RTAP_ENC_HE(phy_data->ntfy->sigs.he.a1, in iwl_mld_decode_he_mu()
280 he_mu->flags2 |= RTAP_ENC_HE(phy_data->ntfy->sigs.he.a2, in iwl_mld_decode_he_mu()
[all …]
/src/sys/contrib/dev/iwlwifi/fw/api/
H A Dmac.h446 * The required PPE is set via HE Capabilities IE, per Nss x BW x MCS
470 * The required PPE is set via HE Capabilities IE, per Nss x BW x MCS
494 * enum iwl_he_sta_ctxt_flags - HE STA context flags
542 * enum iwl_he_htc_flags - HE HTC support flags
543 * @IWL_HE_HTC_SUPPORT: HE-HTC support
544 * @IWL_HE_HTC_UL_MU_RESP_SCHED: HE UL MU response schedule
559 * @IWL_HE_HTC_LINK_ADAP_NO_FEEDBACK: the STA does not provide HE MFB
560 * @IWL_HE_HTC_LINK_ADAP_UNSOLICITED: the STA provides only unsolicited HE MFB
561 * @IWL_HE_HTC_LINK_ADAP_BOTH: the STA is capable of providing HE MFB in
562 * response to HE MRQ and if the STA provides unsolicited HE MFB
[all …]
H A Drs.h15 * @IWL_TLC_MNG_CFG_FLAGS_STBC_MSK: enable STBC. For HE this enables STBC for
18 * @IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK: enable STBC in HE at 160MHz
20 * @IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK: enable HE Dual Carrier Modulation
23 * @IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_2_MSK: enable HE Dual Carrier Modulation
74 * @IWL_TLC_MNG_MODE_HE: enable HE
88 * enum iwl_tlc_mng_ht_rates - HT/VHT/HE rates
494 /* Bit 10 - OFDM HE */
521 /* Bit 18: OFDM-HE dual carrier mode */
530 * Bit 20-21: HE LTF type and guard interval
531 * HE (ext) SU:
[all …]
/src/tests/sys/geom/class/uzip/etalon/
H A Detalon.txt19 He took his vorpal sword in hand:
20 Long time the manxome foe he sought --
21 So rested he by the Tumtum tree,
24 And, as in uffish thought he stood,
31 He left it dead, and with its head
32 He went galumphing back.
37 He chortled in his joy.
/src/bin/sh/
H A Dhistedit.c101 HistEvent he; in histsave() local
121 if (history(hist, &he, H_SAVE_FP, f) < 1 || in histsave()
134 HistEvent he; in histload() local
139 if (history(hist, &he, H_LOAD, histfile) != -1 || errno == ENOENT) in histload()
232 HistEvent he; in sethistsize() local
239 history(hist, &he, H_SETSIZE, histsize); in sethistsize()
240 history(hist, &he, H_SETUNIQUE, 1); in sethistsize()
255 HistEvent he; in histcmd() local
402 history(hist, &he, H_FIRST); in histcmd()
403 retval = history(hist, &he, H_NEXT_EVENT, first); in histcmd()
[all …]
/src/usr.bin/bluetooth/bthost/
H A Dbthost.c77 struct hostent *he = NULL; in hostmode() local
84 he = bt_gethostbyaddr((char const *) &ba, sizeof(ba), in hostmode()
88 he = bt_gethostbyname(arg); in hostmode()
91 if (he == NULL) { in hostmode()
97 printf("%s", reverse? he->h_name : in hostmode()
98 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
103 reverse? he->h_name : in hostmode()
104 bt_ntoa((bdaddr_t *)(he->h_addr), bastr)); in hostmode()
/src/contrib/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()
/src/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c38 struct hostent *he; in eachres_whoami() local
40 he = gethostbyaddr((char *)&raddr->sin_addr.s_addr,4,AF_INET); in eachres_whoami()
41 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); in eachres_whoami()
50 struct hostent *he; in eachres_getfile() local
52 he = gethostbyaddr((char *)&raddr->sin_addr.s_addr,4,AF_INET); in eachres_getfile()
53 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); in eachres_getfile()
/src/sys/contrib/dev/mediatek/mt76/mt7915/
H A Ddebugfs.c274 "HE SU", "HE EXT", "HE 2MU", "HE 3MU", "HE 4MU", in mt7915_muru_stats_show()
275 "HE 2RU", "HE 3RU", "HE 4RU", "HE 5-8RU", "HE 9-16RU", in mt7915_muru_stats_show()
276 "HE >16RU" in mt7915_muru_stats_show()
279 "HE 2MU", "HE 3MU", "HE 4MU", "HE SU", "HE 2RU", in mt7915_muru_stats_show()
280 "HE 3RU", "HE 4RU", "HE 5-8RU", "HE 9-16RU", "HE >16RU" in mt7915_muru_stats_show()
296 /* Non-HE Downlink*/ in mt7915_muru_stats_show()
297 seq_puts(file, "[Non-HE]\nDownlink\nData Type: "); in mt7915_muru_stats_show()
325 seq_printf(file, "\nTotal non-HE MU-MIMO DL PPDU count: %lld", in mt7915_muru_stats_show()
335 seq_printf(file, "\nAll non-HE DL PPDU count: %lld", total_ppdu_cnt); in mt7915_muru_stats_show()
337 /* HE Downlink */ in mt7915_muru_stats_show()
[all …]
/src/contrib/atf/
H A DAUTHORS7 Main developer. He started the work on this project when he took part in
18 NetBSD Foundation, he worked on the atfify NetBSD-SoC project and, as a
19 side-effect, he contributed to the ATF source code. He developed the
/src/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c66 struct hostent *he; in main() local
98 if ((he = bt_gethostbyname(optarg)) == NULL) in main()
101 memcpy(&dst, he->h_addr, sizeof(dst)); in main()
127 if ((he = bt_gethostbyname(optarg)) == NULL) in main()
130 memcpy(&src, he->h_addr, sizeof(src)); in main()
152 he = bt_gethostbyaddr((const char *)&dst, sizeof(dst), AF_BLUETOOTH); in main()
153 if (he == NULL || he->h_name == NULL || he->h_name[0] == '\0' || numeric) in main()
156 rname = strdup(he->h_name); in main()

12345678910>>...24