Lines Matching refs:m
131 key_map m[]; /** key value mapping */ member
448 static bool key_map_validate(key_map *m, const char *filename, int lineno, in key_map_validate() argument
454 char *key = m->name; in key_map_validate()
455 char *value = m->data; in key_map_validate()
466 if (!m->regex.compiled) { in key_map_validate()
467 rc = compile_regex(m, &errcode, &erroff); in key_map_validate()
480 if (m->fn_validate) { in key_map_validate()
481 rc = m->fn_validate(value, &errmsg); in key_map_validate()
504 key_map *m; in rule_map_print() local
507 m = &(r->m[i]); in rule_map_print()
509 fprintf(fp, "%s=%s ", m->name, m->data); in rule_map_print()
511 fprintf(fp, "%s=%s", m->name, m->data); in rule_map_print()
536 mA = &(rmA->m[i]); in rule_map_cmp()
539 mB = &(rmB->m[j]); in rule_map_cmp()
600 key_map *m = &(rm->m[i]); in rule_map_free() local
601 free(m->data); in rule_map_free()
603 if (m->regex.compiled) { in rule_map_free()
604 pcre2_code_free(m->regex.compiled); in rule_map_free()
607 if (m->regex.match_data) { in rule_map_free()
608 pcre2_match_data_free(m->regex.match_data); in rule_map_free()
665 nrule = &(assert->m[j]); in rule_map_validate()
671 rule = &(rm->m[i]); in rule_map_validate()
737 r = &(new_map->m[i]); in rule_map_new()