Lines Matching refs:lineno
129 int lineno; /** Line number rule was encounter on */ member
448 static bool key_map_validate(key_map *m, const char *filename, int lineno, in key_map_validate() argument
473 lineno, value, errstr, erroff); in key_map_validate()
485 lineno, filename, errmsg); in key_map_validate()
710 static rule_map *rule_map_new(kvp keys[], size_t num_of_keys, int lineno, in rule_map_new() argument
728 new_map->lineno = lineno; in rule_map_new()
766 if (!key_map_validate(r, filename, lineno, new_map->is_never_allow)) { in rule_map_new()
1022 rm->filename, tmp->r->lineno, rm->lineno, in rule_add()
1070 size_t lineno = 0; in parse_file() local
1079 lineno++; in parse_file()
1082 log_info("Got line %zu\n", lineno); in parse_file()
1135 rule_map *r = rule_map_new(keys, token_cnt, lineno, in_file->name, is_never_allow); in parse_file()
1145 in_file->name, lineno, name, value); in parse_file()
1155 in_file->name, lineno, KVP_NUM_OF_RULES); in parse_file()
1191 log_error("Rule in File \"%s\" on line %d: \"", e->r->filename, e->r->lineno); in validate()
1194 fprintf(stderr, "\" violates neverallow in File \"%s\" on line %d: \"", r->filename, r->lineno); in validate()