Lines Matching refs:file_extension
575 def IsHeaderExtension(file_extension): argument
576 return file_extension in _hpp_headers
4296 def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state, argument
4363 if IsHeaderExtension(file_extension):
4670 def CheckLanguage(filename, clean_lines, linenum, file_extension, argument
4712 if IsHeaderExtension(file_extension):
4819 if (IsHeaderExtension(file_extension)
5765 def ProcessLine(filename, file_extension, clean_lines, line, argument
5794 CheckStyle(filename, clean_lines, line, file_extension, nesting_state, error)
5795 CheckLanguage(filename, clean_lines, line, file_extension, include_state,
5880 def ProcessFileData(filename, file_extension, lines, error, argument
5909 if IsHeaderExtension(file_extension):
5913 ProcessLine(filename, file_extension, clean_lines, line,
5922 if _IsSourceExtension(file_extension):
6072 file_extension = filename[filename.rfind('.') + 1:]
6076 if filename != '-' and file_extension not in _valid_extensions:
6080 ProcessFileData(filename, file_extension, lines, Error,