/freebsd/contrib/bmake/ |
H A D | hash.c | 116 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 …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | bib | 5 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 …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac3_mac.c | 14 struct ieee80211_radiotap_he *he, in mt76_connac3_mac_decode_he_radiotap_ru() argument 50 he->data1 |= HE_BITS(DATA1_BW_RU_ALLOC_KNOWN); in mt76_connac3_mac_decode_he_radiotap_ru() 51 he->data2 |= HE_BITS(DATA2_RU_OFFSET_KNOWN) | in mt76_connac3_mac_decode_he_radiotap_ru() 120 struct ieee80211_radiotap_he *he; in mt76_connac3_mac_decode_he_radiotap() local 124 he = skb_push(skb, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap() 125 memcpy(he, &known, sizeof(known)); in mt76_connac3_mac_decode_he_radiotap() 127 he->data3 = HE_PREP(DATA3_BSS_COLOR, BSS_COLOR, rxv[9]) | in mt76_connac3_mac_decode_he_radiotap() 129 he->data4 = HE_PREP(DATA4_SU_MU_SPTL_REUSE, SR_MASK, rxv[13]); in mt76_connac3_mac_decode_he_radiotap() 130 he->data5 = HE_PREP(DATA5_PE_DISAMBIG, PE_DISAMBIG, rxv[5]) | in mt76_connac3_mac_decode_he_radiotap() 134 he->data5 |= HE_BITS(DATA5_TXBF); in mt76_connac3_mac_decode_he_radiotap() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | roken_gethostby.c | 50 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 D | getaddrinfo.c | 228 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 ¤t, const_v6, he, &flags); in get_nodes() 339 freehostent (he); in get_nodes() [all …]
|
H A D | hostent_find_fqdn.c | 39 * 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()
|
/freebsd/lib/libc/net/ |
H A D | gethostbyht.c | 87 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 D | gethostbynis.c | 51 _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 D | gethostbydns.c | 136 struct hostent *he, struct hostent_data *hed, res_state statp) in gethostanswer() argument 151 he->h_name = NULL; in gethostanswer() 195 he->h_name = bp; in gethostanswer() 198 qname = he->h_name; in gethostanswer() 202 he->h_aliases = hed->host_aliases; in gethostanswer() 205 he->h_addr_list = hed->h_addr_ptrs; in gethostanswer() 261 he->h_name = bp; in gethostanswer() 319 he->h_name = bp; in gethostanswer() 334 he->h_name = bp; in gethostanswer() 342 _map_v4v6_hostent(he, &bp, ep); in gethostanswer() [all …]
|
H A D | gethostnamadr.c | 94 __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 D | netdb_private.h | 51 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); \
|
/freebsd/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 33 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 …]
|
/freebsd/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 95 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 …]
|
/freebsd/tests/sys/geom/class/uzip/etalon/ |
H A D | etalon.txt | 19 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.
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | mac.h | 446 * 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 MR [all...] |
H A D | rs.h | 13 * @IWL_TLC_MNG_CFG_FLAGS_STBC_MSK: enable STBC. For HE this enables STBC for 16 * @IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK: enable STBC in HE at 160MHz 18 * @IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK: enable HE Dual Carrier Modulation 21 * @IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_2_MSK: enable HE Dual Carrier Modulation 68 * @IWL_TLC_MNG_MODE_HE: enable HE 82 * enum iwl_tlc_mng_ht_rates - HT/VHT/HE rates 403 /* Bit 10 - OFDM HE */ 430 /* Bit 18: OFDM-HE dual carrier mode */ 439 * Bit 20-21: HE LTF type and guard interval 440 * HE (ex [all...] |
/freebsd/sys/contrib/dev/iwlwifi/cfg/ |
H A D | 22000.c | 157 * If the device doesn't support HE, no need to have that many buffers. 189 * HT size; mac80211 would otherwise pick the HE max (256) by default. 225 * HT size; mac80211 would otherwise pick the HE max (256) by default. 238 * HT size; mac80211 would otherwise pick the HE max (256) by default. 251 * HT size; mac80211 would otherwise pick the HE max (256) by default. 263 * HT size; mac80211 would otherwise pick the HE max (256) by default. 276 * HT size; mac80211 would otherwise pick the HE max (256) by default. 289 * HT size; mac80211 would otherwise pick the HE max (256) by default. 301 * HT size; mac80211 would otherwise pick the HE max (256) by default. 315 * HT size; mac80211 would otherwise pick the HE ma [all...] |
/freebsd/bin/sh/ |
H A D | histedit.c | 99 HistEvent he; in histsave() local 119 if (history(hist, &he, H_SAVE_FP, f) < 1 || in histsave() 132 HistEvent he; in histload() local 137 if (history(hist, &he, H_LOAD, histfile) != -1 || errno == ENOENT) in histload() 230 HistEvent he; in sethistsize() local 237 history(hist, &he, H_SETSIZE, histsize); in sethistsize() 238 history(hist, &he, H_SETUNIQUE, 1); in sethistsize() 253 HistEvent he; in histcmd() local 400 history(hist, &he, H_FIRST); in histcmd() 401 retval = history(hist, &he, H_NEXT_EVENT, first); in histcmd() [all …]
|
/freebsd/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 77 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()
|
/freebsd/contrib/dma/ |
H A D | dns.c | 66 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()
|
/freebsd/usr.sbin/bootparamd/callbootd/ |
H A D | callbootd.c | 38 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()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | debugfs.c | 259 "HE SU", "HE EXT", "HE 2MU", "HE 3MU", "HE 4MU", in mt7915_muru_stats_show() 260 "HE 2RU", "HE 3RU", "HE 4RU", "HE 5-8RU", "HE 9-16RU", in mt7915_muru_stats_show() 261 "HE >16RU" in mt7915_muru_stats_show() 264 "HE 2MU", "HE 3MU", "HE 4MU", "HE SU", "HE 2RU", in mt7915_muru_stats_show() 265 "HE 3RU", "HE 4RU", "HE 5-8RU", "HE 9-16RU", "HE >16RU" in mt7915_muru_stats_show() 281 /* Non-HE Downlink*/ in mt7915_muru_stats_show() 282 seq_puts(file, "[Non-HE]\nDownlink\nData Type: "); in mt7915_muru_stats_show() 310 seq_printf(file, "\nTotal non-HE MU-MIMO DL PPDU count: %lld", in mt7915_muru_stats_show() 320 seq_printf(file, "\nAll non-HE DL PPDU count: %lld", total_ppdu_cnt); in mt7915_muru_stats_show() 322 /* HE Downlink */ in mt7915_muru_stats_show() [all …]
|
/freebsd/contrib/atf/ |
H A D | AUTHORS | 7 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
|
/freebsd/usr.sbin/bluetooth/l2ping/ |
H A D | l2ping.c | 66 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()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hal_rx.h | 533 /* HE Radiotap data1 Mask */ 549 /* HE Radiotap data2 Mask */ 558 /* HE radiotap data3 shift values */ 567 /* HE radiotap data4 shift values */ 570 /* HE radiotap data5 */ 578 /* HE radiotap data6 */ 582 /* HE radiotap HE-MU flags1 */ 594 /* HE radiotap HE-MU flags2 */ 603 /* HE radiotap per_user_1 */ 609 /* HE radiotap per_user_2 */ [all …]
|