| /freebsd-9-stable/lib/libc/db/hash/ |
| D | extern.h | 33 BUFHEAD *__add_ovflpage(HTAB *, BUFHEAD *); 34 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *); 35 int __big_delete(HTAB *, BUFHEAD *); 36 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *); 37 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int); 38 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int); 39 int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *, 41 int __buf_free(HTAB *, int, int); 42 void __buf_init(HTAB *, int); 43 u_int32_t __call_hash(HTAB *, char *, int); [all …]
|
| D | hash.c | 59 static int alloc_segs(HTAB *, int); 60 static int flush_meta(HTAB *); 61 static int hash_access(HTAB *, ACTION, DBT *, DBT *); 70 static int hdestroy(HTAB *); 71 static HTAB *init_hash(HTAB *, const char *, const HASHINFO *); 72 static int init_htab(HTAB *, int); 74 static void swap_header(HTAB *); 101 HTAB *hashp; in __hash_open() 111 if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB)))) in __hash_open() 243 HTAB *hashp; in hash_close() [all …]
|
| D | ndbm.c | 205 HTAB *hp; 207 hp = (HTAB *)db->internal; 215 HTAB *hp; 217 hp = (HTAB *)db->internal; 226 return(((HTAB *)db->internal)->fp);
|
| D | hash_page.c | 75 static u_int32_t *fetch_bitmap(HTAB *, int); 77 static int open_temp(HTAB *); 78 static u_int16_t overflow_page(HTAB *); 81 static int ugly_split(HTAB *, u_int32_t, BUFHEAD *, BUFHEAD *, int, int); 125 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) in __delpair() 182 __split_page(HTAB *hashp, u_int32_t obucket, u_int32_t nbucket) in __split_page() 276 ugly_split(HTAB *hashp, in ugly_split() 397 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) in __addel() 467 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) in __add_ovflpage() 517 __get_page(HTAB *hashp, char *p, u_int32_t bucket, int is_bucket, int is_disk, in __get_page() [all …]
|
| D | hash_bigkey.c | 73 static int collect_key(HTAB *, BUFHEAD *, int, DBT *, int); 74 static int collect_data(HTAB *, BUFHEAD *, int, int); 86 __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) in __big_insert() 196 __big_delete(HTAB *hashp, BUFHEAD *bufp) in __big_delete() 273 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size) in __find_bigpair() 320 __find_last_page(HTAB *hashp, BUFHEAD **bpp) in __find_last_page() 359 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current) in __big_return() 445 collect_data(HTAB *hashp, BUFHEAD *bufp, int len, int set) in collect_data() 498 __big_keydata(HTAB *hashp, BUFHEAD *bufp, DBT *key, DBT *val, int set) in __big_keydata() 512 collect_key(HTAB *hashp, BUFHEAD *bufp, int len, DBT *val, int set) in collect_key() [all …]
|
| D | hash_buf.c | 71 static BUFHEAD *newbuf(HTAB *, u_int32_t, BUFHEAD *); 103 __get_buf(HTAB *hashp, u_int32_t addr, in __get_buf() 156 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp) in newbuf() 297 __buf_init(HTAB *hashp, int nbytes) in __buf_init() 320 __buf_free(HTAB *hashp, int do_free, int to_disk) in __buf_free() 351 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) in __reclaim_buf()
|
| D | hash.h | 116 } HTAB; typedef
|
| /freebsd-9-stable/contrib/gcc/ |
| D | tree-flow.h | 54 #define FOR_EACH_HTAB_ELEMENT(HTAB, RESULT, TYPE, ITER) \ argument 55 for (RESULT = (TYPE) first_htab_element (&(ITER), (HTAB)); \
|
| /freebsd-9-stable/contrib/binutils/bfd/ |
| D | elf32-arm.c | 35 #define RELOC_SECTION(HTAB, NAME) \ argument 36 ((HTAB)->use_rel ? ".rel" NAME : ".rela" NAME) 40 #define RELOC_SIZE(HTAB) \ argument 41 ((HTAB)->use_rel \ 47 #define SWAP_RELOC_IN(HTAB) \ argument 48 ((HTAB)->use_rel \ 54 #define SWAP_RELOC_OUT(HTAB) \ argument 55 ((HTAB)->use_rel \
|