Lines Matching refs:map
48 Hashmap *map; member
75 s->map = hashmapCreate(5, str_hash_fn, str_eq); in str_parms_create()
76 if (!s->map) { in str_parms_create()
113 hashmapRemove(ctxt->str_parms->map, key); in remove_pair()
125 hashmapForEach(str_parms->map, remove_pair, &ctxt); in str_parms_del()
134 hashmapForEach(str_parms->map, remove_pair, &ctxt); in str_parms_destroy()
135 hashmapFree(str_parms->map); in str_parms_destroy()
179 old_val = hashmapPut(str_parms->map, key, value); in str_parms_create_str()
228 old_val = hashmapPut(str_parms->map, tmp_key, tmp_val); in str_parms_add_str()
282 return hashmapGet(str_parms->map, (void *)key) != NULL; in str_parms_has_key()
289 char* value = static_cast<char*>(hashmapGet(str_parms->map, (void*)key)); in str_parms_get_str()
301 char* value = static_cast<char*>(hashmapGet(str_parms->map, (void*)key)); in str_parms_get_int()
319 char* value = static_cast<char*>(hashmapGet(str_parms->map, (void*)(key))); in str_parms_get_float()
357 hashmapForEach(str_parms->map, combine_strings, &str); in str_parms_to_str()
368 hashmapForEach(str_parms->map, dump_entry, str_parms); in str_parms_dump()