/freebsd/usr.bin/top/ |
H A D | username.c | 46 #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 D | make_hash.c | 115 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 D | comp_hash.c | 56 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 D | hash.c | 50 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 D | alloc.c | 59 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 D | dhcpd.h | 242 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 D | tree.h | 59 struct hash_table *hash;
|
H A D | tables.c | 428 struct hash_table universe_hash;
|
/freebsd/contrib/flex/src/ |
H A D | sym.c | 49 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 D | rehash.c | 100 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 D | report_hashing.c | 44 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 D | llib-ltinfow | 209 const HashValue *hash_table)
|
H A D | llib-ltinfo | 197 const HashValue *hash_table)
|
H A D | llib-ltinfotw | 214 const HashValue *hash_table)
|
H A D | llib-ltinfot | 202 const HashValue *hash_table)
|
H A D | llib-lncursest | 2940 const HashValue *hash_table)
|
H A D | llib-lncurses | 2926 const HashValue *hash_table)
|
H A D | llib-lncursestw | 3891 const HashValue *hash_table)
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCRuntimeV2.cpp | 1464 const RemoteNXMapTable &hash_table) { in UpdateSignature() argument 1465 m_count = hash_table.GetCount(); in UpdateSignature() 1466 m_num_buckets = hash_table.GetBucketCount(); in UpdateSignature() 1467 m_buckets_ptr = hash_table.GetBucketDataPointer(); in UpdateSignature() 1472 RemoteNXMapTable &hash_table) { in NeedsUpdate() argument 1473 if (!hash_table.ParseHeader(process, runtime->GetISAHashTablePointer())) { in NeedsUpdate() 1479 if (m_count == hash_table.GetCount() && in NeedsUpdate() 1480 m_num_buckets == hash_table.GetBucketCount() && in NeedsUpdate() 1481 m_buckets_ptr == hash_table.GetBucketDataPointer()) { in NeedsUpdate() 1990 RemoteNXMapTable &hash_table) { in UpdateISAToDescriptorMap() argument [all …]
|
H A D | AppleObjCRuntimeV2.h | 120 RemoteNXMapTable &hash_table); 122 void UpdateSignature(const RemoteNXMapTable &hash_table); 336 UpdateISAToDescriptorMap(RemoteNXMapTable &hash_table);
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 372 static mru ** hash_table; variable 2502 for (mon = hash_table[hash]; mon != NULL; mon = mon->hlink) in add_mru() 2515 UNLINK_SLIST(unlinked, hash_table[hash], mon, hlink, mru); in add_mru() 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); [all...] |
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dbuf_stats.c | 142 for (db = h->hash_table[dsh->idx]; db != NULL; db = db->db_hash_next) { in dbuf_stats_hash_table_data()
|
H A D | dbuf.c | 354 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() 496 dbp = &h->hash_table[idx]; in dbuf_hash_remove() 503 if (h->hash_table[idx] && in dbuf_hash_remove() 504 h->hash_table[idx]->db_hash_next == NULL) in dbuf_hash_remove() 936 h->hash_table = NULL; in dbuf_init() 937 while (h->hash_table == NULL) { in dbuf_init() 940 h->hash_table = vmem_zalloc(hsize * sizeof (void *), KM_SLEEP); in dbuf_init() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dbuf.h | 349 dmu_buf_impl_t **hash_table; member
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | Opts.td | 60 def hash_table : FF<"hash-table", "Display .hash section">, Group<grp_elf>;
|