/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_compress.c | 96 int hashtab [HSIZE]; member 196 memset(state->hashtab, 0xff, sizeof(state->hashtab)); in archive_compressor_compress_open() 358 if (state->hashtab[i] == state->cur_fcode) { in archive_compressor_compress_write() 362 if (state->hashtab[i] < 0) /* Empty slot. */ in archive_compressor_compress_write() 373 if (state->hashtab[i] == state->cur_fcode) { in archive_compressor_compress_write() 377 if (state->hashtab[i] >= 0) in archive_compressor_compress_write() 386 state->hashtab[i] = state->cur_fcode; in archive_compressor_compress_write() 405 memset(state->hashtab, 0xff, sizeof(state->hashtab)); in archive_compressor_compress_write()
|
/dragonfly/lib/libevtr/ |
H A D | internal.h | 58 struct hashtab; 60 struct hashtab * hash_new(void); 61 int hash_find(const struct hashtab *, uintptr_t, uintptr_t *); 62 struct hashentry * hash_insert(struct hashtab *, uintptr_t, uintptr_t);
|
H A D | evtr.h | 51 struct hashtab; 63 struct hashtab *hashtab; member
|
H A D | ktrfmt.y | 85 hsh->val.hashtab = hash_new(); in index_hash() 93 val->num, hsh->val.hashtab); in index_hash() 97 val->str, hsh->val.hashtab); in index_hash() 104 if (hash_find(hsh->val.hashtab, key, &ret)) { in index_hash() 109 if (!hash_insert(hsh->val.hashtab, key, in index_hash()
|
H A D | evtr.c | 138 struct hashtab { struct 145 struct hashtab tab; argument 563 hash_find(const struct hashtab *tab, uintptr_t key, uintptr_t *val) in DEFINE_MAP_INSERT() 578 hash_insert(struct hashtab *tab, uintptr_t key, uintptr_t val) in hash_insert() 609 struct hashtab * 612 struct hashtab *tab; in hash_new() 613 if (!(tab = calloc(sizeof(struct hashtab), 1))) in hash_new() 621 struct hashtab tab; 1419 hashtab_destroy(struct hashtab *h) in hashtab_destroy()
|
H A D | ktrfmt.tab.c | 158 hsh->val.hashtab = hash_new(); in index_hash() 166 val->num, hsh->val.hashtab); in index_hash() 170 val->str, hsh->val.hashtab); in index_hash() 177 if (hash_find(hsh->val.hashtab, key, &ret)) { in index_hash() 182 if (!hash_insert(hsh->val.hashtab, key, in index_hash()
|
/dragonfly/usr.sbin/lpr/pac/ |
H A D | pac.c | 82 static struct hent *hashtab[HSHSIZE]; /* Hash table proper */ variable 249 hp = hashtab[0]; in dumpit() 254 hp = hashtab[hno++]; in dumpit() 292 hp = hashtab[i]; in rewrite() 334 hp->h_link = hashtab[h]; in enter() 335 hashtab[h] = hp; in enter() 351 for (hp = hashtab[h]; hp != NULL; hp = hp->h_link) in lookup()
|
/dragonfly/contrib/ncurses/ncurses/tty/ |
H A D | hashmap.c | 111 #define hashtab(sp) ((sp)->hashtab) macro 293 if (hashtab(SP_PARM)) in NCURSES_SP_NAME() 294 free(hashtab(SP_PARM)); in NCURSES_SP_NAME() 295 hashtab(SP_PARM) = typeMalloc(HASHMAP, in NCURSES_SP_NAME() 297 if (!hashtab(SP_PARM)) { in NCURSES_SP_NAME() 341 memset(hashtab(SP_PARM), '\0', in NCURSES_SP_NAME() 342 sizeof(*(hashtab(SP_PARM))) in NCURSES_SP_NAME() 347 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) in NCURSES_SP_NAME() 357 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) in NCURSES_SP_NAME() 374 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) in NCURSES_SP_NAME()
|
/dragonfly/games/battlestar/ |
H A D | parse.c | 43 static struct wlist *hashtab[HASHSIZE]; variable 72 for (wp = hashtab[hash(s)]; wp != NULL; wp = wp->next) in lookup() 85 wp->next = hashtab[hashval]; in install() 86 hashtab[hashval] = wp; in install()
|
/dragonfly/gnu/usr.bin/cc80/support-libs/liblto_plugin/ |
H A D | b-header-vars | 2 HASHTAB_H=hashtab.h 16 HASH_TABLE_H=hashtab.h hash-table.h ggc.h gtype-desc.h statistics.h 17 EXCEPT_H=except.h hashtab.h 28 …ine.h machmode.h mode-classes.def double-int.h rtl.h rtl.def reg-notes.def insn-notes.def hashtab.h 31 READ_MD_H=hashtab.h read-md.h 36 REGSET_H=regset.h bitmap.h hashtab.h statistics.h hard-reg-set.h 38 …redict.def vec.h statistics.h ggc.h gtype-desc.h statistics.h function.h hashtab.h hash-table.h gg… 48 …redict.def vec.h statistics.h ggc.h gtype-desc.h statistics.h function.h hashtab.h statistics.h sb… 83 BITMAP_H=bitmap.h hashtab.h statistics.h 84 GCC_PLUGIN_H=gcc-plugin.h highlev-plugin-common.h plugin.def config.h auto-host.h hashtab.h [all …]
|
/dragonfly/games/adventure/ |
H A D | vocab.c | 130 struct hashtab *h; in vocab() 190 struct hashtab *h; in prht()
|
/dragonfly/stand/boot/common/ |
H A D | load_elf.c | 56 Elf_Hashelt *hashtab; member 500 ef->hashtab = (Elf_Hashelt*)(uintptr_t)(dp[i].d_un.d_ptr + off); in __elfN() 527 if (ef->hashtab == NULL || ef->symtab == NULL || in __elfN() 530 COPYOUT(ef->hashtab, &ef->nbuckets, sizeof(ef->nbuckets)); in __elfN() 531 COPYOUT(ef->hashtab + 1, &ef->nchains, sizeof(ef->nchains)); in __elfN() 532 ef->buckets = ef->hashtab + 2; in __elfN()
|
/dragonfly/usr.bin/evtranalyze/ |
H A D | evtranalyze.c | 121 struct hashtab { struct 128 ehash_find(const struct hashtab *tab, uintptr_t key, uintptr_t *val) in ehash_find() argument 143 ehash_insert(struct hashtab *tab, uintptr_t key, uintptr_t val) in ehash_insert() 161 ehash_delete(struct hashtab *tab, uintptr_t key) in ehash_delete() 206 static struct hashtab * 209 struct hashtab *tab; in ehash_new() 210 if (!(tab = calloc(sizeof(struct hashtab), 1))) in ehash_new() 1178 struct hashtab *ctors;
|
/dragonfly/gnu/usr.bin/cc47/cc_tools/libiberty/ |
H A D | Makefile | 5 fibheap.c fopen_unlocked.c getpwd.c getruntime.c hashtab.c hex.c \
|
/dragonfly/gnu/usr.bin/cc80/support-libs/libiberty_pic/ |
H A D | Makefile | 20 hashtab.c \
|
/dragonfly/gnu/usr.bin/gdb/libiberty/ |
H A D | Makefile | 24 ./hashtab.c \
|
/dragonfly/gnu/usr.bin/cc80/cc_tools/libiberty/ |
H A D | Makefile | 8 fibheap.c fopen_unlocked.c getpwd.c getruntime.c hashtab.c hex.c \
|
/dragonfly/gnu/usr.bin/cc47/liblto_plugin/ |
H A D | Makefile | 28 SRCS+= hashtab.c \
|
/dragonfly/gnu/usr.bin/binutils227/block1/libiberty/ |
H A D | Makefile | 27 hashtab.c \
|
/dragonfly/gnu/usr.bin/cc47/libiberty/ |
H A D | Makefile | 30 hashtab.o \
|
/dragonfly/gnu/usr.bin/cc80/support-libs/libiberty/ |
H A D | Makefile | 33 hashtab.o \
|
/dragonfly/gnu/usr.bin/binutils234/block1/libiberty/ |
H A D | Makefile | 19 getruntime.c hashtab.c hex.c \
|
/dragonfly/gnu/usr.bin/cc47/ |
H A D | Makefile.tgt | 20 HASHTAB_H = ${GCCDIR}/include/hashtab.h
|
/dragonfly/gnu/usr.bin/cc80/ |
H A D | Makefile.tgt | 15 HASHTAB_H= ${GCCDIR}/include/hashtab.h
|
/dragonfly/sys/kern/ |
H A D | link_elf.c | 243 const Elf_Hashelt *hashtab = (const Elf_Hashelt *) in parse_dynamic() local 245 ef->nbuckets = hashtab[0]; in parse_dynamic() 246 ef->nchains = hashtab[1]; in parse_dynamic() 247 ef->buckets = hashtab + 2; in parse_dynamic()
|