Home
last modified time | relevance | path

Searched refs:hash_table (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/xz/src/liblzma/lz/
H A Dlz_encoder_hash.h21 # define hash_table lzma_lz_hash_table macro
24 # define hash_table lzma_crc32_table[0] macro
50 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
56 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
61 ^ (hash_table[cur[3]] << 5)) & mf->hash_mask
67 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
72 ^ hash_table[cur[3]] << 5); \
74 = (hash_4_value ^ (hash_table[cur[4]] << 3)) \
88 ^ hash_table[cur[1]]) & 0xFFFF
92 = (hash_table[cur[0]] ^ cur[1]) & HASH_2_MASK
[all …]
/freebsd-13.1/usr.bin/top/
H A Dusername.c48 #define is_empty_hash(x) (hash_table[x].name[0] == 0)
55 static struct hash_el hash_table[Table_size]; variable
64 if (is_empty_hash(hashindex) || (hash_table[hashindex].uid != uid)) in username()
69 return(hash_table[hashindex].name); in username()
109 if (hash_table[hashindex].uid == uid) in enter_user()
114 hash_table[hashindex].uid = uid; in enter_user()
115 (void) strncpy(hash_table[hashindex].name, name, MAXLOGNAME - 1); in enter_user()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dmake_hash.c115 HashValue * hash_table, in _nc_make_hash_table() argument
123 hash_table[i] = UNUSED; in _nc_make_hash_table()
128 if (hash_table[hashvalue] >= 0) in _nc_make_hash_table()
131 if (hash_table[hashvalue] != UNUSED) { in _nc_make_hash_table()
132 table[i].ute_link = hash_table[hashvalue]; in _nc_make_hash_table()
134 hash_table[hashvalue] = (HashValue) i; in _nc_make_hash_table()
252 HashValue *hash_table = typeCalloc(HashValue, HASHTABSIZE); in main() local
276 || hash_table == 0) { in main()
353 _nc_make_hash_table(name_table, hash_table, tablesize); in main()
424 printf("\t%3d,\n", hash_table[n]); in main()
[all …]
H A Dcomp_hash.c57 const HashValue * hash_table) in NCURSES_EXPORT()
59 bool termcap = (hash_table != _nc_get_hash_table(FALSE)); in NCURSES_EXPORT()
/freebsd-13.1/sbin/dhclient/
H A Dhash.c52 struct hash_table *
55 struct hash_table *rv = new_hash_table(DEFAULT_HASH_SIZE); in new_hash()
80 void add_hash(struct hash_table *table, const unsigned char *name, int len, in add_hash()
106 hash_lookup(struct hash_table *table, unsigned char *name, int len) in hash_lookup()
H A Dalloc.c61 struct hash_table *
64 struct hash_table *rval; in new_hash_table()
66 rval = calloc(1, sizeof(struct hash_table) - in new_hash_table()
H A Ddhcpd.h244 struct hash_table { struct
303 struct hash_table *new_hash_table(int);
333 struct hash_table *new_hash(void);
334 void add_hash(struct hash_table *, const unsigned char *, int, unsigned char *);
335 void *hash_lookup(struct hash_table *, unsigned char *, int);
341 extern struct hash_table universe_hash;
H A Dtree.h61 struct hash_table *hash;
H A Dtables.c430 struct hash_table universe_hash;
/freebsd-13.1/contrib/flex/src/
H A Dsym.c49 typedef struct hash_entry **hash_table; typedef
62 static int addsym(char[], char *, int, hash_table, int);
63 static struct hash_entry *findsym (const char *sym, hash_table table,
73 static int addsym (char sym[], char *str_def, int int_def, hash_table table, int table_size) in addsym()
138 static struct hash_entry *findsym (const char *sym, hash_table table, int table_size) in findsym()
/freebsd-13.1/crypto/openssl/apps/
H A Drehash.c104 static BUCKET *hash_table[257]; variable
132 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); in add_entry()
134 for (bp = hash_table[ndx]; bp; bp = bp->next) in add_entry()
140 bp->next = hash_table[ndx]; in add_entry()
143 hash_table[ndx] = bp; in add_entry()
384 for (i = 0; i < OSSL_NELEM(hash_table); i++) { in do_dir()
385 for (bp = hash_table[i]; bp; bp = nextbp) { in do_dir()
447 hash_table[i] = NULL; in do_dir()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.cpp1389 const RemoteNXMapTable &hash_table) { in UpdateSignature() argument
1390 m_count = hash_table.GetCount(); in UpdateSignature()
1391 m_num_buckets = hash_table.GetBucketCount(); in UpdateSignature()
1392 m_buckets_ptr = hash_table.GetBucketDataPointer(); in UpdateSignature()
1397 RemoteNXMapTable &hash_table) { in NeedsUpdate() argument
1404 if (m_count == hash_table.GetCount() && in NeedsUpdate()
1405 m_num_buckets == hash_table.GetBucketCount() && in NeedsUpdate()
1733 RemoteNXMapTable &hash_table) { in UpdateISAToDescriptorMap() argument
1768 ? hash_table.GetCount() in UpdateISAToDescriptorMap()
2204 RemoteNXMapTable hash_table; in UpdateISAToDescriptorMapIfNeeded() local
[all …]
H A DAppleObjCRuntimeV2.h123 RemoteNXMapTable &hash_table);
125 void UpdateSignature(const RemoteNXMapTable &hash_table);
331 UpdateISAToDescriptorMap(RemoteNXMapTable &hash_table);
/freebsd-13.1/contrib/ntp/ntpq/
H A Dntpq-subs.c372 static mru ** hash_table; variable
2492 LINK_SLIST(hash_table[hash], add, hlink); in add_mru()
2581 cb = NTP_HASH_SIZE * sizeof(*hash_table); in collect_mru_list()
2582 INSIST(NULL == hash_table); in collect_mru_list()
2583 hash_table = emalloc_zero(cb); in collect_mru_list()
2629 UNLINK_SLIST(unlinked, hash_table[hash], in collect_mru_list()
2728 for (recent = hash_table[hash]; in collect_mru_list()
2971 free(hash_table); in collect_mru_list()
2972 hash_table = NULL; in collect_mru_list()
3325 free(hash_table); in mrulist()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Ddbuf_stats.c141 for (db = h->hash_table[dsh->idx]; db != NULL; db = db->db_hash_next) { in dbuf_stats_hash_table_data()
H A Ddbuf.c342 for (db = h->hash_table[idx]; db != NULL; db = db->db_hash_next) { in dbuf_find()
396 for (dbf = h->hash_table[idx], i = 0; dbf != NULL; in dbuf_hash_insert()
417 db->db_hash_next = h->hash_table[idx]; in dbuf_hash_insert()
418 h->hash_table[idx] = db; in dbuf_hash_insert()
483 dbp = &h->hash_table[idx]; in dbuf_hash_remove()
490 if (h->hash_table[idx] && in dbuf_hash_remove()
491 h->hash_table[idx]->db_hash_next == NULL) in dbuf_hash_remove()
839 h->hash_table = vmem_zalloc(hsize * sizeof (void *), KM_SLEEP); in dbuf_init()
841 h->hash_table = kmem_zalloc(hsize * sizeof (void *), KM_NOSLEEP); in dbuf_init()
843 if (h->hash_table == NULL) { in dbuf_init()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Ddbuf.h329 dmu_buf_impl_t **hash_table; member
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td55 def hash_table : FF<"hash-table", "Display .hash section">, Group<grp_elf>;
/freebsd-13.1/contrib/ncurses/ncurses/
H A Dllib-ltinfo184 const HashValue *hash_table)
H A Dllib-ltinfot189 const HashValue *hash_table)
H A Dllib-ltinfow196 const HashValue *hash_table)
H A Dllib-ltinfotw201 const HashValue *hash_table)
H A Dllib-lncurses2913 const HashValue *hash_table)
H A Dllib-lncursest2927 const HashValue *hash_table)
H A Dllib-lncursestw3866 const HashValue *hash_table)

12