Home
last modified time | relevance | path

Searched refs:hashtab (Results 1 – 25 of 33) sorted by relevance

12

/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_compress.c96 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 Dinternal.h58 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 Devtr.h51 struct hashtab;
63 struct hashtab *hashtab; member
H A Dktrfmt.y85 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 Devtr.c138 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 Dktrfmt.tab.c158 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 Dpac.c82 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 Dhashmap.c111 #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 Dparse.c43 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 Db-header-vars2 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 Dvocab.c130 struct hashtab *h; in vocab()
190 struct hashtab *h; in prht()
/dragonfly/stand/boot/common/
H A Dload_elf.c56 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 Devtranalyze.c121 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 DMakefile5 fibheap.c fopen_unlocked.c getpwd.c getruntime.c hashtab.c hex.c \
/dragonfly/gnu/usr.bin/cc80/support-libs/libiberty_pic/
H A DMakefile20 hashtab.c \
/dragonfly/gnu/usr.bin/gdb/libiberty/
H A DMakefile24 ./hashtab.c \
/dragonfly/gnu/usr.bin/cc80/cc_tools/libiberty/
H A DMakefile8 fibheap.c fopen_unlocked.c getpwd.c getruntime.c hashtab.c hex.c \
/dragonfly/gnu/usr.bin/cc47/liblto_plugin/
H A DMakefile28 SRCS+= hashtab.c \
/dragonfly/gnu/usr.bin/binutils227/block1/libiberty/
H A DMakefile27 hashtab.c \
/dragonfly/gnu/usr.bin/cc47/libiberty/
H A DMakefile30 hashtab.o \
/dragonfly/gnu/usr.bin/cc80/support-libs/libiberty/
H A DMakefile33 hashtab.o \
/dragonfly/gnu/usr.bin/binutils234/block1/libiberty/
H A DMakefile19 getruntime.c hashtab.c hex.c \
/dragonfly/gnu/usr.bin/cc47/
H A DMakefile.tgt20 HASHTAB_H = ${GCCDIR}/include/hashtab.h
/dragonfly/gnu/usr.bin/cc80/
H A DMakefile.tgt15 HASHTAB_H= ${GCCDIR}/include/hashtab.h
/dragonfly/sys/kern/
H A Dlink_elf.c243 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()

12