• Home
  • Raw
  • Download

Lines Matching refs:filename

49 static int parse_key_line(const char* filename, int lineno, char* line,
63 const char* filename = argv[1]; in main() local
66 int in = open(filename, O_RDONLY); in main()
68 fprintf(stderr, "kcm: error opening file for read: %s\n", filename); in main()
121 filename, lineno, thisline); in main()
132 filename, lineno, thisline); in main()
142 err = parse_key_line(filename, lineno, thisline, &kr); in main()
149 filename, lineno, kr.values[0]); in main()
151 filename, old->second.lineno); in main()
167 fprintf(stderr, "%s:%d: too many errors. stopping.\n", filename, in main()
194 " or QWERTY, not %s\n", filename, pv.lineno, pv.value.c_str()); in main()
292 parse_keycode(const char* filename, int lineno, char* str, int* value) in parse_keycode() argument
307 "%s\n", filename, lineno, str); in parse_keycode()
313 filename, lineno); in parse_keycode()
321 parse_number(const char* filename, int lineno, char* str, int* value) in parse_number() argument
331 " quotes near: %s\n", filename, lineno, str); in parse_number()
340 filename, lineno, str); in parse_number()
346 "nothing larger than 0xfffe): %s\n", filename, lineno, str); in parse_number()
354 parse_key_line(const char* filename, int lineno, char* line, KeyRecord* out) in parse_key_line() argument
370 fprintf(stderr, "%s:%d: not enough on this line: %s\n", filename, in parse_key_line()
388 fprintf(stderr, "%s:%d: too much on one line near: %s\n", filename, in parse_key_line()
390 fprintf(stderr, "%s:%d: -->%s<--\n", filename, lineno, line); in parse_key_line()
394 int errorcount = parse_keycode(filename, lineno, s[0], &out->values[0]); in parse_key_line()
396 errorcount += parse_number(filename, lineno, s[i], &out->values[i]); in parse_key_line()