Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A DMakefile.am952 $(INCDIR)/hashtab.h $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h \
954 archures.lo: archures.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
957 $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h \
961 bfdio.lo: bfdio.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
962 bfdwin.lo: bfdwin.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
963 cache.lo: cache.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
965 coffgen.lo: coffgen.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
967 corefile.lo: corefile.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
968 format.lo: format.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
969 init.lo: init.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
[all …]
H A DMakefile.in1521 $(INCDIR)/hashtab.h $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h \
1523 archures.lo: archures.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
1526 $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h \
1530 bfdio.lo: bfdio.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
1531 bfdwin.lo: bfdwin.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
1532 cache.lo: cache.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
1534 coffgen.lo: coffgen.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
1536 corefile.lo: corefile.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
1537 format.lo: format.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
1538 init.lo: init.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
[all …]
/openbsd-src/usr.sbin/config/
H A Dconfig.h266 struct hashtab;
284 extern struct hashtab *devbasetab; /* devbase lookup */
285 extern struct hashtab *devatab; /* devbase attachment lookup */
286 extern struct hashtab *selecttab; /* selects things that are "optional foo" */
287 extern struct hashtab *needcnttab; /* retains names marked "needs-count" */
288 extern struct hashtab *opttab; /* table of configured options */
289 extern struct hashtab *defopttab; /* options that have been "defopt"'d */
324 struct hashtab *ht_new(void);
325 int ht_insrep(struct hashtab *, const char *, void *, int);
326 int ht_remove(struct hashtab *, const char *);
[all …]
H A Dhash.c61 struct hashtab { struct
68 static struct hashtab strings; argument
80 static void ht_init(struct hashtab *, size_t);
81 static void ht_expand(struct hashtab *);
87 ht_init(struct hashtab *ht, size_t sz) in ht_init()
106 ht_expand(struct hashtab *ht) in ht_expand()
171 struct hashtab *ht; in intern()
192 struct hashtab *
195 struct hashtab *ht; in ht_new()
206 ht_remove(struct hashtab *ht, const char *nam) in ht_remove()
[all …]
H A Dmain.c61 static struct hashtab *mkopttab;
67 static int do_option(struct hashtab *, struct nvlist ***,
94 struct hashtab *devbasetab; /* devbase lookup */
95 struct hashtab *devatab; /* devbase attachment lookup */
96 struct hashtab *selecttab; /* selects things that are "optional foo" */
97 struct hashtab *needcnttab; /* retains names marked "needs-count" */
98 struct hashtab *opttab; /* table of configured options */
99 struct hashtab *defopttab; /* options that have been "defopt"'d */
481 do_option(struct hashtab *ht, struct nvlist ***nppp, const char *name, in do_option()
H A Dfiles.c59 static struct hashtab *basetab; /* file base names */
60 static struct hashtab *pathtab; /* full path names */
H A Dsem.c63 static struct hashtab *attrtab; /* for attribute lookup */
64 static struct hashtab *cfhashtab; /* for config lookup */
65 static struct hashtab *devitab; /* etc */
/openbsd-src/usr.bin/rdist/
H A Dlookup.c47 static struct syment *hashtab[HASHSIZE]; variable
130 for (s = hashtab[n]; s != NULL; s = s->s_next) { in lookup()
154 s->s_next = hashtab[n]; in lookup()
155 hashtab[n] = s; in lookup()
/openbsd-src/lib/libcurses/tty/
H A Dhashmap.c113 #define hashtab(sp) ((sp)->hashtab) macro
295 if (hashtab(SP_PARM)) in NCURSES_SP_NAME()
296 free(hashtab(SP_PARM)); in NCURSES_SP_NAME()
297 hashtab(SP_PARM) = typeMalloc(HASHMAP, in NCURSES_SP_NAME()
299 if (!hashtab(SP_PARM)) { in NCURSES_SP_NAME()
346 memset(hashtab(SP_PARM), '\0', in NCURSES_SP_NAME()
347 sizeof(*(hashtab(SP_PARM))) in NCURSES_SP_NAME()
352 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) in NCURSES_SP_NAME()
362 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) in NCURSES_SP_NAME()
379 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) in NCURSES_SP_NAME()
/openbsd-src/games/battlestar/
H A Dparse.c46 struct wlist *hashtab[HASHSIZE]; variable
75 for (wp = hashtab[hash(s)]; wp != NULL; wp = wp->next) in lookup()
88 wp->next = hashtab[hashval]; in install()
89 hashtab[hashval] = wp; in install()
/openbsd-src/libexec/ld.so/
H A Dresolve.c379 Elf_Word *hashtab = (Elf_Word *)(gnu_hash + obase); in _dl_finalize_object() local
380 Elf_Word nbuckets = hashtab[0]; in _dl_finalize_object()
381 Elf_Word nmaskwords = hashtab[2]; in _dl_finalize_object()
385 Elf_Word symndx = hashtab[1]; in _dl_finalize_object()
391 object->shift2_gnu = hashtab[3]; in _dl_finalize_object()
392 object->bloom_gnu = (Elf_Addr *)(hashtab + 4); in _dl_finalize_object()
393 object->buckets_gnu = hashtab + 4 + bloom_size32; in _dl_finalize_object()
421 Elf_Hash_Word *hashtab = in _dl_finalize_object() local
424 object->nchains = hashtab[1]; in _dl_finalize_object()
426 object->nbuckets = hashtab[0]; in _dl_finalize_object()
[all …]
/openbsd-src/gnu/gcc/include/
H A DChangeLog74 * hashtab.h (HTAB_DELETED_ENTRY): New macro.
120 fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
132 * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
190 * hashtab.h: Likewise.
275 * hashtab.h (struct htab): Add size_prime_index.
279 * hashtab.h (htab_remove_elt_with_hash): Prototype new function.
283 * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
H A DChangeLog-9103191 * hashtab.h (iterative_hash): Prototype.
224 * hashtab.h (htab_traverse_noresize): Declare.
244 * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
361 * hashtab.h: Likewise.
389 * hashtab.h (htab): Rearrange new members for backward
395 * hashtab.h (htab_create): Restore prototype for backward
401 * hashtab.h (struct htab): Update for change to length specifier.
405 * hashtab.h (GTY): Define if undefined.
631 * hashtab.h (htab_hash_string): Declare.
796 * hashtab.h (struct htab): Add member return_allocation_failure.
[all …]
/openbsd-src/games/adventure/
H A Dhdr.h82 struct hashtab { /* hash table for vocabulary */ struct
86 extern struct hashtab voc[HTSIZE]; argument
H A Dvocab.c137 struct hashtab *h; in vocab()
195 struct hashtab *h; in prht()
H A Dmain.c60 struct hashtab voc[HTSIZE];
/openbsd-src/gnu/usr.bin/binutils-2.17/include/
H A DChangeLog142 * hashtab.h (HTAB_DELETED_ENTRY): New macro.
206 fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
218 * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
265 * hashtab.h: Likewise.
523 * hashtab.h (struct htab): Add size_prime_index.
527 * hashtab.h (htab_remove_elt_with_hash): Prototype new function.
531 * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
H A DChangeLog-9103191 * hashtab.h (iterative_hash): Prototype.
224 * hashtab.h (htab_traverse_noresize): Declare.
244 * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
361 * hashtab.h: Likewise.
389 * hashtab.h (htab): Rearrange new members for backward
395 * hashtab.h (htab_create): Restore prototype for backward
401 * hashtab.h (struct htab): Update for change to length specifier.
405 * hashtab.h (GTY): Define if undefined.
631 * hashtab.h (htab_hash_string): Declare.
796 * hashtab.h (struct htab): Add member return_allocation_failure.
[all …]
/openbsd-src/gnu/usr.bin/binutils/include/
H A DChangeLog115 * hashtab.h (iterative_hash): Prototype.
128 * hashtab.h (htab_traverse_noresize): Declare.
144 * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
194 * hashtab.h: Likewise.
206 * hashtab.h (htab): Rearrange new members for backward
212 * hashtab.h (htab_create): Restore prototype for backward
218 * hashtab.h (struct htab): Update for change to length specifier.
222 * hashtab.h (GTY): Define if undefined.
350 * hashtab.h (htab_hash_string): Declare.
469 * hashtab.h (struct htab): Add member return_allocation_failure.
[all …]
H A DChangeLog-9103191 * hashtab.h (iterative_hash): Prototype.
231 * hashtab.h (htab_traverse_noresize): Declare.
251 * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
405 * hashtab.h: Likewise.
433 * hashtab.h (htab): Rearrange new members for backward
439 * hashtab.h (htab_create): Restore prototype for backward
445 * hashtab.h (struct htab): Update for change to length specifier.
449 * hashtab.h (GTY): Define if undefined.
686 * hashtab.h (htab_hash_string): Declare.
851 * hashtab.h (struct htab): Add member return_allocation_failure.
[all …]
/openbsd-src/gnu/lib/libiberty/
H A DMakefile.bsd-wrapper16 hashtab.c hex.c fibheap.c partition.c \
/openbsd-src/gnu/lib/libiberty/include/
H A DChangeLog76 * hashtab.h (htab_traverse_noresize): Declare.
92 * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
142 * hashtab.h: Likewise.
154 * hashtab.h (htab): Rearrange new members for backward
160 * hashtab.h (htab_create): Restore prototype for backward
166 * hashtab.h (struct htab): Update for change to length specifier.
170 * hashtab.h (GTY): Define if undefined.
298 * hashtab.h (htab_hash_string): Declare.
417 * hashtab.h (struct htab): Add member return_allocation_failure.
423 * hashtab.h: Change void * to PTR where necessary.
[all …]
/openbsd-src/gnu/lib/libiberty/src/
H A DMakefile.in138 hashtab.c hex.c \
171 ./hashtab.o ./hex.o \
216 $(INCDIR)/hashtab.h \
699 ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
700 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
702 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
704 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
H A DChangeLog242 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
308 * hashtab.c (htab_size): Define as both macro and non-inline
389 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
638 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
835 * hashtab.c (htab_find_slot_with_hash): Make function
1006 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
1025 * hashtab.c (htab_remove_elt_with_hash): New function.
1030 * hashtab.c (htab_size): Move to top of file; mark inline.
1491 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
1623 * hashtab.c: include malloc.h were available for
[all …]
/openbsd-src/lib/libcurses/base/
H A Dlib_set_term.c209 FreeIfNeeded(sp->hashtab); in delscreen()

123