Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/freebsd-13.1/sys/netpfil/ipfw/
H A Ddn_heap.c396 if (ht->ht != (void *)(ht + 1)) in dn_ht_init()
397 free(ht->ht, M_DN_HEAP); in dn_ht_init()
410 ht->ht = (void **)(ht + 1); in dn_ht_init()
437 if (ht->ht && ht->ht != (void *)(ht + 1)) in dn_ht_free()
438 free(ht->ht, M_DN_HEAP); in dn_ht_free()
446 return ht ? ht->entries : 0; in dn_ht_entries()
461 for (pp = &ht->ht[i]; (p = *pp); pp = (void **)((char *)p + ht->ofs)) { in dn_ht_find()
482 *(void **)((char *)p + ht->ofs) = ht->ht[i]; in dn_ht_find()
483 ht->ht[i] = p; in dn_ht_find()
502 curp = &ht->ht[i]; in dn_ht_scan()
[all …]
/freebsd-13.1/contrib/apr/tables/
H A Dapr_hash.c93 return apr_pcalloc(ht->pool, sizeof(*ht->array) * (max + 1)); in alloc_array()
104 ht->count = 0; in apr_hash_make()
108 ht->array = alloc_array(ht, ht->max); in apr_hash_make()
111 return ht; in apr_hash_make()
119 return ht; in apr_hash_make_custom()
148 hi->ht = ht; in apr_hash_first()
299 for (hep = &ht->array[hash & ht->max], he = *hep; in find_entry()
320 ht->count++; in find_entry()
359 return ht; in apr_hash_copy()
394 if (ht->count > ht->max) { in apr_hash_set()
[all …]
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_hashtab.c46 ht->size = 1 << order; in drm_ht_create()
47 ht->order = order; in drm_ht_create()
48 ht->table = NULL; in drm_ht_create()
49 ht->table = hashinit_flags(ht->size, DRM_MEM_HASHTAB, &ht->mask, in drm_ht_create()
51 if (!ht->table) { in drm_ht_create()
68 h_list = &ht->table[hashed_key & ht->mask]; in drm_ht_verbose_list()
81 h_list = &ht->table[hashed_key & ht->mask]; in drm_ht_find_key()
100 h_list = &ht->table[hashed_key & ht->mask]; in drm_ht_insert_item()
182 if (ht->table) { in drm_ht_remove()
183 hashdestroy(ht->table, DRM_MEM_HASHTAB, ht->mask); in drm_ht_remove()
[all …]
H A Ddrm_hashtab.h56 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **ite…
63 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
64 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
66 extern void drm_ht_remove(struct drm_open_hash *ht);
/freebsd-13.1/contrib/lib9p/
H A Dhashtable.h34 struct ht { struct
51 struct ht * htit_parent;
66 ht_rdlock(struct ht *h) in ht_rdlock()
76 ht_wrlock(struct ht *h) in ht_wrlock()
86 ht_unlock(struct ht *h) in ht_unlock()
96 void ht_init(struct ht *h, ssize_t size);
97 void ht_destroy(struct ht *h);
98 void *ht_find(struct ht *h, uint32_t hash);
99 void *ht_find_locked(struct ht *h, uint32_t hash);
101 int ht_remove(struct ht *h, uint32_t hash);
[all …]
H A Dhashtable.c41 ht_init(struct ht *h, ssize_t size) in ht_init()
45 memset(h, 0, sizeof(struct ht)); in ht_init()
55 ht_destroy(struct ht *h) in ht_destroy()
74 ht_find(struct ht *h, uint32_t hash) in ht_find()
85 ht_find_locked(struct ht *h, uint32_t hash) in ht_find_locked()
127 ht_remove(struct ht *h, uint32_t hash) in ht_remove()
138 ht_remove_locked(struct ht *h, uint32_t hash) in ht_remove_locked()
175 struct ht *h; in ht_iter_advance()
206 struct ht *h; in ht_remove_at_iter()
238 ht_iter(struct ht *h, struct ht_iter *iter) in ht_iter()
[all …]
/freebsd-13.1/contrib/subversion/subversion/include/
H A Dsvn_hash.h253 svn_hash__gets_debug(apr_hash_t *ht, const char *key);
255 #define svn_hash_gets(ht, key) \ argument
256 svn_hash__gets_debug(ht, key)
262 #define svn_hash_gets(ht, key) \ argument
263 apr_hash_get(ht, key, APR_HASH_KEY_STRING)
268 svn_hash__sets_debug(apr_hash_t *ht, const char *key, const void *value);
270 #define svn_hash_sets(ht, key, val) \ argument
271 svn_hash__sets_debug(ht, key, val)
277 #define svn_hash_sets(ht, key, val) \ argument
278 apr_hash_set(ht, key, APR_HASH_KEY_STRING, val)
/freebsd-13.1/contrib/ofed/libibnetdisc/
H A Dg_hash_table.cpp72 HashTable *ht = (HashTable *)ght; in GHashTableInsert() local
73 ht->map[key] = value; in GHashTableInsert()
79 HashTable *ht = (HashTable *)ght; in GHashTableLookup() local
81 if (ht->map.find(key) == ht->map.end()) in GHashTableLookup()
83 return (ht->map[key]); in GHashTableLookup()
/freebsd-13.1/lib/libc/tests/nss/
H A Dgethostby_test.c196 ATF_REQUIRE(ht != NULL); in free_hostent()
198 free(ht->h_name); in free_hostent()
203 free(ht->h_aliases); in free_hostent()
209 free(ht->h_addr_list); in free_hostent()
411 ht->h_name, ht->h_addrtype, ht->h_length); in sdump_hostent()
621 ht->h_length); in hostent_read_snapshot_func()
655 free_hostent(ht); in hostent_read_snapshot_func()
683 dump_hostent(ht); in hostent_test_correctness()
686 if (ht == NULL) in hostent_test_correctness()
689 if (ht->h_name == NULL) in hostent_test_correctness()
[all …]
/freebsd-13.1/crypto/openssh/regress/
H A Dkeytype.sh55 for ht in $htypes; do
56 host_type=`kname_to_ktype "$ht"`
57 trace "ssh connect, userkey $ut, hostkey $ht"
60 echo HostKey $OBJ/key.$ht
72 cat $OBJ/key.$ht.pub
76 verbose "userkey $ut, hostkey ${ht}"
79 fail "ssh userkey $ut, hostkey $ht failed"
/freebsd-13.1/tools/tools/iwn/iwnstats/
H A Dmain.c193 iwn_stats_ht_phy_print(struct iwn_rx_ht_phy_stats *ht) in iwn_stats_ht_phy_print() argument
198 le32toh(ht->bad_plcp), in iwn_stats_ht_phy_print()
199 le32toh(ht->overrun), in iwn_stats_ht_phy_print()
200 le32toh(ht->eoverrun), in iwn_stats_ht_phy_print()
201 le32toh(ht->good_crc32), in iwn_stats_ht_phy_print()
202 le32toh(ht->bad_crc32)); in iwn_stats_ht_phy_print()
206 le32toh(ht->bad_plcp), in iwn_stats_ht_phy_print()
207 le32toh(ht->good_ampdu_crc32), in iwn_stats_ht_phy_print()
208 le32toh(ht->ampdu), in iwn_stats_ht_phy_print()
209 le32toh(ht->fragment)); in iwn_stats_ht_phy_print()
[all …]
/freebsd-13.1/contrib/apr/include/
H A Dapr_hash.h108 APR_DECLARE(void) apr_hash_set(apr_hash_t *ht, const void *key,
118 APR_DECLARE(void *) apr_hash_get(apr_hash_t *ht, const void *key,
148 APR_DECLARE(apr_hash_index_t *) apr_hash_first(apr_pool_t *p, apr_hash_t *ht);
196 APR_DECLARE(unsigned int) apr_hash_count(apr_hash_t *ht);
202 APR_DECLARE(void) apr_hash_clear(apr_hash_t *ht);
270 void *rec, const apr_hash_t *ht);
/freebsd-13.1/contrib/subversion/subversion/include/private/
H A Dsvn_element.h46 svn_eid__hash_get(apr_hash_t *ht,
51 svn_eid__hash_set(apr_hash_t *ht,
82 apr_hash_t *ht,
96 #define SVN_EID__HASH_ITER_SORTED(i, ht, comparison_func, pool) \ argument
97 i = (void *)svn_eid__hash_sorted_first(pool, ht, comparison_func); \
101 #define SVN_EID__HASH_ITER_SORTED_BY_EID(i, ht, pool) \ argument
102 SVN_EID__HASH_ITER_SORTED(i, ht, svn_eid__hash_sort_compare_items_by_eid, pool)
/freebsd-13.1/lib/libc/net/
H A Dgethostnamadr.c265 struct hostent *ht; in host_marshal_func() local
285 ht = va_arg(ap, struct hostent *); in host_marshal_func()
288 if (ht->h_name != NULL) in host_marshal_func()
289 desired_size += strlen(ht->h_name) + 1; in host_marshal_func()
291 if (ht->h_aliases != NULL) { in host_marshal_func()
302 if (ht->h_addr_list != NULL) { in host_marshal_func()
371 struct hostent *ht; in host_unmarshal_func() local
393 ht = va_arg(ap, struct hostent *); in host_unmarshal_func()
414 if (ht->h_aliases != NULL) { in host_unmarshal_func()
421 if (ht->h_addr_list != NULL) { in host_unmarshal_func()
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dxml.c599 apr_hash_t *ht, in amalgamate() argument
627 apr_hash_t *ht = apr_hash_make(pool); in svn_xml_ap_to_hash() local
633 svn_hash_sets(ht, key, val); in svn_xml_ap_to_hash()
636 return ht; in svn_xml_ap_to_hash()
643 apr_hash_t *ht = apr_hash_make(pool); in svn_xml_make_att_hash() local
645 return ht; in svn_xml_make_att_hash()
651 apr_hash_t *ht, in svn_xml_hash_atts_overlaying() argument
654 amalgamate(atts, ht, 0, pool); in svn_xml_hash_atts_overlaying()
660 apr_hash_t *ht, in svn_xml_hash_atts_preserving() argument
663 amalgamate(atts, ht, 1, pool); in svn_xml_hash_atts_preserving()
[all …]
/freebsd-13.1/contrib/bearssl/test/
H A Dtest_x509.c208 HT *ht; in HT_new() local
211 ht = xmalloc(sizeof *ht); in HT_new()
212 ht->size = 0; in HT_new()
214 ht->buckets = xmalloc(ht->num_buckets * sizeof(ht_elt *)); in HT_new()
218 return ht; in HT_new()
265 HT_expand(HT *ht) in HT_expand() argument
316 ht->size --; in HT_put()
331 ht->size ++; in HT_put()
332 if (ht->size > ht->num_buckets) { in HT_put()
383 ht->size = 0; in HT_clear()
[all …]
/freebsd-13.1/sys/dev/drm2/ttm/
H A Dttm_object.c261 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local
272 ret = drm_ht_find_item(ht, base->hash.key, &hash); in ttm_ref_object_add()
299 ret = drm_ht_insert_item(ht, &ref->hash); in ttm_ref_object_add()
324 struct drm_open_hash *ht; in ttm_ref_object_release() local
327 ht = &tfile->ref_hash[ref->ref_type]; in ttm_ref_object_release()
328 (void)drm_ht_remove_item(ht, &ref->hash); in ttm_ref_object_release()
344 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref() local
350 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()
/freebsd-13.1/contrib/wpa/src/ap/
H A Dneighbor_db.c200 int ht, int vht, int he) in hostapd_get_nr_chan_width() argument
204 if (!ht && !vht && !he) in hostapd_get_nr_chan_width()
225 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_neighbor_set_own_report() local
256 if (ht) { in hostapd_neighbor_set_own_report()
275 width = hostapd_get_nr_chan_width(hapd, ht, vht, he); in hostapd_neighbor_set_own_report()
283 } else if (ht) { in hostapd_neighbor_set_own_report()
304 wpabuf_put_u8(nr, ieee80211_get_phy_type(hapd->iface->freq, ht, vht)); in hostapd_neighbor_set_own_report()
/freebsd-13.1/contrib/subversion/subversion/libsvn_delta/
H A Delement.c40 svn_eid__hash_get(apr_hash_t *ht, in svn_eid__hash_get() argument
43 return apr_hash_get(ht, &key, sizeof(key)); in svn_eid__hash_get()
47 svn_eid__hash_set(apr_hash_t *ht, in svn_eid__hash_set() argument
51 int *id_p = apr_pmemdup(apr_hash_pool_get(ht), &key, sizeof(key)); in svn_eid__hash_set()
53 apr_hash_set(ht, id_p, sizeof(key), val); in svn_eid__hash_set()
64 apr_hash_t *ht, in svn_eid__hash_sorted_first() argument
70 if (apr_hash_count(ht) == 0) in svn_eid__hash_sorted_first()
73 hi->array = svn_sort__hash(ht, comparison_func, pool); in svn_eid__hash_sorted_first()
/freebsd-13.1/share/vt/keymaps/
H A Ddk.macbook.kbd24 015 ht btab ht ht ht btab ht ht O
32 023 'i' 'I' ht ht '|' nop nop nop C
/freebsd-13.1/share/syscons/keymaps/
H A Ddanish.iso.macbook.kbd24 015 ht btab ht ht ht btab ht ht O
32 023 'i' 'I' ht ht '|' nop nop nop C
H A Dus.emacs.kbd21 015 ht ht ht ht 137 137 137 137 O
29 023 'i' 'I' ht ht 233 201 137 137 C
H A Dby.cp1251.kbd21 015 ht btab nop nop ht btab nop nop O
29 023 'i' 'I' ht ht 'i' 'I' ht ht C
131 143 ht btab nop nop ht btab nop nop O
139 151 '�' '�' ht ht 'i' 'I' ht ht C
/freebsd-13.1/libexec/bootpd/
H A Dbootptab.cmu19 # ht -- hardware type
70 carnegie:tc=.subnet13:ht=ieee802:ha=7FF8100000AF:
77 gastonville:tc=.subnet232:ht=ieee802:ha=7FFF81000A47:
78 hahntown:tc=.subnet13:ht=ieee802:ha=7FFF81000434:
79 hickman:tc=.subnet19:ht=ieee802:ha=7FFF810001BA:
94 hollidaysburg: tc=.subnet19:ht=ieee802:ha=7FFF810002C8:
/freebsd-13.1/sys/dev/usb/net/
H A Duhso.c555 struct uhso_tty *ht; in uhso_attach() local
632 ht = &sc->sc_tty[i]; in uhso_attach()
645 ht->ht_name[0] = 0; in uhso_attach()
1156 struct uhso_tty *ht; in uhso_mux_read_callback() local
1163 ht = usbd_xfer_get_priv(xfer); in uhso_mux_read_callback()
1164 UHSO_DPRINTF(3, "ht=%p open=%d\n", ht, ht->ht_open); in uhso_mux_read_callback()
1173 ht->ht_muxport); in uhso_mux_read_callback()
1180 if (ht->ht_open) in uhso_mux_read_callback()
1213 struct uhso_tty *ht; in uhso_mux_write_callback() local
1221 ht = usbd_xfer_get_priv(xfer); in uhso_mux_write_callback()
[all …]

12345678910>>...13