Searched refs:inj_hash_t (Results 1 - 9 of 9) sorted by relevance
/opensolaris-onvv-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.h | 49 extern void inj_strhash_create(inj_hash_t *); 50 extern int inj_strhash_insert(inj_hash_t *, const char *, uintmax_t); 51 extern inj_var_t *inj_strhash_lookup(inj_hash_t *, const char *); 52 extern void inj_strhash_destroy(inj_hash_t *);
|
H A D | inj_hash.h | 48 } inj_hash_t; typedef in typeref:struct:inj_hash 50 extern void inj_hash_create(inj_hash_t *, ulong_t (*)(void *), 52 extern void inj_hash_destroy(inj_hash_t *, void (*)(inj_var_t *, void *), 55 extern int inj_hash_insert(inj_hash_t *, void *, uintmax_t); 56 extern inj_var_t *inj_hash_lookup(inj_hash_t *, void *);
|
H A D | inj_decl.c | 44 static inj_hash_t inj_decls[ITEMTYPE_NITEMS]; 47 static inj_hash_t * 52 assert(item >= 0 && item < sizeof (inj_decls) / sizeof (inj_hash_t)); 55 for (i = 0; i < sizeof (inj_decls) / sizeof (inj_hash_t); i++) 66 inj_hash_t *hash = item2hash(type); 114 inj_decl_mem_create_enum(const char *name, inj_hash_t *vals) 244 inj_hash_t *hash = item2hash(type);
|
H A D | inj_hash.c | 44 inj_hash_create(inj_hash_t *h, ulong_t (*hfn)(void *), 77 inj_hash_destroy(inj_hash_t *h, void (*freefn)(inj_var_t *, void *), void *arg) 93 inj_hash_insert(inj_hash_t *h, void *key, uintmax_t value) 112 inj_hash_lookup(inj_hash_t *h, void *key)
|
H A D | inj_string.c | 231 inj_strhash_create(inj_hash_t *h) 237 inj_strhash_insert(inj_hash_t *h, const char *str, uintmax_t value) 243 inj_strhash_lookup(inj_hash_t *h, const char *str) 249 inj_strhash_destroy(inj_hash_t *h)
|
H A D | inj.h | 101 inj_hash_t decl_memhash; /* Hash of said members */ 122 inj_hash_t *_dlm_enumvals; /* If enum, hash of poss. values */
|
H A D | inj_event.h | 48 extern inj_declmem_t *inj_decl_mem_create_enum(const char *, inj_hash_t *);
|
H A D | inj_defn.c | 45 static inj_hash_t inj_defns[3]; 54 static inj_hash_t * 59 assert(item >= 0 && item < sizeof (inj_defns) / sizeof (inj_hash_t)); 62 for (i = 0; i < sizeof (inj_defns) / sizeof (inj_hash_t); i++) 73 inj_hash_t *hash = item2hash(inj_mem2item(type)); 799 inj_hash_t *hash = item2hash(type);
|
H A D | inj_grammar.y | 53 inj_hash_t *l_hash; 223 $$ = inj_zalloc(sizeof (inj_hash_t));
|
Completed in 109 milliseconds