Lines Matching refs:file
34 def file_readable(file): argument
35 if not isfile(file):
36 print(file + ": WARNING: File not found")
39 if not access(file, R_OK):
40 print(file + ": WARNING: File not readable")
54 def check_includes(file): argument
57 print("Checking file: " + file)
58 if not file_readable(file):
61 inc_list = file_include_list(file)
71 print(file + ": ERROR: includes not in order. Include order should be " +
83 for file in args.files:
84 total_errors += check_includes(file)