Home
last modified time | relevance | path

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

12

/freebsd/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/usr.bin/top/
H A Dusername.c46 #define is_empty_hash(x) (hash_table[x].name[0] == 0)
53 static struct hash_el hash_table[Table_size]; variable
62 if (is_empty_hash(hashindex) || (hash_table[hashindex].uid != uid)) in username()
67 return(hash_table[hashindex].name); in username()
107 if (hash_table[hashindex].uid == uid) in enter_user()
112 hash_table[hashindex].uid = uid; in enter_user()
113 (void) strncpy(hash_table[hashindex].name, name, MAXLOGNAME - 1); in enter_user()
/freebsd/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.c56 const HashValue * hash_table) in NCURSES_EXPORT()
58 bool termcap = (hash_table != _nc_get_hash_table(FALSE)); in NCURSES_EXPORT()
/freebsd/sbin/dhclient/
H A Dhash.c50 struct hash_table *
53 struct hash_table *rv = new_hash_table(DEFAULT_HASH_SIZE); in new_hash()
78 void add_hash(struct hash_table *table, const unsigned char *name, int len, in add_hash()
104 hash_lookup(struct hash_table *table, unsigned char *name, int len) in hash_lookup()
H A Dalloc.c59 struct hash_table *
62 struct hash_table *rval; in new_hash_table()
64 rval = calloc(1, sizeof(struct hash_table) - in new_hash_table()
H A Ddhcpd.h242 struct hash_table { struct
301 struct hash_table *new_hash_table(int);
332 struct hash_table *new_hash(void);
333 void add_hash(struct hash_table *, const unsigned char *, int, unsigned char *);
334 void *hash_lookup(struct hash_table *, unsigned char *, int);
340 extern struct hash_table universe_hash;
H A Dtree.h59 struct hash_table *hash;
H A Dtables.c428 struct hash_table universe_hash;
/freebsd/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/crypto/openssl/apps/
H A Drehash.c100 static BUCKET *hash_table[257]; variable
128 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); in add_entry()
130 for (bp = hash_table[ndx]; bp; bp = bp->next) in add_entry()
136 bp->next = hash_table[ndx]; in add_entry()
139 hash_table[ndx] = bp; in add_entry()
413 for (i = 0; i < OSSL_NELEM(hash_table); i++) { in do_dir()
414 for (bp = hash_table[i]; bp; bp = nextbp) { in do_dir()
476 hash_table[i] = NULL; in do_dir()
/freebsd/contrib/ncurses/ncurses/
H A Dreport_hashing.c44 const HashValue *hash_table = _nc_get_hash_table(termcap); in check_names() local
48 entry_ptr = _nc_find_entry(table[n], hash_table); in check_names()
H A Dllib-ltinfo197 const HashValue *hash_table)
H A Dllib-ltinfow209 const HashValue *hash_table)
H A Dllib-ltinfot202 const HashValue *hash_table)
H A Dllib-ltinfotw214 const HashValue *hash_table)
H A Dllib-lncurses2926 const HashValue *hash_table)
H A Dllib-lncursest2940 const HashValue *hash_table)
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.cpp1488 const RemoteNXMapTable &hash_table) { in UpdateSignature() argument
1489 m_count = hash_table.GetCount(); in UpdateSignature()
1490 m_num_buckets = hash_table.GetBucketCount(); in UpdateSignature()
1491 m_buckets_ptr = hash_table.GetBucketDataPointer(); in UpdateSignature()
1496 RemoteNXMapTable &hash_table) { in NeedsUpdate() argument
1503 if (m_count == hash_table.GetCount() && in NeedsUpdate()
2014 RemoteNXMapTable &hash_table) { in UpdateISAToDescriptorMap() argument
2052 ? hash_table.GetCount() in UpdateISAToDescriptorMap()
2125 hash_table.GetTableLoadAddress(); in UpdateISAToDescriptorMap()
2540 RemoteNXMapTable hash_table; in UpdateISAToDescriptorMapIfNeeded() local
[all …]
H A DAppleObjCRuntimeV2.h120 RemoteNXMapTable &hash_table);
122 void UpdateSignature(const RemoteNXMapTable &hash_table);
336 UpdateISAToDescriptorMap(RemoteNXMapTable &hash_table);
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c372 static mru ** hash_table; variable
2522 LINK_SLIST(hash_table[hash], add, hlink); in add_mru()
2611 cb = NTP_HASH_SIZE * sizeof(*hash_table); in collect_mru_list()
2612 INSIST(NULL == hash_table); in collect_mru_list()
2613 hash_table = emalloc_zero(cb); in collect_mru_list()
2659 UNLINK_SLIST(unlinked, hash_table[hash], in collect_mru_list()
2758 for (recent = hash_table[hash]; in collect_mru_list()
3001 free(hash_table); in collect_mru_list()
3002 hash_table = NULL; in collect_mru_list()
3355 free(hash_table); in mrulist()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddbuf_stats.c142 for (db = h->hash_table[dsh->idx]; db != NULL; db = db->db_hash_next) { in dbuf_stats_hash_table_data()
H A Ddbuf.c354 for (db = h->hash_table[idx]; db != NULL; db = db->db_hash_next) { in dbuf_find()
410 for (dbf = h->hash_table[idx], i = 0; dbf != NULL; in dbuf_hash_insert()
431 db->db_hash_next = h->hash_table[idx]; in dbuf_hash_insert()
432 h->hash_table[idx] = db; in dbuf_hash_insert()
497 dbp = &h->hash_table[idx]; in dbuf_hash_remove()
504 if (h->hash_table[idx] && in dbuf_hash_remove()
505 h->hash_table[idx]->db_hash_next == NULL) in dbuf_hash_remove()
928 h->hash_table = NULL; in dbuf_init()
929 while (h->hash_table == NULL) { in dbuf_init()
932 h->hash_table = vmem_zalloc(hsize * sizeof (void *), KM_SLEEP); in dbuf_init()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddbuf.h347 dmu_buf_impl_t **hash_table; member
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td59 def hash_table : FF<"hash-table", "Display .hash section">, Group<grp_elf>;

12