Lines Matching refs:key_map
17 #define KVP_NUM_OF_RULES (sizeof(rules) / sizeof(key_map))
54 typedef struct key_map key_map; typedef
102 struct key_map { struct
131 key_map m[]; /** key value mapping */
203 key_map rules[] = {
322 static bool match_regex(key_map *assert, const key_map *check) { in match_regex()
334 static bool compile_regex(key_map *km, int *errcode, PCRE2_SIZE *erroff) { in compile_regex()
448 static bool key_map_validate(key_map *m, const char *filename, int lineno, in key_map_validate()
504 key_map *m; in rule_map_print()
532 key_map *mA; in rule_map_cmp()
533 key_map *mB; in rule_map_cmp()
600 key_map *m = &(rm->m[i]); in rule_map_free()
652 const key_map *rule; in rule_map_validate()
653 key_map *nrule; in rule_map_validate()
716 key_map *r = NULL, *x = NULL; in rule_map_new()
722 new_map = calloc(1, (num_of_keys * sizeof(key_map)) + sizeof(rule_map)); in rule_map_new()
757 memcpy(r, x, sizeof(key_map)); in rule_map_new()