| 47 | } |
| 48 | |
| 49 | static struct test_entry *get_test_entry(struct hashmap *map, const char *key, |
| 50 | unsigned int ignore_case) |
| 51 | { |
| 52 | return hashmap_get_entry_from_hash( |
| 53 | map, ignore_case ? strihash(key) : strhash(key), key, |
| 54 | struct test_entry, ent); |
| 55 | } |
| 56 | |
| 57 | static int key_val_contains(const char *key_val[][2], char seen[], size_t n, |
| 58 | struct test_entry *entry) |