Lines Matching refs:lineno
131 int lineno; /** Line number rule was encounter on */ member
498 static bool key_map_validate(key_map *m, const char *filename, int lineno, in key_map_validate() argument
523 lineno, value, errstr, erroff); in key_map_validate()
535 lineno, filename, errmsg); in key_map_validate()
760 static rule_map *rule_map_new(kvp keys[], size_t num_of_keys, int lineno, in rule_map_new() argument
778 new_map->lineno = lineno; in rule_map_new()
816 if (!key_map_validate(r, filename, lineno, new_map->is_never_allow)) { in rule_map_new()
1072 rm->filename, tmp->r->lineno, rm->lineno, in rule_add()
1120 size_t lineno = 0; in parse_file() local
1129 lineno++; in parse_file()
1132 log_info("Got line %zu\n", lineno); in parse_file()
1185 rule_map *r = rule_map_new(keys, token_cnt, lineno, in_file->name, is_never_allow); in parse_file()
1195 in_file->name, lineno, name, value); in parse_file()
1205 in_file->name, lineno, KVP_NUM_OF_RULES); in parse_file()
1241 log_error("Rule in File \"%s\" on line %d: \"", e->r->filename, e->r->lineno); in validate()
1244 fprintf(stderr, "\" violates neverallow in File \"%s\" on line %d: \"", r->filename, r->lineno); in validate()